Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111783

Summary: php-4.4.0-r9 failed compilation, requesting old gcc libs
Product: Gentoo Linux Reporter: Martin Hierling <martin.hierling>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Hierling 2005-11-07 07:32:34 UTC
emerging php4 failed, emerge sync today, emerge php is requesting a old gcc lib
3.3.2. I dont know why it is doing so, everyting is up to date.

w3 ~ # emerge --sync
...
Number of files: 129516
Number of files transferred: 2632
Total file size: 104030214 bytes
Total transferred file size: 5190431 bytes
Literal data: 5190431 bytes
Matched data: 0 bytes
File list size: 2984464
Total bytes written: 52821
Total bytes read: 8294275

wrote 52821 bytes  read 8294275 bytes  39842.94 bytes/sec
total size is 104030214  speedup is 12.46

>>> Updating Portage cache:  100%

 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.


w3 ~ # date
Mon Nov  7 16:12:36 MET 2005

w3 ~ # emerge mod_php
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-php/mod_php-4.4.0-r9 to /
...


zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_strtod.lo
Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo
sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lc-client -lnsl
-lsablot -lexpat -lexpat -laspell -lpspell -lmysqlclient -lmhash -lmcrypt -lltdl
-lssl -lcrypto -lcrypt -lpam -lt1 -lfreetype -lpng -lz -ljpeg -lexslt -lxml2
-lxslt -lz -ldb-4.0 -ldb-4.0 -lndbm -lgdbm -lbz2 -lz -lssl -lcrypto -lresolv -lm
-lxmlparse -lxmltok -lxml2 -lz -lm -lcrypt  -o libphp4.la
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No such file or
directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No
such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la' is not a
valid libtool archive
make: *** [libphp4.la] Error 1

!!! ERROR: dev-php/mod_php-4.4.0-r9 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

....

w3 ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.3.6 *
[2] i686-pc-linux-gnu-3.3.6-hardened
[3] i686-pc-linux-gnu-3.3.6-hardenednopie
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6-hardenednossp

w3 ~ # cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6


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




Portage 2.0.51.22-r3 (default-linux/x86/2005.0/2.4, gcc-3.3.6, glibc-2.3.5-r2,
2.4.29-vs1.2.10 i686)
=================================================================
System uname: 2.4.29-vs1.2.10 i686 Intel(R) Pentium(R) III CPU - S         1266MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.2, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
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="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode fam
foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk2 imap imlib ipv6 jpeg
libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl
oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-07 07:39:06 UTC
fix_libtool_files.sh 3.3.2 

*** This bug has been marked as a duplicate of 73435 ***