Subject: Re: build problem
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 04/13/2005 16:33:40
Jukka Salmi --> current-users (2005-04-13 14:51:27 +0200):
[...]
> #   install  /opt/dst/i386.embed/usr/lib/libfl.a
> STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r /opt/dst/i386.embed/usr/lib/libl.a /opt/dst/i386.embed/usr/lib/libfl.anbinstall: link /opt/dst/i386.embed/usr/lib/libl.a -> /opt/dst/i386.embed/usr/lib/libfl.a: No such file or directory
>   
> *** Failed target:  linksinstall
> *** Failed command: (set /usr/lib/libl.a /usr/lib/libfl.a; while test $# -ge 2; do l=/opt/dst/i386.embed$1; shift; t=/opt/dst/i386.embed$1; shift; if ldevino=`/opt/tools/i386/bin/nbstat -qf '%d %i' $l` && tdevino=`/opt/tools/i386/bin/nbstat -qf '%d %i' $t` && [ "$ldevino" = "$tdevino" ]; then continue ; fi ; echo '# ' "install " $t; echo STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r $l $t; STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r $l $t; done ; )
> *** Error code 1
>   
> Stop.
> nbmake: stopped in /usr/src/lib/libl

Commenting out MKSTATICLIB fixed this for now. I wonder how this should
be fixed; make bsd.links.mk's linksinstall target check for the existence
of the source file?

BTW:
============  23 extra files  ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/share/examples/pf
./usr/share/zoneinfo/Africa
./usr/share/zoneinfo/America
./usr/share/zoneinfo/America/Argentina
./usr/share/zoneinfo/America/Indiana
./usr/share/zoneinfo/America/Kentucky
./usr/share/zoneinfo/America/North_Dakota
./usr/share/zoneinfo/Antarctica
./usr/share/zoneinfo/Arctic
./usr/share/zoneinfo/Asia
./usr/share/zoneinfo/Atlantic
./usr/share/zoneinfo/Australia
./usr/share/zoneinfo/Brazil
./usr/share/zoneinfo/Canada
./usr/share/zoneinfo/Chile
./usr/share/zoneinfo/Etc
./usr/share/zoneinfo/Europe
./usr/share/zoneinfo/Indian
./usr/share/zoneinfo/Mexico
./usr/share/zoneinfo/Mideast
./usr/share/zoneinfo/Pacific
./usr/share/zoneinfo/SystemV
./usr/share/zoneinfo/US
=========  end of 23 extra files  ===========

This was after building with

MKBINUTILS               = no
MKBFD                    = no
MKCVS                    = no
MKGCCCMDS                = no
MKGDB                    = no
MKHESIOD                 = no
MKINET6                  = no
MKKERBEROS4              = no
MKPAM                    = no
MKPF                     = no
MKPOSTFIX                = no
MKPROFILE                = no
MKSENDMAIL               = no
MKSHARE                  = no
MKSKEY                   = no
MKUUCP                   = no
MKYP                     = no


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~