Subject: port-i386/30142: build broken by fix for 9567
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/05/2005 14:58:00
>Number:         30142
>Category:       port-i386
>Synopsis:       build broken by fix for 9567
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 14:58:00 +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.