[MacPorts] #36555: Python26 Error
#36555: Python26 Error ----------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: python26 | Port: python26 ----------------------+-------------------------------- Hi I'm trying to port rdiff-backup. one of the dependencies is python26 and it's failing with the following error. the log is also not very helpful. sudo port install rdiff-backup ---> Computing dependencies for rdiff-backup ---> Dependencies to be installed: py26-xattr python26 ---> Extracting python26 Error: org.macports.extract for port python26 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 python26 Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log Error: The following dependencies were not installed: py26-xattr python26 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdiff-backup failed contents of log: cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log version:1 :debug:main Executing org.macports.main (python26) :debug:main Skipping completed org.macports.archivefetch (python26) :debug:main Skipping completed org.macports.fetch (python26) :debug:main Skipping completed org.macports.checksum (python26) :debug:extract extract phase started at Wed Oct 10 18:37:17 BST 2012 :notice:extract ---> Extracting python26 :error:extract org.macports.extract for port python26 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? :debug:extract Error code: NONE :debug:extract Backtrace: 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? invoked from within "findBinary xz ${portutil::autoconf::xz_path}" (procedure "portextract::extract_start" line 21) invoked from within "[ditem_key $ditem prerun] $targetname" :info:extract Warning: targets not executed for python26: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :error:extract Failed to install python26 :debug:extract 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? :notice:extract Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log (I have successfully installed a number of other packages, this is the only dependency that seems to fail). -- Ticket URL: <https://trac.macports.org/ticket/36555> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: Python26 Error -----------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: python26 Port: python26 | -----------------------+-------------------------------- Comment (by ggpolo@…): The log looks useful to me. Do you have xz installed (port installed xz) ? But it seems that the port could install it for you, before failing. -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: Python26 Error -----------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: python26 Port: python26 | -----------------------+-------------------------------- Comment (by rpn@…): Replying to [comment:2 ggpolo@…]:
The log looks useful to me. Do you have xz installed (port installed xz) ? But it seems that the port could install it for you, before failing.
Thanks for the quick turnaround. My apologies - I had read that 'xz' as some sort of error, not a missing port name. I'd've thought that if that was a dependency, macports should have installed it first anyway? I installed port 'xz' and it was then able to install port 'python26' However, the port I actually wanted to install was rdiff-backup; the above were just dependencies that seemed to be timing out so I thought it made sense to install them separately. I now get a more serious error on the actual install of rdiff-backup: sudo port install rdiff-backup ---> Computing dependencies for rdiff-backup ---> Verifying checksum(s) for rdiff-backup Error: Checksum (rmd160) mismatch for rdiff-backup-1.2.8.tar.gz *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** Error: org.macports.checksum for port rdiff-backup returned: Unable to verify file checksums Please see the log file for port rdiff-backup for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_rdiff-backup/rdiff-backup/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdiff-backup failed log extract below: :notice:fetch ---> Fetching distfiles for rdiff-backup :debug:fetch Executing org.macports.fetch (rdiff-backup) :info:fetch ---> rdiff-backup-1.2.8.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/python :notice:fetch ---> Attempting to fetch rdiff-backup-1.2.8.tar.gz from http://mirror.its.uidaho.edu/pub/savannah/rdiff-backup :debug:checksum checksum phase started at Thu Oct 11 09:32:24 BST 2012 :notice:checksum ---> Verifying checksum(s) for rdiff-backup :debug:checksum Executing org.macports.checksum (rdiff-backup) :info:checksum ---> Checksumming rdiff-backup-1.2.8.tar.gz :error:checksum Checksum (rmd160) mismatch for rdiff-backup-1.2.8.tar.gz :info:checksum Portfile checksum: rdiff-backup-1.2.8.tar.gz rmd160 f7fb7a894afe17b495611a3738c85263ae72b2b5 :info:checksum Distfile checksum: rdiff-backup-1.2.8.tar.gz rmd160 9193d6257d5ed98bcefd77ce1daa3f2c59da3603 :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 9193d6257d5ed98bcefd77ce1daa3f2c59da3603 :notice:checksum *** :notice:checksum The non-matching file appears to be HTML. See this page for possible reasons :notice:checksum for the checksum mismatch: :notice:checksum <https://trac.macports.org/wiki/MisbehavingServers> :notice:checksum *** :error:checksum org.macports.checksum for port rdiff-backup returned: Unable to verify file checksums :debug:checksum Error code: NONE :debug:checksum Backtrace: Unable to verify file checksums while executing "$procedure $targetname" :info:checksum Warning: targets not executed for rdiff-backup: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:checksum Please see the log file for port rdiff-backup for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_rdiff-backup/rdiff-backup/main.log -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: python26: Failed to locate 'xz' in path -----------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python26 | -----------------------+-------------------------------- Changes (by ryandesign@…): * keywords: python26 => Old description:
Hi
I'm trying to port rdiff-backup. one of the dependencies is python26 and it's failing with the following error. the log is also not very helpful.
sudo port install rdiff-backup ---> Computing dependencies for rdiff-backup ---> Dependencies to be installed: py26-xattr python26 ---> Extracting python26 Error: org.macports.extract for port python26 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 python26 Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log Error: The following dependencies were not installed: py26-xattr python26 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdiff-backup failed
contents of log:
cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log version:1 :debug:main Executing org.macports.main (python26) :debug:main Skipping completed org.macports.archivefetch (python26) :debug:main Skipping completed org.macports.fetch (python26) :debug:main Skipping completed org.macports.checksum (python26) :debug:extract extract phase started at Wed Oct 10 18:37:17 BST 2012 :notice:extract ---> Extracting python26 :error:extract org.macports.extract for port python26 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? :debug:extract Error code: NONE :debug:extract Backtrace: 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? invoked from within "findBinary xz ${portutil::autoconf::xz_path}" (procedure "portextract::extract_start" line 21) invoked from within "[ditem_key $ditem prerun] $targetname" :info:extract Warning: targets not executed for python26: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :error:extract Failed to install python26 :debug:extract 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? :notice:extract Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
(I have successfully installed a number of other packages, this is the only dependency that seems to fail).
New description: Hi I'm trying to port rdiff-backup. one of the dependencies is python26 and it's failing with the following error. the log is also not very helpful. {{{ sudo port install rdiff-backup ---> Computing dependencies for rdiff-backup ---> Dependencies to be installed: py26-xattr python26 ---> Extracting python26 Error: org.macports.extract for port python26 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 python26 Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log Error: The following dependencies were not installed: py26-xattr python26 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdiff-backup failed }}} contents of log: {{{ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log version:1 :debug:main Executing org.macports.main (python26) :debug:main Skipping completed org.macports.archivefetch (python26) :debug:main Skipping completed org.macports.fetch (python26) :debug:main Skipping completed org.macports.checksum (python26) :debug:extract extract phase started at Wed Oct 10 18:37:17 BST 2012 :notice:extract ---> Extracting python26 :error:extract org.macports.extract for port python26 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? :debug:extract Error code: NONE :debug:extract Backtrace: 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? invoked from within "findBinary xz ${portutil::autoconf::xz_path}" (procedure "portextract::extract_start" line 21) invoked from within "[ditem_key $ditem prerun] $targetname" :info:extract Warning: targets not executed for python26: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :error:extract Failed to install python26 :debug:extract 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? :notice:extract Please see the log file for port python26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log }}} (I have successfully installed a number of other packages, this is the only dependency that seems to fail). -- -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: python26: Failed to locate 'xz' in path -----------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python26 | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:3 rpn@…]:
I'd've thought that if that was a dependency, macports should have installed it first anyway?
It is declared as a dependency, and MacPorts should have installed it. Can't explain why it did not.
I now get a more serious error on the actual install of rdiff-backup:
Ok, that's a totally different problem and should've been a new ticket.
{{{ :notice:fetch ---> Attempting to fetch rdiff-backup-1.2.8.tar.gz from http://mirror.its.uidaho.edu/pub/savannah/rdiff-backup }}}
Indeed that server is offline, and you have a [wiki:MisbehavingServers "helpful" DNS server] that turns that usually harmless problem into an inconvenient situation. Let me investigate... -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: rdiff-backup: checksum mismatch because HTML file ---------------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: rdiff-backup | ---------------------------+-------------------------------- Changes (by ryandesign@…): * cc: perry@… (added) * status: new => closed * resolution: => fixed * port: python26 => rdiff-backup Comment: I removed the uidaho.edu and piotrkosoft.net mirrors from the savannah fetch group in r98636. Wait 30 minutes, then run: {{{ sudo port clean --all rdiff-backup sudo port selfupdate sudo port install rdiff-backup }}} -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36555: rdiff-backup: checksum mismatch because HTML file ---------------------------+-------------------------------- Reporter: rpn@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: rdiff-backup | ---------------------------+-------------------------------- Comment (by rpn@…): Great thanks all working now -- Ticket URL: <https://trac.macports.org/ticket/36555#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts