Bug 126995 - Emerge of app-admin/apg failes with USE=cracklib on glibc-2.4
Bug#: 126995 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: voxus@gentoo.org Reported By: exien.ow@gmail.com
Component: Ebuilds
URL: 
Summary: Emerge of app-admin/apg failes with USE=cracklib on glibc-2.4
Keywords:  
Status Whiteboard: 
Opened: 2006-03-20 12:09 0000
Description:   Opened: 2006-03-20 12:09 0000
>>> 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 From Kelvie 2006-03-21 13:59:18 0000 -------
Confirmed on x86, gcc 3.4.3.

------- Comment #2 From Konstantin Arkhipov 2006-03-25 15:38:05 0000 -------
fixed in app-admin/apg-2.3.0b-r2.
thanks for reporting.

------- Comment #3 From Mark D. 2006-03-26 00:27:01 0000 -------
Thanks for fixing!

------- Comment #4 From Wulf Krueger (RETIRED) 2006-07-31 12:57:00 0000 -------
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?