Opened 15 years ago
Closed 14 years ago
#20546 closed defect (worksforme)
python25 install fails after "Staging python25 into destroot"
Reported by: | keith@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | python25 |
Description (last modified by tobypeterson)
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.
Attachments (2)
Change History (21)
Changed 15 years ago by keith@…
Attachment: | startClean_InstallWithDebugPython25_080309_03.log added |
---|
comment:1 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by tobypeterson
Cc: | keith@… removed |
---|---|
Keywords: | install python25 fails destroot removed |
Version: | 1.7.1 |
comment:3 Changed 15 years ago by blb@…
Owner: | changed from macports-tickets@… to mww@… |
---|
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.
comment:4 Changed 15 years ago 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
comment:5 follow-up: 6 Changed 15 years ago by nerdling (Jeremy Lavergne)
Prior to upgrading xcode, did you have any attempts at compiling python25 or any other packages, or any successfully installed?
comment:6 follow-up: 7 Changed 15 years ago by keith@…
Replying to 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.
comment:7 Changed 15 years ago 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
comment:8 follow-up: 9 Changed 15 years ago by mf2k (Frank Schima)
According to the debug log, you have fink installed too. Fink can interfere with Macports. I suggest removing fink and trying again.
Changed 15 years ago by keith@…
Attachment: | startClean_InstallWithDebugPython25_080909_02.log added |
---|
script output for attempted build of python25 with fink removed
comment:9 Changed 15 years ago by keith@…
Replying to 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.
comment:10 follow-up: 11 Changed 15 years ago 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 1704287 though the port does run 'make all' prior to install, so not sure if the patch from that issue would fix the error here.
comment:11 Changed 15 years ago by keith@…
Replying to 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.
comment:12 follow-up: 13 Changed 15 years ago 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 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.
comment:13 Changed 15 years ago by keith@…
comment:14 follow-up: 15 Changed 15 years ago 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.
comment:15 Changed 15 years ago by keith@…
Replying to blb@…: Installing with the patch produces exactly the same message.
comment:16 Changed 15 years ago by keith@…
I remain stuck. Anybody have any more ideas? Please help.
Thanks, Keith
comment:17 Changed 15 years ago by dbevans (David B. Evans)
See #21313 for similar (but different) failure
comment:18 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from mww@… to jwa@… |
---|---|
Version: | → 1.7.1 |
comment:19 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
2.5.5 builds OK on Leopard for me.
script output for attempted build of python25