NetBSD Problem Report #30142

From tron@colwyn.zhadum.de  Thu May  5 14:57:06 2005
Return-Path: <tron@colwyn.zhadum.de>
Received: from colwyn.zhadum.de (colwyn.zhadum.de [81.187.181.114])
	by narn.netbsd.org (Postfix) with ESMTP id D01FE63B117
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  5 May 2005 14:57:05 +0000 (UTC)
Message-Id: <200505051457.j45Ev44r000281@lyssa.zhadum.de>
Date: Thu, 5 May 2005 15:57:04 +0100 (BST)
From: Matthias Scheler <tron@colwyn.zhadum.de>
Reply-To: tron@colwyn.zhadum.de
To: gnats-bugs@netbsd.org
Subject: build broken by fix for 9567
X-Send-Pr-Version: 3.95

>Number:         30142
>Category:       port-i386
>Synopsis:       build broken by fix for 9567
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    christos
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 14:58:00 +0000 2005
>Closed-Date:    Fri May 06 10:14:34 +0000 2005
>Last-Modified:  Fri May 06 12:45:01 +0000 2005
>Originator:     tron@colwyn.zhadum.de
>Release:        NetBSD 3.99.3 2005-05-05 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 3.99.3 NetBSD 3.99.3 (LYSSA) #0: Mon May 2 11:28:12 BST 2005 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
Since the fixes for PR kern/9567 have been integrated builds fail for me
in "src/sys/arch/i386/stand":

===> build.sh command: ./build.sh -j 2 -o -u -D /scratch/lyssa/dest -U distribu
tion
===> build.sh started: Thu May  5 13:02:41 BST 2005
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake
[...]
--- loadfile.d ---
#    create  sa/loadfile.d
CC=/src/tools/bin/i386--netbsdelf-gcc /src/tools/bin/nbmkdep -f loadfile.d --     -I/src/NetBSD-current/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1/../../../../..//lib/libsa -DBOOTXX -I /src/NetBSD-current/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1/../../lib -I /src/NetBSD-current/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1 -DBOOTXX_SECTORS=15 -DPRIMARY_LOAD_ADDRESS=0x600 -DSECONDARY_LOAD_ADDRESS=0x10000 -DXXfs_open=ffsv1_open -DXXfs_close=ffsv1_close -DXXfs_read=ffsv1_read -DXXfs_stat=ffsv1_stat -DFS=ffsv1 -DNO_LBA_CHECK -nostdinc -D_STANDALONE -I/src/NetBSD-current/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1/../../../../../ -DLIBSA_SINGLE_FILESYSTEM=xxfs -DLIBSA_NO_TWIDDLE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS -DLIBSA_NO_FS_WRITE -DLIBSA_NO_FS_SEEK -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET -DLIBSA_SINGLE_DEVICE=blkdev -DLIBKERN_OPTIMISE_SPACE -D"blkdevioctl(x,y,z)=EINVAL" -D"blkdevclose(f)=0" -D"devopen(f,n,fl)=(*(fl)=(void *)n,0)" -DLIBSA_NO_DISKLABEL_MSGS -nostdinc -!
 !  isystem /scratch/lyssa/dest/usr/include   -DCOMPAT_UFS    -nostdinc -isystem /scratch/lyssa/dest/usr/include  /src/NetBSD-current/src/sys/arch/i386/stand/bootxx/bootxx_ffsv1/../../../../..//lib/libsa/loadfile.c
In file included from /src/NetBSD-current/src/sys/lib/libsa/loadfile.c:90: /src/NetBSD-current/src/sys/lib/libsa/loadfile.h:74:34: machine/loadfile_machdep.h: No such file or directory
nbmkdep: compile failed.
*** [loadfile.d] Error code 1
1 error

The problem is that the "machine" target which would create the links
necessary to find "machine/loadfile_machdep.h" is never executed. The
problem is probably by the fact that I use "-o" (which I do to check
that the "make cleandir" target works properly).

>How-To-Repeat:
cd /usr/src
./build.sh -j 2 -o -u -D /where/ever/dest -U distribution

>Fix:
None provided.

>Release-Note:

>Audit-Trail:
From: Matthias Scheler <tron@zhadum.de>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: port-i386/30142: build broken by fix for PR kern/9567 (fwd)
Date: Thu, 5 May 2005 17:03:57 +0100

 This didn't get attached automatically because the subject was incorrect:

 ----- Forwarded message from Juan RP <juan@xtrarom.org> -----

 Date: Thu, 5 May 2005 16:34:38 +0200
 From: Juan RP <juan@xtrarom.org>
 To: gnats-bugs@netbsd.org
 Cc: tron@colwyn.zhadum.de
 Subject: Re: build broken by fix for PR kern/9567
 In-Reply-To: <20050505142601.E06B163B116@narn.netbsd.org>
 X-Mailer: Sylpheed version 1.9.9 (GTK+ 2.6.4; i386--netbsdelf)
 X-AV-Checked: ClamAV using ClamSMTP

 On Thu,  5 May 2005 14:26:01 +0000 (UTC)
 Matthias Scheler <tron@colwyn.zhadum.de> wrote:


 > The problem is that the "machine" target which would create the links
 > necessary to find "machine/loadfile_machdep.h" is never executed. The
 > problem is probably by the fact that I use "-o" (which I do to check that
 > the "make cleandir" target works properly). 

 The build fails even without using -o.

 ----- End forwarded message -----

 	Kind regards

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/

From: Matthias Scheler <tron@zhadum.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: NetBSD GNATS <gnats-bugs@netbsd.org>
Subject: Re: port-i386/30142: build broken by fix for 9567 (fwd)
Date: Fri, 6 May 2005 11:12:22 +0100

 On Thu, May 05, 2005 at 02:03:23PM -0400, Christos Zoulas wrote:
 > On May 5,  6:35pm, tron@zhadum.de (Matthias Scheler) wrote:
 > -- Subject: Re: port-i386/30142: build broken by fix for 9567 (fwd)
 > 
 > | On Thu, May 05, 2005 at 12:58:43PM -0400, Christos Zoulas wrote:
 > | > | could you please have a look at this PR? It is caused by changes you
 > | > | have recently committed:
 > | > 
 > | > Can you duplicate it by issuing a make command in that directory?
 > | 
 > | I tried "make dependall" in "src/sys/arch/i386/stand" which also failed.
 > | 
 > 
 > Thanks, can you cvs update and try it now?

 The build works fine now.

 	Thanks a lot

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/

Responsible-Changed-From-To: port-i386-maintainer->christos
Responsible-Changed-By: tron@netbsd.org
Responsible-Changed-When: Fri, 06 May 2005 10:14:34 +0000
Responsible-Changed-Why:
Christos fixed the problem.


State-Changed-From-To: open->closed
State-Changed-By: tron@netbsd.org
State-Changed-When: Fri, 06 May 2005 10:14:34 +0000
State-Changed-Why:
NetBSD-i386 can be built without problems again.


From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, port-i386-maintainer@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/30142: build broken by fix for 9567 (fwd)
Date: Fri, 6 May 2005 08:44:23 -0400

 On May 6, 10:13am, tron@zhadum.de (Matthias Scheler) wrote:
 -- Subject: Re: port-i386/30142: build broken by fix for 9567 (fwd)

 |  The build works fine now.
 |  
 |  	Thanks a lot

 Thanks for making it easy to fix :-)

 christos

>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.