okay, I'm having something of a showstopper for my system here: emerge perl fails with : CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-tbird -O2 -pipe cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory `sh cflags libperl.so pp_sys.o` -fPIC pp_sys.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-tbird -O2 -pipe cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory pp_sys.c: In function `Perl_pp_sysread': pp_sys.c:1499: incompatible type for argument 5 of `recvfrom' pp_sys.c: In function `Perl_pp_send': pp_sys.c:1693: incompatible type for argument 5 of `sendto' pp_sys.c: In function `Perl_pp_bind': pp_sys.c:2189: incompatible type for argument 2 of `bind' pp_sys.c: In function `Perl_pp_connect': pp_sys.c:2227: incompatible type for argument 2 of `connect' pp_sys.c: In function `Perl_pp_accept': pp_sys.c:2296: incompatible type for argument 2 of `accept' pp_sys.c: In function `Perl_pp_getpeername': pp_sys.c:2469: incompatible type for argument 2 of `getsockname' pp_sys.c:2473: incompatible type for argument 2 of `getpeername' make: *** [pp_sys.o] Error 1 gcc 3.1, march=athlon-tbird -O2 -pipe the reason I'm trying to rebuild is that xchat crashes with a libperl link error in the bactkrace
I am running into this problem also, and found this, http://archive.develooper.com/perl5-porters@perl.org/msg80452.html maybe the link would help shed some light on this matter
the link in my earlier comment said something about gcc's auto lib include thing or whatever, and to add -Dlocincpth=' ' to the Configure. did and done that and compile went as expected, here's a a small diff of the changes. --- perl-5.6.1-r4.ebuild Thu Jun 20 16:50:31 2002 +++ perl-5.6.1-r4.ebuild.new Sun Jul 7 18:19:24 2002 @@ -33,6 +33,7 @@ -Dcccdlflags='-fPIC' \ -Dccdlflags='-rdynamic' \ -Dprefix=/usr \ + -Dlocincpth=' ' \ -Doptimize="${CFLAGS}" \ -Duselargefiles \ -Duseshrplib \ @@ -90,6 +91,7 @@ -Darchname=${CHOST%%-*}-linux \ -Duselargefiles \ -Dd_dosuid \ + -Dlocincpth=' ' \ -Dd_semctl_semun \ ${myconf} || die
Created attachment 2471 [details] Perl ebuild with Bjorn's patch I had the same problem as the reporter and the patch by Bjorn fixed it. I've attached a perl ebuild with this applied. What needs to be done to get this into gentoo and mark this bug fixed?
ok, this patch worked for me and I released an updated perl revision thats masked.. closing this now Matthew. could people please test it ?
spider, i just tested -r5 and it works fine for me. Matt