[MacPorts] #34547: git-core faiis to install on mac 10.7; python issue
#34547: git-core faiis to install on mac 10.7; python issue ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: git-core python | Port: ------------------------------------+--------------------------------------- following set up git mercurial for mac instructions git-core fails to install failed to locate xz in path installed python 2.7.3 directly reran port for git-core ---> Computing dependencies for git-core ---> Dependencies to be installed: python27 rsync popt ---> Extracting python27 Error: org.macports.extract for port python27 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Error: Failed to install python27 Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log Error: The following dependencies were not installed: python27 rsync popt To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port git-core failed -- Ticket URL: <https://trac.macports.org/ticket/34547> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * port: => python27 * keywords: git-core python => * owner: macports-tickets@… => jwa@… Old description:
following set up git mercurial for mac instructions git-core fails to install failed to locate xz in path installed python 2.7.3 directly reran port for git-core ---> Computing dependencies for git-core ---> Dependencies to be installed: python27 rsync popt ---> Extracting python27 Error: org.macports.extract for port python27 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Error: Failed to install python27 Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log Error: The following dependencies were not installed: python27 rsync popt To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port git-core failed
New description: following set up git mercurial for mac instructions [[br]] git-core fails to install [[br]] failed to locate xz in path [[br]] installed python 2.7.3 directly [[br]] reran port for git-core {{{ ---> Computing dependencies for git-core ---> Dependencies to be installed: python27 rsync popt ---> Extracting python27 Error: org.macports.extract for port python27 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Error: Failed to install python27 Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log Error: The following dependencies were not installed: python27 rsync popt To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port git-core failed }}} -- Comment: Is the xz port in fact installed? It should be, since it's listed as a dependency of python27. Please "sudo port clean python27" and try again, then attach the main.log file if it fails again. Remember to use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by ryandesign@…): fgermano, did my suggestions above help? -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by cmanbrown@…): Replying to [comment:2 ryandesign@…]:
fgermano, did my suggestions above help?
ryandesign, I also hit this problem on my system. I was attempting to install via the commands below. Please see the entire CLI with the output: {{{ $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg ---> Computing dependencies for gmake ---> Cleaning gmake ---> Computing dependencies for libsdl ---> Dependencies to be installed: xorg-libXext xorg-libX11 xorg-libxcb python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXrandr xorg-randrproto xrender xorg-renderproto ---> Fetching archive for python27 ---> Attempting to fetch python27-2.7.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/python27 ---> Fetching distfiles for python27 ---> Verifying checksum(s) for python27 ---> Extracting python27 Error: org.macports.extract for port python27 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Error: Failed to install python27 Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log Error: The following dependencies were not installed: xorg-libXext xorg- libX11 xorg-libxcb python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port libsdl failed }}} I tried your suggestion to "sudo port clean python27"and try again but I still hit the problem. What I did next was to "sudo install xz" and then retried my original install command and it worked. I'm seeing some other errors related to failed dependencies... Could the dependency checker/installer be broken? I've tried to attach the latest log but it appears to be empty. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by cmanbrown@…): Update, I got around the error again by manually installing all of the dependencies. Sounds like the dependencies aren't automatically getting installed for some reason. Is there specific commands/flags that should be passed in order to do this? -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by jwa@…): This may be a bug somewhere in the system:( 'xz' is mentioned as 'Extract Dependency', and according to the documentation this information is not stored in registry, and above python27 will be installed from pre-built archive, so there may be a slight gap somewhere, so that this dependency is required, though it apparently shouldn't be (the source archive for python27 is in xz-format, so it needs this) Good to know that installing xz manually is a workaround, it shouldn't be needed, though… -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by ironfrost@…): I got the same problem - MacPorts couldn't install glib2 (which was being automatically installed as a dependency for ImageMagick), because it couldn't locate xz. Port install xz fixed the problem. Posting here because the dependency problem seems to be wider than just Python 2.7. -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path ------------------------------------+--------------------------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: python27 ------------------------------------+--------------------------------------- Comment(by jmr@…): Replying to [comment:5 jwa@…]:
This may be a bug somewhere in the system:( 'xz' is mentioned as 'Extract Dependency', and according to the documentation this information is not stored in registry, and above python27 will be installed from pre- built archive, so there may be a slight gap somewhere, so that this dependency is required, though it apparently shouldn't be (the source archive for python27 is in xz-format, so it needs this) Extract dependencies don't need to be stored in the registry. Also, the extract phase is not run when installing from an archive, plus archives are all tbz2 on our server anyway.
As nobody has yet attached debug output / main.log, there is no possibility of figuring out the cause of the problem. -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path -------------------------+------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Comment (by boris.w.lau@…): Attached main.log and messages {{{ $ port install -d python27 | tee port-debug.log ---> Computing dependencies for python27 ---> Extracting python27 Error: org.macports.extract for port python27 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port python27 failed sh-3.2# vim /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log }}} New to macports but xz does not seems to be part of the dependency. {{{ port deps python27 Full Name: python27 @2.7.3_0 Extract Dependencies: xz Library Dependencies: gettext, zlib, openssl, sqlite3, db46, ncurses, bzip2, libedit Runtime Dependencies: python_select }}} Workaround: Installing xz before python27 works. -boris -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34547: python27: Failed to locate 'xz' in path -------------------------+------------------- Reporter: fgermano@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Comment (by jmr@…): The attached log is not complete, so it still doesn't show the dependencies being checked. To generate a complete log you have to start from a clean state. -- Ticket URL: <https://trac.macports.org/ticket/34547#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts