Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47350 - versions of portage greater than 2.0.50-r1 fail to pass gcc
Summary: versions of portage greater than 2.0.50-r1 fail to pass gcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 47694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-09 08:30 UTC by Michael Cummings (RETIRED)
Modified: 2004-08-11 14:36 UTC (History)
4 users (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 Michael Cummings (RETIRED) gentoo-dev 2004-04-09 08:30:57 UTC
Noticed with the mod_perl-1.27-r4 ebuild in particular. If this is a problem with the ebuild, please let me know, but with portage-2.0.50-r1 and below, libperl.so (not the perl libperl.so, but the mod_perl version) builds fine. With portage versions greater than -r1, the make of the mod_perl libperl fails (but doesn't die) and the .so is never created. During the emerge, the following output is generated:

(cd ./apaci && PERL5LIB=/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/lib
: make)
make[1]: Entering directory `/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.2
7/apaci'
I   -I/usr/include/apache -DMOD_PERL -march=pentium2 -O2 -pipe -fstack-protector
 -fPIC -DHARD_SERVER_LIMIT=512          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=
64 -DLINUX=22 -DTARGET=\"apache\" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI 
-DEAPI_MM -march=pentium2 -O2 -pipe -fstack-protector -fPIC -c mod_perl.c && mv 
mod_perl.o mod_perl.lo
/bin/sh: line 1: I: command not found
make[1]: [mod_perl.lo] Error 127 (ignored)
o perlxsi.c -std 
make[1]: o: Command not found
make[1]: [perlxsi.c] Error 127 (ignored)
I   -I/usr/include/apache -DMOD_PERL -march=pentium2 -O2 -pipe -fstack-protector
 -fPIC -DHARD_SERVER_LIMIT=512          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=
64 -DLINUX=22 -DTARGET=\"apache\" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI 
-DEAPI_MM -march=pentium2 -O2 -pipe -fstack-protector -fPIC -c perlxsi.c && mv p
erlxsi.o perlxsi.lo
/bin/sh: line 1: I: command not found


instead of (from a different box, running -r1 now but confirmed with later versions)

(cd ./apaci && PERL5LIB=/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/lib
: make)
make[1]: Entering directory `/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.2
7/apaci'
gcc -fPIC -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -I/usr
/lib/perl5/5.8.2/i686-linux/CORE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.27\" -DMOD_PERL_STRING_VERSION=\"mod_per
l/1.27\" -I/usr/include/apache -DMOD_PERL -O3 -march=pentium4 -funroll-loops -fp
refetch-loop-arrays -pipe -DHARD_SERVER_LIMIT=512               -D_LARGEFILE_SOU
RCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -I/usr/include/db4 -DD
EV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -O3 -march=pentium4 -funrol
l-loops -fprefetch-loop-arrays -pipe -c mod_perl.c && mv mod_perl.o mod_perl.lo
/usr/bin/perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c -std Apache Apache::Co
nstants Apache::ModuleConfig Apache::Log Apache::URI Apache::Util Apache::Connec
tion Apache::Server Apache::File Apache::Table 


Note the missing gcc call. The box used in the second example was downgraded to portage*-r1 today in order to make mod_perl install.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-04-09 08:35:15 UTC
Just so there's no doubt, I re-upgraded portage on the second example box and get:
(cd ./apaci && PERL5LIB=/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/lib
: make)
make[1]: Entering directory `/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.2
7/apaci'
I   -I/usr/include/apache -DMOD_PERL -O3 -march=pentium4 -funroll-loops -fprefet
ch-loop-arrays -pipe -DHARD_SERVER_LIMIT=512            -D_LARGEFILE_SOURCE -D_F
ILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -I/usr/include/db4 -DDEV_RANDO
M=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -O3 -march=pentium4 -funroll-loops 
-fprefetch-loop-arrays -pipe -c mod_perl.c && mv mod_perl.o mod_perl.lo
/bin/sh: line 1: I: command not found
make[1]: [mod_perl.lo] Error 127 (ignored)
o perlxsi.c -std 
make[1]: o: Command not found

Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-04-09 08:43:42 UTC
Kurt - adding you as a cc since this affects building the new web nodes.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-04-09 10:01:09 UTC
Before I'm asked for something I always ask for...

emerge-info from my box:
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1        /share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm        /config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /us        r/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu        x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/projects/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomat        icdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mo        tif mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png postgres         python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex tru        etype x86 xml2 xmms xv zlib"


emerge info from the infra box that duplicates the behaviour:

Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-grsec-1.9.14)
=================================================================
System uname: 2.4.25-grsec-1.9.14 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe -fstack-protector -fPIC"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fstack-protector -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://masterrsync.gentoo.org/gentoo-portage"
USE="berkdb crypt mmx ncurses pam perl pic python snmp sse ssl tcpd x86 xml"
Comment 4 Andrew Bevitt 2004-04-13 03:08:03 UTC
I cant reproduce this... with either the apache-1 or apache-2 streams (ie with mod_perl-1.27 or mod_perl-1.99).

Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo)
=================================================================
System uname: 2.6.4-gentoo i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon-xp -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon-xp -msse -msse2 -mmmx"
DISTDIR="/work/distfiles"
FEATURES="ccache cvs fixpackages sandbox"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://www.zentek-international.com/mirrors/gentoo/ http://mirror.tucdemonic.org/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/work/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi bonobo cdr crypt cups dga dvd encode evo fbcon foomaticdb gdbm gif gphoto2 gtk gtk2 gtkhtml guile imagemagick imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml xml2 xmms xv zlib"
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2004-04-13 03:33:50 UTC
I've reproduced this on three machines so far - one at work, one at home, and one on a new web node for the infrastructure team (where it first showed up). In each case we're running the apache-1* series and the indicated portage versions.
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2004-04-13 03:48:01 UTC
Can you please confirm that the problem still exists in portage-2.0.50-r5?
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2004-04-13 10:29:14 UTC
*** Bug 47694 has been marked as a duplicate of this bug. ***
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2004-04-14 08:28:22 UTC
-r5 is good (last week I only had access to <-r5). Thanks!

rolf - can you also upgrade your portage and confirm? Thanks,

Mike
Comment 9 rolf sormo 2004-04-14 23:07:27 UTC
As I couldn't reproduce the bug after emerging and unmerging ExtUtils-MakeMaker, I still cannot. Though it might be that I emerged my current portage (running 2.0.50-r5) at the time I was having trouble with mod_perl, and just cannot remember the order I did things. Sorry. Though I'm fairly sure I did emerge r5 and tried re-emerging mod_perl _before_ finding out that emerging ExtUtils-MakeMaker would fix the problem.

I whish I had a clean system I could try this on and some time on my hands. Did anyone try with the new portage and without emerging that MakeMaker before mod_perl? Or am I completely in the woods trying to blame MakeMaker? :)
Comment 10 Brian Harring (RETIRED) gentoo-dev 2004-08-11 14:36:35 UTC
Reopen if anyone hits this, but the commentary indicates it was fixed in .50-r5