Subject: build.sh release problems
To: None <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 03/21/2005 14:45:44
Hi, 

Freshly downloaded tar_files from two days ago; cvs updated at that time. 

Whilst running on 2.0-Release with 2.0_Release userland,
build.sh -x distribution failed in:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

#   install  /usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h
STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip
/usr/src/../tools/bin/nbinstall -U -M
/usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386
-h sha1 -N /usr/src/etc -c -p -r -c -o root -g wheel  -m 444 
/usr/xsrc/xfree/xc/extras/freetype2/include/freetype/internal/services/svbdf.h
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h
nbinstall: /usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services:
mkstemp: No such file or directory

*** Failed target: 
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h
*** Failed command: cmp -s
/usr/xsrc/xfree/xc/extras/freetype2/include/freetype/internal/services/svbdf.h
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h
> /dev/null 2>&1 || (echo '# ' "install "
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h;
echo "STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip
/usr/src/../tools/bin/nbinstall -U -M
/usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386
-h sha1 -N /usr/src/etc -c -p -r -c -o root -g wheel -m 444
/usr/xsrc/xfree/xc/extras/freetype2/include/freetype/internal/services/svbdf.h
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h"
&& STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip
/usr/src/../tools/bin/nbinstall -U -M
/usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386
-h sha1 -N /usr/src/etc -c -p -r -c -o root -g wheel -m 444
/usr/xsrc/xfree/xc/extras/freetype2/include/freetype/internal/services/svbdf.h
/usr/src/../obj/destdir.i386/usr/X11R6/include/freetype2/freetype/internal/services/svbdf.h)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/x11/lib/freetype2/freetype/internal/services
----------------------------------------------------------------------------------------------


Subsequent build.sh distribution (from scratch, without -x) was
successful, the system was upgraded to 3.99.1 kernel, then the
userland was installed, postinstall and etcupdate ran (a minor problem
was that I had only one shell active when installing the userland; at
the end of this somehow this shell exited and I could not login due to
pam... error; reset+fsck brought the system back to continue with
postinstall and etcupdate).

Now build.sh release fails on the same machine with:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#      link  ramdisk-big/ramdiskbin
/usr/src/../tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib    -static -o
ramdiskbin  -Wl,-rpath-link,/usr/src/../obj/destdir.i386/lib:/usr/src/../obj/destdir.i386/usr/lib
 -L/usr/src/../obj/destdir.i386/lib 
-B/usr/src/../obj/destdir.i386/usr/lib/
-B/usr/src/../obj/destdir.i386/usr/lib/   ramdiskbin.o cat.cro
chio.cro chmod.cro cp.cro dd.cro df.cro ed.cro ln.cro ls.cro mkdir.cro
mt.cro mv.cro pax.cro pwd.cro rcmd.cro rm.cro sh.cro stty.cro sync.cro
dhclient.cro disklabel.cro fdisk.cro fsck.cro fsck_ffs.cro
ifconfig.cro init.cro mbrlabel.cro mknod.cro mount.cro
mount_cd9660.cro mount_ext2fs.cro mount_ffs.cro mount_kernfs.cro
mount_msdos.cro mount_nfs.cro mount_ntfs.cro newfs.cro ping.cro
raidctl.cro reboot.cro restore.cro route.cro scsictl.cro shutdown.cro
slattach.cro swapctl.cro sysctl.cro umount.cro ftp.cro gzip.cro
less.cro sed.cro tip.cro installboot.cro bad144.cro chown.cro
chroot.cro wiconfig.cro sysinst.cro progress.cro ping6.cro rtsol.cro 
libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
-lz   -L/usr/src/../obj/destdir.i386/usr/lib
-L/usr/src/../obj/destdir.i386/usr/lib
/usr/src/../obj/destdir.i386/usr/lib/libc.a(getmntinfo.o)(.text+0x70):
In function `_getmntinfo':
: warning: warning: reference to obsolete getfsstat(); use getvfsstat()
ifconfig.cro(.text+0x15c5): In function `status$$from$$ifconfig':
: undefined reference to `ieee80211_status'
ifconfig.cro(.text+0x1a88): In function `status$$from$$ifconfig':
: undefined reference to `ieee80211_statistics'
ifconfig.cro(.rodata+0x124): undefined reference to `setifbssid'
ifconfig.cro(.rodata+0x138): undefined reference to `setifbssid'
ifconfig.cro(.rodata+0x14c): undefined reference to `setifchan'
ifconfig.cro(.rodata+0x160): undefined reference to `setifchan'
ifconfig.cro(.rodata+0x174): undefined reference to `setifnwid'
ifconfig.cro(.rodata+0x188): undefined reference to `setifnwid'
ifconfig.cro(.rodata+0x19c): undefined reference to `setifnwkey'
ifconfig.cro(.rodata+0x1b0): undefined reference to `setifnwkey'
ifconfig.cro(.rodata+0x1c4): undefined reference to `setifpowersave'
ifconfig.cro(.rodata+0x1d8): undefined reference to `setifpowersave'
ifconfig.cro(.rodata+0x1ec): undefined reference to `setifpowersavesleep'
collect2: ld returned 1 exit status

*** Failed target:  ramdiskbin
*** Failed command: /usr/src/../tools/bin/i386--netbsdelf-gcc
-Wl,-nostdlib -static -o ramdiskbin
-Wl,-rpath-link,/usr/src/../obj/destdir.i386/lib:/usr/src/../obj/destdir.i386/usr/lib
-L/usr/src/../obj/destdir.i386/lib
-B/usr/src/../obj/destdir.i386/usr/lib/
-B/usr/src/../obj/destdir.i386/usr/lib/ ramdiskbin.o cat.cro chio.cro
chmod.cro cp.cro dd.cro df.cro ed.cro ln.cro ls.cro mkdir.cro mt.cro
mv.cro pax.cro pwd.cro rcmd.cro rm.cro sh.cro stty.cro sync.cro
dhclient.cro disklabel.cro fdisk.cro fsck.cro fsck_ffs.cro
ifconfig.cro init.cro mbrlabel.cro mknod.cro mount.cro
mount_cd9660.cro mount_ext2fs.cro mount_ffs.cro mount_kernfs.cro
mount_msdos.cro mount_nfs.cro mount_ntfs.cro newfs.cro ping.cro
raidctl.cro reboot.cro restore.cro route.cro scsictl.cro shutdown.cro
slattach.cro swapctl.cro sysctl.cro umount.cro ftp.cro gzip.cro
less.cro sed.cro tip.cro installboot.cro bad144.cro chown.cro
chroot.cro wiconfig.cro sysinst.cro progress.cro ping6.cro rtsol.cro
libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
-lz -L/usr/src/../obj/destdir.i386/usr/lib
-L/usr/src/../obj/destdir.i386/usr/lib
*** Error code 1


Stop.
nbmake: stopped in /usr/src/distrib/i386/floppies/ramdisk-big

-----------------------------------------------------------------------------------------
I gather the first problem is probably linked to the import of XFree86
4.5 not being finished, so I just should wait for a while before
attempting to compile it again ... but the second is black box to me.

Any ideas?