Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488616 - dev-lang/python-2.7.5-r2 on Mac OS 10.5/PPC - *** WARNING: renaming "readline" since importing it failed: dlopen(build/lib.macosx-10.5-ppc-2.7/readline.bundle, 2): Symbol not found: _rl_completion_suppress_append
Summary: dev-lang/python-2.7.5-r2 on Mac OS 10.5/PPC - *** WARNING: renaming "readline...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-19 15:17 UTC by Konstantin Tokarev
Modified: 2018-04-07 13:31 UTC (History)
0 users

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


Attachments
build.log (build.log,265.11 KB, text/plain)
2013-10-19 15:17 UTC, Konstantin Tokarev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2013-10-19 15:17:36 UTC
Created attachment 361336 [details]
build.log

I have dev-lang/python-2.7.3-r2 installed right now. When trying to upgrade other packages I've got emerge failure after the next message:

"Python build finished, but the necessary bits to build these modules were not found:
_bsddb             _tkinter           bsddb185
dbm                dl                 gdbm
linuxaudiodev      nis                ossaudiodev
spwd               sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_elementtree       _hashlib           pyexpat
readline"


Full build log is attached. The next fragments may be relevant to the issue:

powerpc-apple-darwin9-gcc -bundle -undefined dynamic_lookup -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -fno-strict-aliasing -fno-common -dynamic -O3 -pipe -mcpu=G5 -mtune=G5 -mabi=altivec -fwrapv -DNDEBUG -I. -IInclude -I/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Include -I/Users/konstantintokarev/Gentoo/usr/include build/temp.macosx-10.5-ppc-2.7/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Modules/readline.o -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -lreadline -lncursesw -o build/lib.macosx-10.5-ppc-2.7/readline.bundle
*** WARNING: renaming "readline" since importing it failed: dlopen(build/lib.macosx-10.5-ppc-2.7/readline.bundle, 2): Symbol not found: _rl_completion_suppress_append
  Referenced from: /Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/powerpc-apple-darwin9/build/lib.macosx-10.5-ppc-2.7/readline.bundle
  Expected in: dynamic lookup

...

powerpc-apple-darwin9-gcc -bundle -undefined dynamic_lookup -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -fno-strict-aliasing -fno-common -dynamic -O3 -pipe -mcpu=G5 -mtune=G5 -mabi=altivec -fwrapv -DNDEBUG -I. -IInclude -I/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Include -I/Users/konstantintokarev/Gentoo/usr/include build/temp.macosx-10.5-ppc-2.7/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Modules/_hashopenssl.o -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -lssl -lcrypto -o build/lib.macosx-10.5-ppc-2.7/_hashlib.bundle
*** WARNING: renaming "_hashlib" since importing it failed: dlopen(build/lib.macosx-10.5-ppc-2.7/_hashlib.bundle, 2): Symbol not found: _EVP_MD_CTX_md
  Referenced from: /Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/powerpc-apple-darwin9/build/lib.macosx-10.5-ppc-2.7/_hashlib.bundle
  Expected in: dynamic lookup

...

powerpc-apple-darwin9-gcc -bundle -undefined dynamic_lookup -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -Wl,-dead_strip_dylibs -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -fno-strict-aliasing -fno-common -dynamic -O3 -pipe -mcpu=G5 -mtune=G5 -mabi=altivec -fwrapv -DNDEBUG -I. -IInclude -I/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Include -I/Users/konstantintokarev/Gentoo/usr/include build/temp.macosx-10.5-ppc-2.7/Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Modules/pyexpat.o -L/Users/konstantintokarev/Gentoo/lib -L/Users/konstantintokarev/Gentoo/usr/lib -L/usr/lib -L. -lexpat -o build/lib.macosx-10.5-ppc-2.7/pyexpat.bundle
*** WARNING: renaming "pyexpat" since importing it failed: dlopen(build/lib.macosx-10.5-ppc-2.7/pyexpat.bundle, 2): Symbol not found: _XML_SetHashSalt
  Referenced from: /Volumes/Development/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r2/work/powerpc-apple-darwin9/build/lib.macosx-10.5-ppc-2.7/pyexpat.bundle
  Expected in: dynamic lookup
Comment 1 Fabian Groffen gentoo-dev 2013-10-20 20:22:07 UTC
which versions of readline and expat do you have installed?
Comment 2 Konstantin Tokarev 2013-10-21 20:19:04 UTC
sys-libs/readline: 6.2_p1
dev-libs/expat: 2.1.0-r2
Comment 3 Fabian Groffen gentoo-dev 2014-02-11 20:44:06 UTC
This still puzzles me.  I assume gcc is gcc-apple-4.2.1 and ld is?
Comment 4 Konstantin Tokarev 2014-02-16 17:19:51 UTC
$ LC_ALL=C gcc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /Volumes/Development/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/gcc-5666.3/configure --prefix=/Users/konstantintokarev/Gentoo/usr --bindir=/Users/konstantintokarev/Gentoo/usr/powerpc-apple-darwin9/gcc-bin/4.2.1 --includedir=/Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include --datadir=/Users/konstantintokarev/Gentoo/usr/share/gcc-data/powerpc-apple-darwin9/4.2.1 --mandir=/Users/konstantintokarev/Gentoo/usr/share/gcc-data/powerpc-apple-darwin9/4.2.1/man --infodir=/Users/konstantintokarev/Gentoo/usr/share/gcc-data/powerpc-apple-darwin9/4.2.1/info --with-gxx-include-dir=/Users/konstantintokarev/Gentoo/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/g++-v4 --host=powerpc-apple-darwin9 --enable-version-specific-runtime-libs --build=powerpc-apple-darwin9 --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-shared --enable-threads=posix --with-local-prefix=/Users/konstantintokarev/Gentoo/usr --with-as=/Users/konstantintokarev/Gentoo/usr/bin/powerpc-apple-darwin9-as --with-ld=/Users/konstantintokarev/Gentoo/usr/bin/powerpc-apple-darwin9-ld --disable-multilib --enable-languages=c,c++,objc,obj-c++ --enable-libgomp
Thread model: posix
gcc version 4.2.1 (Gentoo 4.2.1_p5666-r1, Apple Inc. build 5666) (dot 3)


$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-127.2 (Gentoo binutils-apple-4.2)
Library search paths:
	/Users/konstantintokarev/Gentoo/usr/powerpc-apple-darwin9/lib/gcc
	/Users/konstantintokarev/Gentoo/usr/powerpc-apple-darwin9/lib
	/Users/konstantintokarev/Gentoo/usr/lib
	/Users/konstantintokarev/Gentoo/lib
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
ld: warning: -arch not specified
ld: no object files specified for inferred architecture ppc
Comment 5 Fabian Groffen gentoo-dev 2018-04-07 13:31:19 UTC
I've been bootstrapping a lot on ppc-macos (10.5) over the last few weeks, but this error didn't show up, so I guess it's fixed by now.