Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20985 - sys-libs/cracklib-2.7-r7 fails to compile, bad permissions
Summary: sys-libs/cracklib-2.7-r7 fails to compile, bad permissions
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 00:42 UTC by Kevin J Meagher
Modified: 2003-09-25 18:30 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 Kevin J Meagher 2003-05-14 00:42:59 UTC
with ACCEPT_KEYWORDS="~x86"#  
emerge sys-libs/cracklib 
  Calculating dependencies ...done! 
>>> emerge (1 of 1) sys-libs/cracklib-2.7-r7 to / 
   >>> md5 src_uri ;-) cracklib,2.7.tar.gz 
>>> Unpacking source... 
>>> Unpacking cracklib,2.7.tar.gz to /var/tmp/portage/cracklib-2.7-r7/work 
 * Applying cracklib-2.7-redhat.patch...                                              [ ok ] 
 * Applying cracklib-2.7-gentoo-new.diff...                                           [ ok ] 
>>> Source unpacked. 
( cd cracklib && make && exit $? ) 
make[1]: Entering directory `/tmp/portage/cracklib-2.7-r7/work/cracklib,2.7/cracklib' 
gcc -march=athlon-tbird -O3 -pipe -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o fascist.o 
fascist.c 
gcc -march=athlon-tbird -O3 -pipe -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o packlib.o 
packlib.c 
gcc -march=athlon-tbird -O3 -pipe -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o rules.o rules.c 
In file included from rules.c:337: 
rules.c: In function `MatchClass': 
rules.c:23: warning: passing arg 0 of `Debug' makes pointer from integer without a cast 
rules.c:337: warning: too few arguments passed to inline function, suppressing inlining 
rules.c: In function `Mangle': 
rules.c:464: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:471: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:483: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:490: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:502: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:514: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:528: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:539: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:554: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:562: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:578: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:588: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:609: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:623: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:638: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:658: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:687: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:694: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:739: warning: too few arguments passed to inline function, suppressing inlining 
rules.c:762: warning: too few arguments passed to inline function, suppressing inlining 
In file included from rules.c:796: 
rules.c:23: warning: passing arg 0 of `Debug' makes pointer from integer without a cast 
rules.c:796: warning: too few arguments passed to inline function, suppressing inlining 
gcc -march=athlon-tbird -O3 -pipe -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o stringlib.o 
stringlib.c 
ld -shared -soname libcrack.so.2 -o libcrack.so.2.7 fascist.o packlib.o rules.o stringlib.o -lc 
rm -f libcrack.so.2 libcrack.so 
ln -s libcrack.so.2.7 libcrack.so.2 
ln -s libcrack.so.2 libcrack.so 
make[1]: Leaving directory `/tmp/portage/cracklib-2.7-r7/work/cracklib,2.7/cracklib' 
( cd util && make DICTPATH="/usr/lib/cracklib_dict" && exit $? ) 
make[1]: Entering directory `/tmp/portage/cracklib-2.7-r7/work/cracklib,2.7/util' 
gcc -march=athlon-tbird -O3 -pipe -I../cracklib 
'-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'   -c -o packer.o packer.c 
cc -march=athlon-tbird -O3 -pipe -I../cracklib '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"' 
-o packer packer.o -L../cracklib -lcrack 
make[1]: execvp: cc: Permission denied 
make[1]: *** [packer] Error 127 
make[1]: Leaving directory `/tmp/portage/cracklib-2.7-r7/work/cracklib,2.7/util' 
make: *** [all] Error 2 
 
!!! ERROR: sys-libs/cracklib-2.7-r7 failed. 
!!! Function src_compile, Line 32, Exitcode 2 
!!! (no error message) 
 

Reproducible: Always
Steps to Reproduce:
1.# emerge sys-libs/cracklib 
2. 
3. 
Actual Results:  
does not compile 

Expected Results:  
should compile
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-14 07:07:13 UTC
I can't reproduce your problem. What's your "emerge info" output?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-14 16:14:38 UTC
Patrick:
Ok, I've traced it.
Upstream and in our patches, 'cc' is used explictly for the C compiler.
This isn't always correct, and it should be $(CC).

I'm working on it now.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-14 16:22:15 UTC
Kevin: could you please try it again, I've modified the gentoo-new patch slightly and it should fix that. the instances of 'cc' are changed to '$(CC)'.
Comment 4 Kevin J Meagher 2003-05-15 12:20:16 UTC
The problem is fixed, it compiles correctly. 
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-25 18:30:26 UTC
closing again
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-25 18:30:32 UTC
closing again