Subject: install/18136: make release fails if MKCRYPTO_IDEA or MKCRYPTO_RC5 is set in MAKECONF
To: None <gnats-bugs@gnats.netbsd.org>
From: None <roskens@elfin.net>
List: netbsd-bugs
Date: 08/31/2002 22:54:49
>Number: 18136
>Category: install
>Synopsis: make release fails if MKCRYPTO_IDEA or MKCRYPTO_RC5 is set in MAKECONF
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 31 20:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6_RC2 08/31/2002 , NetBSD-current 08/31/2002
>Organization:
>Environment:
System: NetBSD hysteria.elfin.net 1.5Y NetBSD 1.5Y (HYSTERIA) #5: Fri Nov 23 01:09:23 CST 2001 root@hysteria.elfin.net:/usr/src/sys/arch/i386/compile/HYSTERIA i386
Architecture: i386
Machine: i386
>Description:
When building a release with MKCRYPT_IDEA and MKCRYPTO_RC5 enabled, the release
fails to complete because the makeflist don't know about the additional library
files created for IDEA and RC5.
>How-To-Repeat:
# cd /d/d01/NetBSD/1.6
# cvs co -P -r netbsd-1-6 src
# cd src
### add MKCRYPT_IDEA=YES, MKCRYPTO_RC5=YES in /etc/mk.conf
# ./build.sh -m i386 -r -D /d/d04/NetBSD16/root -T /d/d04/NetBSD16/tool -R /d/d04/NetBSD16/release/i386
[ lots of output deleted... ]
release ===> i386
STRIP=/d/d04/NetBSD16/tool/bin/i386--netbsdelf-strip /d/d04/NetBSD16/tool/bin/nbinstall -r -c -m 444 INSTALL.ps INSTALL.txt INSTALL.html INSTALL.more /d/d04/NetBSD16/rel
ease/i386/.
cd /d/d01/NetBSD/1.6/src/etc/../sys/arch/i386/stand/dosboot && /d/d04/NetBSD16/tool/bin/nbmake release
cp dosboot.com /d/d04/NetBSD16/release/i386/installation/misc
cd /d/d01/NetBSD/1.6/src/etc/../sys/arch/i386/stand/misc && /d/d04/NetBSD16/tool/bin/nbmake release
/d/d04/NetBSD16/tool/bin/nbinstall -c -r -m 0644 pfdisk.doc pfdisk.exe /d/d01/NetBSD/1.6/src/sys/arch/i386/stand/misc/pfdisktc.zip /d/d01/NetBSD/1.6/src/sys/arch/i386/st
and/misc/rawr32.zip /d/d01/NetBSD/1.6/src/sys/arch/i386/stand/misc/rawr32src.zip /d/d01/NetBSD/1.6/src/sys/arch/i386/stand/misc/rawrite.c rawrite.doc rawrite.exe /d/d04/N
etBSD16/release/i386/installation/misc
CKSUM=/d/d04/NetBSD16/tool/bin/nbcksum sh ../distrib/sets/makesums -t /d/d04/NetBSD16/release/i386/installation/floppy '*.fs'
CKSUM=/d/d04/NetBSD16/tool/bin/nbcksum sh ../distrib/sets/makesums -t /d/d04/NetBSD16/release/i386/installation/misc '*.*'
(cd ../distrib/sets; /d/d04/NetBSD16/tool/bin/nbmake sets)
/d/d04/NetBSD16/tool/bin/nbmake checkflist
DESTDIR=/d/d04/NetBSD16/root.i386 MACHINE=i386 MACHINE_ARCH=i386 MAKE=/d/d04/NetBSD16/tool/bin/nbmake MTREE=/d/d04/NetBSD16/tool/bin/nbmtree PAX=/d/d04/NetBSD16/tool/bi
n/nbpax sh /d/d01/NetBSD/1.6/src/distrib/sets/checkflist
1942a1943,1944
> ./usr/lib/libcrypto_idea.a
> ./usr/lib/libcrypto_idea_p.a
1944a1947,1948
> ./usr/lib/libcrypto_rc5.a
> ./usr/lib/libcrypto_rc5_p.a
2215a2220,2221
> ./usr/libdata/lint/llib-lcrypto_idea.ln
> ./usr/libdata/lint/llib-lcrypto_rc5.ln
checkflist: flist inconsistencies found
checkflist: key to output:
< file in flist but missing from DESTDIR
> file in DESTDIR but missing from flist
*** Error code 1
Stop.
nbmake: stopped in /d/d01/NetBSD/1.6/src/distrib/sets
*** Error code 1
Stop.
nbmake: stopped in /d/d01/NetBSD/1.6/src/distrib/sets
*** Error code 1
Stop.
nbmake: stopped in /d/d01/NetBSD/1.6/src/etc
*** Error code 1
Stop.
nbmake: stopped in /d/d01/NetBSD/1.6/src
>Fix:
This problem exists on both the netbsd-1-6 branch and -current.
src/distrib/sets/makeflist (called from checkflist) needs to know about these files.
>Release-Note:
>Audit-Trail:
>Unformatted: