Gentoo Archives: gentoo-alt

From: "Gibson
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: [gentoo-alt] [prefix] Bootstrap python-3.3.3 error on OSX
Date: Sun, 12 Jan 2014 19:32:52
Message-Id: B65E606F-CA7D-4CD2-8AE9-B0DE89505F6B@mitre.org
1 Hi Prefixers,
2
3 While bootstrapping on OS X recently python 3.3.3 failed to emerge and stopped the whole process. I was able to work around the issue by masking python-3.3 in $EPREFIX/etc/portage/package.mask and by exporting PYTHON_TARGETS="python2_7 python3_2".
4 Once the prefix was bootstrapped I was able to emerge python-3.3.3 normally.
5
6 The incriminating portion of the build log is below. Should I file this as a bug even though it only happens during bootstrap?
7
8 John
9
10 cd PythonLauncher && make install DESTDIR=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/image/
11 make[1]: Entering directory '/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11/Mac/PythonLauncher'
12 sed 's/%VERSION%/'"`DYLD_FRAMEWORK_PATH=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11: ../../python -c 'import platform; print(platform.python_version())'`"'/g' < /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/Info.plist.in > Info.plist
13 dyld: Library not loaded: /Library/Gentoo2/usr/lib/libpython3.3.dylib
14 Referenced from: /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11/Mac/PythonLauncher/../../python
15 Reason: image not found
16 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o FileSettings.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/FileSettings.m
17 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o MyAppDelegate.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/MyAppDelegate.m
18 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o MyDocument.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/MyDocument.m
19 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o PreferencesWindowController.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/PreferencesWindowController.m
20 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o doscript.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/doscript.m
21 gcc -m64 -march=nocona -fwrapv -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -o main.o -c /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/main.m
22 gcc -m64 -Wl,-search_paths_first -L/Library/Gentoo2/usr/lib -L/Library/Gentoo2/lib -L/Library/Gentoo2/tmp/usr/lib -L. -L/Library/Gentoo2/lib -L/Library/Gentoo2/usr/lib -o "Python Launcher" FileSettings.o MyAppDelegate.o MyDocument.o PreferencesWindowController.o doscript.o main.o -framework AppKit -framework Carbon
23 rm -fr "Python Launcher.app"
24 DYLD_FRAMEWORK_PATH=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11: ../../python /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/../Tools/bundlebuilder.py \
25 --builddir=. \
26 --name="Python Launcher" \
27 --executable="Python Launcher" \
28 --iconfile=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/../Icons/PythonLauncher.icns \
29 --bundle-id=org.python.PythonLauncher \
30 --resource=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/../Icons/PythonSource.icns \
31 --resource=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/../Icons/PythonCompiled.icns \
32 --resource=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/English.lproj \
33 --resource=/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Mac/PythonLauncher/factorySettings.plist \
34 --plist Info.plist \
35 build
36 dyld: Library not loaded: /Library/Gentoo2/usr/lib/libpython3.3.dylib
37 Referenced from: /Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11/Mac/PythonLauncher/../../python
38 Reason: image not found
39 Makefile:43: recipe for target 'Python Launcher.app' failed
40 make[1]: *** [Python Launcher.app] Trace/BPT trap: 5
41 make[1]: Leaving directory '/Library/Gentoo2/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin11/Mac/PythonLauncher'
42 Makefile:110: recipe for target 'install_PythonLauncher' failed

Replies

Subject Author
Re: [gentoo-alt] [prefix] Bootstrap python-3.3.3 error on OSX Fabian Groffen <grobian@g.o>