NetBSD Problem Report #44578

From htodd@mara.i8u.org  Tue Feb 15 17:33:24 2011
Return-Path: <htodd@mara.i8u.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 552EC63B100
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 15 Feb 2011 17:33:24 +0000 (UTC)
Message-Id: <20110215173323.3040110323E2@mara.i8u.org>
Date: Tue, 15 Feb 2011 09:33:23 -0800 (PST)
From: htodd@twofifty.com
Reply-To: htodd@twofifty.com
To: gnats-bugs@gnats.NetBSD.org
Subject: cross-building netbsd5 on current-amd64 is missing /var/db/libc.tags
X-Send-Pr-Version: 3.95

>Number:         44578
>Category:       toolchain
>Synopsis:       cross-building netbsd5 on current-amd64 is missing /var/db/libc.tags
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 17:35:00 +0000 2011
>Closed-Date:    Mon Dec 24 18:10:46 +0000 2012
>Last-Modified:  Mon Dec 24 18:10:46 +0000 2012
>Originator:     H. Todd Fujinaka
>Release:        NetBSD 5.99.45
>Organization:
None
>Environment:


System: NetBSD mara.i8u.org 5.99.45 NetBSD 5.99.45 (MARA) #25: Sat Feb 12 17:13:56 PST 2011 htodd@mara.i8u.org:/usr/obj/sys/arch/amd64/compile.amd64/MARA amd64
Architecture: x86_64
Machine: amd64
>Description:
cross-building netbsd5 on current-amd64 is missing /var/db/libc.tags and says:

======  1 missing files in DESTDIR  ========
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./var/db/libc.tags
========  end of 1 missing files  ==========

>How-To-Repeat:
netbsd-5 is checked out into /usr/stable/src and /usr/stable/xsrc. The build script is:

#!/bin/sh
cd /usr/stable/src && \
/usr/stable/src/build.sh -j8 -m amd64 -T /usr/cross/amd64-stable -O /usr/obj/stable/amd64 -X /usr/stable/xsrc -U -u obj tools && \
/usr/stable/src/build.sh -j8 -m amd64 -T /usr/cross/amd64-stable -O /usr/obj/stable/amd64 -X /usr/stable/xsrc -U -u distribution release iso-image && \
#/usr/src/build.sh -j8 -m amd64 -T /usr/cross/amd64-stable -M /usr/obj/stable -U -u kernel= GENERIC && \
/usr/stable/src/build.sh -j8 -m sparc64 -T /usr/cross/sparc64-stable -O /usr/obj/stable/sparc64 -X /usr/stable/xsrc -U -u obj tools && \
/usr/stable/src/build.sh -j8 -m sparc64 -T /usr/cross/sparc64-stable -O /usr/obj/stable/sparc64 -X /usr/stable/xsrc -U -u distribution release iso-image && \
/usr/stable/src/build.sh -j8 -m sparc64 -T /usr/cross/sparc64 -u kernel=EMILY
>Fix:

	Just "touch"-ing the file allows the build to complete.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2011 20:59:19 +0000
State-Changed-Why:
Does this still happen? If so, could you provide the part of the build
log where it's supposed to build and install the libc tags? (This is
at the end of the build of libc.) It looks as if the makefile ignores
errors on those commands, which it probably shouldn't; however, that
means that whatever's going wrong doesn't stop the build.

You might also try fixing that in libc's makefile (remove the leading
dashes on the recipe lines for "tags:") and running a build; then
whatever's going wrong should make the build stop immediately.


From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, netbsd-bugs@NetBSD.org,
        gnats-admin@NetBSD.org, dholland@NetBSD.org
Subject: Re: toolchain/44578 (cross-building netbsd5 on current-amd64 is
 missing /var/db/libc.tags)
Date: Sat, 31 Dec 2011 15:45:44 -0800 (PST)

 On Sat, 31 Dec 2011, dholland@NetBSD.org wrote:

 > Does this still happen? If so, could you provide the part of the build
 > log where it's supposed to build and install the libc tags? (This is
 > at the end of the build of libc.) It looks as if the makefile ignores
 > errors on those commands, which it probably shouldn't; however, that
 > means that whatever's going wrong doesn't stop the build.

 > You might also try fixing that in libc's makefile (remove the leading
 > dashes on the recipe lines for "tags:") and running a build; then
 > whatever's going wrong should make the build stop immediately.

 I don't see anything different, unfortunately in any of my logs. Things
 break in the middle of the cleandir stage and I see nothing interesting
 even when I delete the leading dashes.

 -- 
 Hisashi T Fujinaka - htodd@twofifty.com
 BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 22 Jan 2012 16:14:48 +0000
State-Changed-Why:
still happens, no clear cause


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 24 Dec 2012 18:10:46 +0000
State-Changed-Why:
submitter reports that the problem went away


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.