[MacPorts] #20546: python25 install fails after "Staging python25 into destroot"
#20546: python25 install fails after "Staging python25 into destroot" ---------------------------------------------+------------------------------ Reporter: keith@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: install python25 fails destroot | Port: python25 ---------------------------------------------+------------------------------ I'm attempting to install python25 so that I can then install lxml needed for extensions in Inkscape. The install of python25 is failing. I'm attaching the full output with debug info. Without debug the error message looks like: bash-3.2$ sudo port install python25 ---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 ---> Staging python25 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports _lang_python25/work/Python-2.5.4" && make frameworkinstall maninstall MAKE="make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macpo rts_sources_rsync.macports.org_release_ports_lang_python25/work/destroot " retur ned error 2 Command output: Compiling /opt/local/var/macports/build/_opt_local_var_macports_ sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/L ibrary/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/__init__.py .. . --------------------------------------- Macbook running 10.5.7 Xcode recently updated to 3.1.3 Macports 1.710 I'm attaching the full output with debug information. -- Ticket URL: <http://trac.macports.org/ticket/20546> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" ---------------------------------------------+------------------------------ Reporter: keith@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: install python25 fails destroot | Port: python25 ---------------------------------------------+------------------------------ Description changed by toby@…: Old description:
I'm attempting to install python25 so that I can then install lxml needed for extensions in Inkscape. The install of python25 is failing. I'm attaching the full output with debug info. Without debug the error message looks like:
bash-3.2$ sudo port install python25
---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 ---> Staging python25 into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports _lang_python25/work/Python-2.5.4" && make frameworkinstall maninstall MAKE="make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macpo rts_sources_rsync.macports.org_release_ports_lang_python25/work/destroot " retur ned error 2 Command output: Compiling /opt/local/var/macports/build/_opt_local_var_macports_ sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/L ibrary/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/__init__.py .. . ---------------------------------------
Macbook running 10.5.7
Xcode recently updated to 3.1.3
Macports 1.710
I'm attaching the full output with debug information.
New description: I'm attempting to install python25 so that I can then install lxml needed for extensions in Inkscape. The install of python25 is failing. I'm attaching the full output with debug info. Without debug the error message looks like: {{{ bash-3.2$ sudo port install python25 ---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 ---> Staging python25 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports _lang_python25/work/Python-2.5.4" && make frameworkinstall maninstall MAKE="make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macpo rts_sources_rsync.macports.org_release_ports_lang_python25/work/destroot " retur ned error 2 Command output: Compiling /opt/local/var/macports/build/_opt_local_var_macports_ sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/L ibrary/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/__init__.py .. . --------------------------------------- }}} Macbook running 10.5.7 Xcode recently updated to 3.1.3 Macports 1.710 I'm attaching the full output with debug information. -- -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Changes (by toby@…): * cc: keith@… (removed) * keywords: install python25 fails destroot => * version: 1.7.1 => -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => mww@… Comment: From the log: {{{ Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xmllib.py ... Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xmlrpclib.py ... Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/zipfile.py ... make: *** [libinstall] Error 1 Warning: the following items did not execute (for python25): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Seems to be running normally, then errors out for no reason I can see there. You wouldn't happen to be running out of disk space would you? Looks vaguely like #16708 but that ticket may have been caused by the Tcl env bug which is fixed in MacPorts 1.7. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): I have 389 GB free, so diskspace shouldn't be a problem. I did look at #16708 before I posted my ticket, but I think my situation is different. In particular, he got a message about installing/setting python_select. This does not appear in my debug output. Thanks, Keith -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by snc@…): Prior to upgrading xcode, did you have any attempts at compiling python25 or any other packages, or any successfully installed? -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): Replying to [comment:5 snc@…]: Yes, I've upgraded all my ports since upgrading xcode and that went smoothly. Just to be sure, I just uninstalled/reinstalled xfig and that went fine as well. I never attempted to install python25 before upgrading xcode. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): I really would like to get python25 to install. Are there any further tests I can try to figure out what is going wrong? Otherwise, I'm pretty stuck. Perhaps I should re-post the ticket? Thanks, Keith -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by macsforever2000@…): According to the debug log, you have fink installed too. Fink can interfere with Macports. I suggest removing fink and trying again. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): Replying to [comment:8 macsforever2000@…]:
According to the debug log, you have fink installed too. Fink can interfere with Macports. I suggest removing fink and trying again.
Ok, I removed fink and gave building python25 another shot. Unfortunately I still have the same problem. I've attached the new debug log, startClean_InstallWithDebugPython25_080909_02.log. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by blb@…): The only thing that stands out is {{{ Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/test_multibytecodec.py ... Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",) }}} It does look like the python issue [http://bugs.python.org/issue1704287 1704287] though the port does run 'make all' prior to install, so not sure if the [http://bugs.python.org/file8455/py_1704287.diff patch] from that issue would fix the error here. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): Replying to [comment:10 blb@…]: I don't have any experience with installing ports manually but I guess I can read about it in the docs? If you think applying the patch might help, I'll give it a shot. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by blb@…): In order to try out that patch, you'd have to do a few things manually: {{{ sudo port clean --work python25 sudo port extract python25 cd `port work python25`/* }}} After that you should end up in the extracted source from the python 2.5 tarball, where you can then apply the [http://bugs.python.org/file8455/py_1704287.diff patch]: {{{ sudo curl -O http://bugs.python.org/file8455/py_1704287.diff sudo patch < py_1704287.diff }}} Now Makefile.pre.in is patched, so you can try installing: {{{ sudo port -d install python25 }}} See what happens. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): Replying to [comment:12 blb@…]: I gave it a shot, but no luck. Shall I post the debug log? Thanks, Keith -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by blb@…): if it had that same message {{{ Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",) }}} then it sounds like the patch doesn't help in this case. If it fails differently, then yes, the debug log would help. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): Replying to [comment:14 blb@…]: Installing with the patch produces exactly the same message. -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by keith@…): I remain stuck. Anybody have any more ideas? Please help. Thanks, Keith -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: python25 -------------------------------------+-------------------------------------- Comment(by devans@…): See #21313 for similar (but different) failure -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" -------------------------------------+-------------------------------------- Reporter: keith@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python25 -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: mww@… => jwa@… * version: => 1.7.1 -- Ticket URL: <http://trac.macports.org/ticket/20546#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20546: python25 install fails after "Staging python25 into destroot" --------------------------------------+------------------------------------- Reporter: keith@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: python25 | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: 2.5.5 builds OK on Leopard for me. -- Ticket URL: <https://trac.macports.org/ticket/20546#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts