Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25322 - Numerous compilation errors with portage-2.0.48-r*, including apache, perl, python
Summary: Numerous compilation errors with portage-2.0.48-r*, including apache, perl, p...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-26 07:37 UTC by Arjen
Modified: 2003-07-27 12:01 UTC (History)
0 users

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 Arjen 2003-07-26 07:37:11 UTC
When emerging perl, apache, python (and probably others) they stop right after
the configure-part.
Apache-1.3.28:
 * Using /home/httpd as apache's default data directory.
 * Using /etc/apache/apache-builtin-mods for builtins.
Configuring for Apache, Version 1.3.28
configure:Error: invalid option ''

!!! ERROR: net-www/apache-1.3.28 failed.
!!! Function src_compile, Line 131, Exitcode 1
!!! bad ./configure

Python-2.2.3:
creating ./config.status
Usage: ./config.status [--recheck] [--version] [--help]

!!! ERROR: dev-lang/python-2.2.3-r1 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed

Perl-5.8.0:
gcc -L/usr/local/lib -o miniperl \
    miniperlmain.o opmini.o libperl.a -lpthread -lnsl -ldl -lm -lc -lcrypt -lutil
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/Config.pm
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
make: *** [preplibrary] Error 1

!!! ERROR: dev-lang/perl-5.8.0-r12 failed.
!!! Function src_compile, Line 192, Exitcode 2
!!! Unable to make

I'm not sure whether this is a bug in portage the ebuilds or something else... 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info:
Portage 2.0.48-r5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r8)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt encode jpeg libg++ mikmod mmx mpeg ncurses
oggvorbis pdflib quicktime sdl spell svga truetype xml2 xmms xv berkdb esd gdbm
gif gnome-libs gpm gtk imlib java libwww motif mozilla mysql nls opengl pam perl
png postgres python readline slang ssl tcltk tcpd tetex tiff X innodb -qt -kde
-cups -apache2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-07-26 11:19:51 UTC
r7 is out, try that 
Comment 2 Arjen 2003-07-26 15:50:47 UTC
With -r7 I get exactly the same results.
Comment 3 Arjen 2003-07-27 10:34:01 UTC
Ok, this is the weirdest behavior of Linux I've ever had...
I ran into other problems (the libtoolize script failed, it just didn't recognize any of its input), a few other shell-scripts (created from various configure-scripts) failed, etc.
So I started to suspect something in my bash or bashenvironment. I re-emerged bash (which failed, but it did compile bash so I could copy that to /bin) and logged on again, after that I could re-emerge bash (again, but it didn't fail this time).

And appareantly this fixed the above problems... Why, what or when it got wrong? I've no clue...
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-07-27 12:01:21 UTC
check for rootkits.

use qpkg and chkrootkit.