Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204756 - emerge dev-lang/php-5.2.5-r1 failed because of libaspell.so.15 undefined references
Summary: emerge dev-lang/php-5.2.5-r1 failed because of libaspell.so.15 undefined refe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 14:56 UTC by Lubomir Prech
Modified: 2008-01-26 00:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log from /var/tmp/portage/dev-lang/php-5.2.5-r1/work/php-5.2.5 (config.log,279.77 KB, text/plain)
2008-01-08 09:16 UTC, Lubomir Prech
Details
build.log from /var/tmp/portage/dev-lang/php-5.2.5-r1/temp (build.log,28.57 KB, text/plain)
2008-01-08 09:17 UTC, Lubomir Prech
Details
new config.log (config.log,279.77 KB, text/plain)
2008-01-08 09:54 UTC, Lubomir Prech
Details
new build.log (build.log,28.60 KB, text/plain)
2008-01-08 09:55 UTC, Lubomir Prech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubomir Prech 2008-01-07 14:56:55 UTC
I cannot emerge/update the php package:
On  emerge -u php
....
checking for readline in -lreadline... no
configure: error: readline library not found
 *
 * ERROR: dev-lang/php-5.2.5-r1 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   php-5.2.5-r1.ebuild, line  185:  Called src_compile_normal
 *   php-5.2.5-r1.ebuild, line  327:  Called php5_2-sapi_src_compile
 *    php5_2-sapi.eclass, line  640:  Called die
 * The specific snippet of code:
 *      ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed"
 *  The die message:
 *   configure failed
 *

I tried to recompile readline library:

emerge readline
...
>>>sys-libs/readline-5.2_p7 merged.

but php still cannot be updated.


Reproducible: Always

Steps to Reproduce:
1.emerge -u php
2.
3.

Actual Results:  
checking for readline in -lreadline... no
configure: error: readline library not found

 ERROR: dev-lang/php-5.2.5-r1 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   php-5.2.5-r1.ebuild, line  185:  Called src_compile_normal
 *   php-5.2.5-r1.ebuild, line  327:  Called php5_2-sapi_src_compile
 *    php5_2-sapi.eclass, line  640:  Called die
 * The specific snippet of code:
 *      ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed"
 *  The die message:
 *   configure failed


Expected Results:  
successful updating of php (currently [5.2.4_pre200708051230-r2])
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-07 18:47:11 UTC
Reopen with config.log and emerge --info attached; thanks.
Comment 2 Lubomir Prech 2008-01-08 09:16:17 UTC
Created attachment 140441 [details]
config.log  from /var/tmp/portage/dev-lang/php-5.2.5-r1/work/php-5.2.5
Comment 3 Lubomir Prech 2008-01-08 09:17:48 UTC
Created attachment 140442 [details]
build.log from /var/tmp/portage/dev-lang/php-5.2.5-r1/temp
Comment 4 Lubomir Prech 2008-01-08 09:18:55 UTC
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Mon, 07 Jan 2008 16:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-08 09:29:49 UTC
<snip>
/usr/lib/./libaspell.so.15: undefined reference to `std::_List_node_base::unhook()'
/usr/lib/./libaspell.so.15: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)'
/usr/lib/./libaspell.so.15: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
/usr/lib/./libaspell.so.15: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)'
</snip>

Uhm, your app-text/aspell is broken (probably by improper GCC upgrade). Recompile it and try again.
Comment 6 Lubomir Prech 2008-01-08 09:54:10 UTC
Created attachment 140449 [details]
new config.log

php config.log after emerge aspell; emerge -u php
Comment 7 Lubomir Prech 2008-01-08 09:55:03 UTC
Created attachment 140450 [details]
new build.log

new build.log after emerge aspell;emerge -u php
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-01-08 09:59:09 UTC
Well, see the following howto and follow it; this is not a PHP bug.

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-01-08 09:59:29 UTC

*** This bug has been marked as a duplicate of bug 113445 ***
Comment 10 Lubomir Prech 2008-01-11 18:29:22 UTC
Still no progress : According to the gcc upgrade guide I did

emerge -uav gcc
gcc-config i686-pc-linux-gnu-4.1.2
env-update && source /etc/profile
fix_libtool_files.sh 3.4.6
emerge --oneshot -av libtool
revdep-rebuild --library libstdc++.so.5
emerge libstdc++-v3
emerge -eav system
emerge readline

emerge -u php

but the result is exactly same as in build.log reported above!!

I also tried to reemerge the current version 
emerge =dev-lang/php-5.2.4_pre200708051230-r2

but again the same error: readline library not found !!
 
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 18:31:42 UTC
Sigh; yeah your aspell is broken; PHP doesn't want this bug since it has nothing to do w/ PHP.

Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 18:37:59 UTC
(In reply to comment #10)
> Still no progress : According to the gcc upgrade guide I did
> 
> emerge -uav gcc
> gcc-config i686-pc-linux-gnu-4.1.2
> env-update && source /etc/profile
> fix_libtool_files.sh 3.4.6
> emerge --oneshot -av libtool
> revdep-rebuild --library libstdc++.so.5
> emerge libstdc++-v3
> emerge -eav system
> emerge readline

Plus you were supposed to do emerge -e world (Code Listing 3.6: Rebuilding system and world) and not emerge readline; this issue is not related to readline in any way and re-emerging readline will not move you an inch further.

Comment 13 Lubomir Prech 2008-01-11 19:32:32 UTC
(In reply to comment #11)
> Sigh; yeah your aspell is broken; PHP doesn't want this bug since it has
> nothing to do w/ PHP.
> 

Ok. I unmerged aspell
emerge -C aspell
emerge aspell
emerge aspell-en

emerge -u php ... fail again
I do not claim it's a PHP fault, php is the only package that sees it.

Another try:

USE="-aspell" emerge -u php .. fail again same fault.



Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-01-12 13:36:36 UTC
As noted multiple times - emerge -e world is not in the upgrading guide just for fun. Do it.
Comment 15 Wulf Krueger (RETIRED) gentoo-dev 2008-01-26 00:55:37 UTC
 (In reply to comment #14)
> As noted multiple times - emerge -e world is not in the upgrading guide just for
> fun. Do it.

Indeed.