Created attachment 378734 [details] var/tmp/portage/dev-lang/python-2.7.5-r4/temp/build.log running ./bootstrap-prefix.sh fails because python install fails. Attaching the build.log. Last rows from the log: Python build finished, but the necessary bits to build these modules were not found: _bsddb _sqlite3 _ssl _tkinter bsddb185 dbm dl gdbm imageop 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: readline running build_scripts creating build/scripts-2.7 copying and adjusting /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Tools/scripts/pydoc -> build/scripts-2.7 copying and adjusting /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Tools/scripts/idle -> build/scripts-2.7 copying and adjusting /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Tools/scripts/2to3 -> build/scripts-2.7 copying and adjusting /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Lib/smtpd.py -> build/scripts-2.7 changing mode of build/scripts-2.7/pydoc from 644 to 755 changing mode of build/scripts-2.7/idle from 644 to 755 changing mode of build/scripts-2.7/2to3 from 644 to 755 changing mode of build/scripts-2.7/smtpd.py from 644 to 755 Makefile:472: recipe for target 'sharedmods' failed make: *** [sharedmods] Error 1 * ERROR: dev-lang/python-2.7.5-r4::gentoo_prefix failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/python-2.7.5-r4::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.5-r4::gentoo_prefix'`. * The complete build log is located at '/Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/temp/build.log'. * The ebuild environment file is located at '/Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/temp/environment'. * Working directory: '/Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/x86_64-apple-darwin13' * S: '/Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5'
Odd, it fails on readline: /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c: In function 'setup_readline': /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:901: error: 'Function' undeclared (first use in this function) /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:901: error: (Each undeclared identifier is reported only once /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:901: error: for each function it appears in.) /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:901: error: expected expression before ')' token /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:903: error: expected expression before ')' token /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:906: error: 'CPPFunction' undeclared (first use in this function) /Users/hkroger/Gentoo/var/tmp/portage/dev-lang/python-2.7.5-r4/work/Python-2.7.5/Modules/readline.c:906: error: expected expression before ')' token What compiler is being used at this stage?
How can I check this?
I cannot reproduce this on 10.9.3
(In reply to Fabian Groffen from comment #3) > I cannot reproduce this on 10.9.3 I tried this on another Mac with 10.9.3 and I got similar error. I have Macports installed and could be that those tools are then being used to bootstrap prefix. Could that be the problem?
Created attachment 378964 [details] Output on another mac
I could reproduce this today.