[MacPorts] #28349: Failure to install python27
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: python27 | Port: python27 ---------------------------------+------------------------------------------ I'm trying to install ImageMagick and when compiling python27, I'm getting the following ln -fs "../Python" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot" Creating directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1: ../python.exe ./scripts/cachersrc.py -v /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /plat-mac /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools make[1]: *** [installmacsubtree] Segmentation fault make: *** [frameworkinstallmaclib] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" Warning: the following items did not execute (for python27): org.macports.activate org.macports.destroot org.macports.install Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/28349> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: python27 | Port: python27 ---------------------------------+------------------------------------------ Comment(by mintshows@…): The command that the build is failing on is: {{{ :info:destroot shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot " returned error 2 }}} So, I tried running that command manually and got the following: {{{ ml965984-mac:~ jmshows$ sudo cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot Password: make: *** No rule to make target `frameworkinstall'. Stop. ml965984-mac:~ jmshows$ }}} -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => jwa@… * keywords: python27 => Old description:
I'm trying to install ImageMagick and when compiling python27, I'm getting the following
ln -fs "../Python" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot" Creating directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1: ../python.exe ./scripts/cachersrc.py -v /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /plat-mac /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools make[1]: *** [installmacsubtree] Segmentation fault make: *** [frameworkinstallmaclib] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" Warning: the following items did not execute (for python27): org.macports.activate org.macports.destroot org.macports.install Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
New description: I'm trying to install ImageMagick and when compiling python27, I'm getting the following {{{ ln -fs "../Python" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot" Creating directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1: ../python.exe ./scripts/cachersrc.py -v /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /plat-mac /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools make[1]: *** [installmacsubtree] Segmentation fault make: *** [frameworkinstallmaclib] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" Warning: the following items did not execute (for python27): org.macports.activate org.macports.destroot org.macports.install Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by jmr@…): Could you attach the crash log please? -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by mintshows@…): I've got the main.log attached. Where's the crash log? -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by mintshows@…): I have no idea what was going on here, but I finally just restarted my computer and tried again. This time it worked. This ticket can be closed. Sorry for taking your time, but thanks! -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by therealdave.myron@…): Nearly the same thing happening for me. But instead of getting a segfault I'm getting this very strange message: {{{ DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1: arch -ppc -i386 ../python.exe ./scripts/cachersrc.py -v /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /plat-mac /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools You need the Rosetta software to run python.exe. The Rosetta installer is in Optional Installs on your Mac OS X installation disc. make[1]: *** [installmacsubtree] Error 2 make: *** [frameworkinstallmaclib] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1" && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "$procedure $targetname" Warning: the following items did not execute (for python27): org.macports.activate org.macports.destroot org.macports.install Error: Failed to install python27 Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log Error: The following dependencies were not installed: python27 rsync popt Error: Status 1 encountered during processing. }}} Rosetta? python.exe? WTF is going on? I'm attempting to install the universal variant. Macports.conf has i386 and x86_64 for the universal archs... don't know where the ppc is coming from. -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by therealdave.myron@…): I get the same error as mintshows if I try to manually run the failing line -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: Failure to install python27 ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by therealdave.myron@…): Strangely, I installed python27 using "-universal" then tried installing git-core (with +universal) – that recompiled python27 (with +universal) appears to have worked... Very weird. -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: python27: destroot failure in installmacsubtree ---------------------------------+------------------------------------------ Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: python27 ---------------------------------+------------------------------------------ -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28349: python27: destroot failure in installmacsubtree ----------------------------------+----------------------------------------- Reporter: mintshows@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: python27 | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: Closing as per comment:5. Later comments are something different and so don't belong in this ticket. -- Ticket URL: <https://trac.macports.org/ticket/28349#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts