[MacPorts] #32018: apache2 bad fetch URL
#32018: apache2 bad fetch URL ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: apache2 ------------------------------------+--------------------------------------- 'http://apache.mirror.rafal.cahttpd' is an invalid URL. Perhaps this is supposed to be 'http://apache.mirror.rafal.ca/httpd'? It seems to work better. {{{ bash-3.2# port clean --dist apache2 ---> Cleaning apache2 bash-3.2# port upgrade apache2 ---> Computing dependencies for apache2 ---> Fetching archive for apache2 ---> Attempting to fetch apache2-2.2.21_2+preforkmpm.darwin_9.i386.tbz2 from http://packages.macports.org/apache2 ---> Fetching apache2 ---> Attempting to fetch httpd-2.2.21.tar.bz2 from http://apache.mirror.rafal.cahttpd ---> Verifying checksum(s) for apache2 Error: Checksum (rmd160) mismatch for httpd-2.2.21.tar.bz2 Error: Checksum (sha256) mismatch for httpd-2.2.21.tar.bz2 *** 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: Target org.macports.checksum returned: Unable to verify file checksums Log for apache2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/apache2/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Ticket URL: <https://trac.macports.org/ticket/32018> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- Changes (by blb@…): * component: ports => base * port: apache2 => Comment: Looks like the code to handle the mirror groups doesn't understand the :port nomenclature. I've removed that entry for now in r87119. -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- Changes (by blb@…): * milestone: => MacPorts Future -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Sorry, I broke that in r87040. I was trying to avoid redirects but didn't realize that MacPorts base wouldn't like port numbers in the URL. In r87120 I put it back the way it originally was. -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by macosx12345@…): I attached a patch to `/opt/local/share/macports/Tcl/port1.0/fetch_common.tcl` (patch to Macports 2.1.0). I don't know if this solves this issue (likely yes), but it solves the issue I raised on the mailing list on May, 15th 2012 about urls with port numbers in archive_sites.conf . The problem was that the function `portfetch::mirror_sites` assumed that urls would contain one single colon (e.g. `http://mysite/`). With the patch, a URL may now contain any number of colons. Thanks for your kind consideration! -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs ------------------------------------+--------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by macosx12345@…): My first patch was breaking the case where there is a `mirror_tag` and a single colon in the URL. This second version improves the situation. -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs -------------------------------------+-------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.0.3 Resolution: fixed | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r93258 -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32018: mirror_sites.tcl fails to handle :port in URLs -------------------------------------+-------------------------------------- Reporter: bettybronner@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.1.1 Component: base | Version: 2.0.3 Resolution: fixed | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 2.1.1 -- Ticket URL: <https://trac.macports.org/ticket/32018#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts