Summary: | python-3.5.1 fails to install due to errors compiling PythonLauncher | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | * <rfc469> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | Jeffrey.Ratcliffe |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
URL: | https://forums.developer.apple.com/thread/9233 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.bz2 |
Description
*
2016-01-23 21:38:39 UTC
Created attachment 423730 [details]
build.log.bz2
currently bootstrapping on 10.11 to try and debug real error: python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h dyld: Library not loaded: /Volumes/Scratch/Gentoo/bootstrap64-20160124/usr/lib/l ibpython3.5.dylib Referenced from: /Volumes/Scratch/Gentoo/bootstrap64-20160124/tmp/var/tmp/port age/dev-lang/python-3.5.1/work/x86_64-apple-darwin15/python Reason: image not found ./regen: line 3: 90589 Trace/BPT trap: 5 python$EXE ../../Tools/scripts/h2 py.py -i '(u_long)' /usr/include/netinet/in.h Makefile:620: recipe for target 'platformspecificmods' failed make: *** [platformspecificmods] Error 1 this sulks this is fixed and tested on both 10.10 and 10.11, tomorrow will release new snapshot. It's fixed! Thanks! It got through stage3 and almost through the emerge -e system. This fix breaks non-darwin, as it drops the $(RUNSHARED) from the ./regen call. Does it hurt darwin to keep it there? Yes please try. It shouldn't matter for as long as RUNSHARED is passed on. I don't understand yet why this breaks on AIX, as it should just move the library path change to the final invocation (since security on OSX doesn't allow that to be passed onto shell scripts). *** Bug 573640 has been marked as a duplicate of this bug. *** It broke Linux actually. It probably wouldn't break if RUNSHARED were moved into Lib/plat-*/regen, not just Lib/plat-darwin/regen. ah, right, yes ofcourse! Note: on a boostrap on CentOS 7, I also needed to add append-ldflags -lcrypt -lnss_nis to make python 3.5.1, 3.4.3, and 2.7.11 compile. I reverted the change more or less, only changing regen on Darwin and adding an extra export. Please confirm this works for you. Thanks, the workaround "append-ldflags -lcrypt -lnss_nis" is for the bug https://bugs.gentoo.org/show_bug.cgi?id=572600 ! Is this bug still relevant? Python 3.5 is not in the main tree anymore. |