Subject: build broken by fix for PR kern/9567
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/05/2005 14:26:01
The following reply was made to PR kern/9567; it has been noted by GNATS.

From: Matthias Scheler <tron@colwyn.zhadum.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: build broken by fix for PR kern/9567
Date: Thu, 5 May 2005 15:25:30 +0100 (BST)

 >Submitter-Id:	net
 >Originator:	
 >Organization:
 Matthias Scheler                                  http://scheler.de/~matthias/
 >Confidential:	no
 >Synopsis:	build broken by fix for PR kern/9567
 >Severity:	serious
 >Priority:	medium
 >Category:	port-i386
 >Class:		sw-bug
 >Release:	NetBSD 3.99.3 2005-05-05 sources
 >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 distribution
 ===> 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.