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
I can't reproduce your problem. What's your "emerge info" output?
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.
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)'.
The problem is fixed, it compiles correctly.
closing again