Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126995 - Emerge of app-admin/apg failes with USE=cracklib on glibc-2.4
Summary: Emerge of app-admin/apg failes with USE=cracklib on glibc-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 12:09 UTC by Mark D.
Modified: 2006-07-31 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark D. 2006-03-20 12:09:02 UTC
>>> Source unpacked.
gcc -Wall -DAPG_USE_CRYPT -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"' -o apg bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c randpass.c restrict.c errors.c apg.c getopt.c convert.c -lm -lcrypt -lcrack
gcc  -DAPGBFM -o apgbfm apgbfm.c bloom.c sha/sha.c errors.c getopt.c convert.c -lm
In file included from restrict.h:37,
                 from restrict.c:36:
/usr/include/packer.h:91: error: syntax error before "FindPW"
restrict.c: In function `cracklib_check_pass':
restrict.c:206: warning: implicit declaration of function `FascistCheck'
restrict.c:206: warning: assignment makes pointer from integer without a cast
In file included from restrict.h:37,
                 from apg.c:83:
/usr/include/packer.h:91: error: syntax error before "FindPW"
apg.c: In function `get_user_seq':
apg.c:616: warning: int format, different type arg (arg 2)
make: *** [apg] Error 1

Emerge works fine with USE="-cracklib". I have emerged this package before on my ~amd64 machine perfectly before I upgraded to glibc-2.4

The exact vsion is: app-admin/apg-2.3.0b-r1
Comment 1 Kelvie 2006-03-21 13:59:18 UTC
Confirmed on x86, gcc 3.4.3.
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-03-25 15:38:05 UTC
fixed in app-admin/apg-2.3.0b-r2.
thanks for reporting.
Comment 3 Mark D. 2006-03-26 00:27:01 UTC
Thanks for fixing!
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2006-07-31 12:57:00 UTC
app-admin/apg-2.3.0b-r1 is still around and not compiling whereas app-admin/apg-2.3.0b-r2 is marked unstable. Maybe it's time to change that?