Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36555 closed defect (fixed)

rdiff-backup: checksum mismatch because HTML file

Reported by: rpn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), lperry (Perry Lee)
Port: rdiff-backup

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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).

Change History (6)

comment:2 Changed 12 years ago 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.

comment:3 in reply to:  2 ; Changed 12 years ago by rpn@…

Replying to 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

Version 0, edited 12 years ago by rpn@… (next)

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: python26 removed
Summary: Python26 Errorpython26: Failed to locate 'xz' in path

comment:5 in reply to:  3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to 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 "helpful" DNS server that turns that usually harmless problem into an inconvenient situation. Let me investigate...

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: perry@… added
Port: rdiff-backup added; python26 removed
Resolution: fixed
Status: newclosed
Summary: python26: Failed to locate 'xz' in pathrdiff-backup: checksum mismatch because HTML file

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

comment:7 Changed 12 years ago by rpn@…

Great thanks all working now

Note: See TracTickets for help on using tickets.