Subject: pkg/20843: security/libcrack breaks on Linux
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/22/2003 01:29:48
>Number:         20843
>Category:       pkg
>Synopsis:       security/libcrack doesn't build on Linux
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 22 01:30:00 PST 2003
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 i386
Architecture: i386
Machine: i386
On two different Linux boxes, when building pkgsrc/security/libcrack:

===> Building for libcrack-2.7
( cd cracklib && make && exit $? )
/tmp/pkgsrc/security/libcrack/work.tahoma/.buildlink/bin/libtool  --mode=compile
 gcc -O2 -I/usr/include -I../cracklib -DIN_CRACKLIB  -c -o
libtool: compile: you must specify a target with `-o'
make: *** [fascist.o] Error 1
*** Error code 2

After moving patch-ab and patch-ac, it builds but post-install fails

/usr/bin/libtool --mode=install install -c -o root -g root -m 444 /usr/lib &&  install -c -o root -g root -m 444 packer.h /usr/include/cracklib
libtool: install: `' is not a valid libtool archive

Then also the SRCDICTS=/usr/share/dict/words is not appropriate under
Linux unless it is installed. It should probably check
or have a DEPENDS for some other package that provides that.

(By the way, my mk/ has a USE_CRACK definition
which I use with shadow (for Linux) and PAM.)

Sorry no fix provided.