Opened 9 years ago

Closed 8 years ago

#49265 closed defect (fixed)

Unable to install ports

Reported by: mrsolo99@… Owned by: admin@…
Priority: High Milestone:
Component: server/hosting Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), rohall@…
Port:

Description

I updated to version 2.3.4 using downloaded package. After doing so, trying to install any ports fails at the first dependency (Zlib) Installing Zlib itself looks like this:

port install zlib
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/zlib
--->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/zlib
--->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib
--->  Fetching distfiles for zlib
Error: org.macports.fetch for port zlib returned: fetch failed
Please see the log file for port zlib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/zlib/main.log

In the log file I see the following:

version:1
:debug:main zlib has no conflicts
:debug:main Executing org.macports.main (zlib)
:debug:archivefetch archivefetch phase started at Tue Oct 13 15:14:10 EDT 2015
:msg:archivefetch --->  Fetching archive for zlib
:debug:archivefetch Executing org.macports.archivefetch (zlib)
:info:archivefetch --->  zlib-2.13_1.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/zlib
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/zlib
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch zlib-2.13_1.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found

Looking at one of the download urls, I see only Zlib 1.2.8, not 2.13.1 as required.

Change History (8)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Component: portsserver/hosting
Owner: changed from macports-tickets@… to admin@…

The rsync server's disk is apparently corrupted. Among other problems (#49233, #49224), apparently the zlib portfile has been replaced with the autoconf213 portfile. Either wait for the administrator to fix the rsync server, or reconfigure MacPorts to use the svn server instead.

comment:2 Changed 9 years ago by keith_dart@…

The disk is fixed, but that particular file is missing. There are only zlib-1.2.8 files there now. How can it be generated?

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

1.2.8 is the correct version of zlib. The problem was that when looking for the zlib portfile, due to the corrupted server disk, MacPorts was instead being given the autoconf213 port's portfile; that port's version is 2.13.1. I'll verify later tonight (when I'm back at my computer) whether the portfiles are all now in the right places.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 9 years ago by rohall@…

Cc: rohall@… added

Cc Me!

comment:5 Changed 9 years ago by keith_dart@…

This may be fixed now as a result of also fixing the corrupted file system. Please try it again.

comment:6 Changed 9 years ago by jmroot (Joshua Root)

If it isn't, you can just delete the svn checkout and the mprsyncup script will make a new one.

comment:7 Changed 9 years ago by jmroot (Joshua Root)

Initial testing looks good, signatures match and zlib is zlib again.

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.