Opened 7 years ago

Closed 7 years ago

#53782 closed defect (fixed)

py27-thrift 0.10.0 cannot be fetched

Reported by: kpreid (Kevin Reid) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: py-thrift

Description

No site offers the download MacPorts is looking for:

:debug:fetch Executing org.macports.fetch (py27-thrift)
:info:fetch --->  thrift-0.10.0.tar.gz does not exist in /opt/local/var/macports/distfiles/thrift
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from https://distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.facebook.net/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.cc.columbia.edu/pub/software/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.mirror.rafal.ca/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirrors.ibiblio.org/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://kmq.jp.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.mirrorservice.org/sites/ftp.apache.org/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://lil.fr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://cjj.kr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://nue.de.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://archive.apache.org/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://osl.no.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.apache.org/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.aarnet.edu.au/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.pesat.net.id/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.multidist.com/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.internode.on.net/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.is.co.za/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.gtlib.gatech.edu/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Operation too slow. Less than 1024 bytes/sec transferred the last 60 seconds
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Failed to connect to ftp.infoscience.co.jp port 21: Network is unreachable
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://her.gr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:error:fetch Failed to fetch py27-thrift: The requested URL returned error: 404 Not Found
:debug:fetch Error code: NONE
:debug:fetch Backtrace: The requested URL returned error: 404 Not Found
:debug:fetch     while executing
:debug:fetch "error $lastError"
:debug:fetch     (procedure "portfetch::fetchfiles" line 62)
:debug:fetch     invoked from within
:debug:fetch "portfetch::fetchfiles"
:debug:fetch     (procedure "portfetch::fetch_main" line 17)
:debug:fetch     invoked from within
:debug:fetch "$procedure $targetname"
:error:fetch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-thrift/py27-thrift/main.log for details.
version:1
:msg:main --->  Computing dependencies for py27-thrift:info:main .:debug:main py27-thrift has no conflicts
:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:debug:main Searching for dependency: thrift
:debug:main Found Dependency: receipt exists for thrift
:debug:main Executing org.macports.main (py27-thrift)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Skipping completed org.macports.archivefetch (py27-thrift)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sun Mar 12 12:36:28 PDT 2017
:notice:fetch --->  Fetching distfiles for py27-thrift
:debug:fetch Executing org.macports.fetch (py27-thrift)
:info:fetch --->  thrift-0.10.0.tar.gz does not exist in /opt/local/var/macports/distfiles/thrift
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from https://distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.facebook.net/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.cc.columbia.edu/pub/software/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.mirror.rafal.ca/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirrors.ibiblio.org/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://kmq.jp.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.mirrorservice.org/sites/ftp.apache.org/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://lil.fr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://cjj.kr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://nue.de.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://archive.apache.org/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://osl.no.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.apache.org/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.aarnet.edu.au/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.pesat.net.id/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.multidist.com/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://mirror.internode.on.net/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.is.co.za/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://www.gtlib.gatech.edu/pub/apache/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Operation too slow. Less than 1024 bytes/sec transferred the last 60 seconds
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/py-thrift/0.10.0
:debug:fetch Fetching distfile failed: Failed to connect to ftp.infoscience.co.jp port 21: Network is unreachable
:notice:fetch --->  Attempting to fetch thrift-0.10.0.tar.gz from http://her.gr.distfiles.macports.org/thrift
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:error:fetch Failed to fetch py27-thrift: The requested URL returned error: 404 Not Found

Attachments (1)

py-thrift_fetch_fix.diff (517 bytes) - added by michaelld (Michael Dickens) 7 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:2 Changed 7 years ago by michaelld (Michael Dickens)

Simple fix, luckily. I'm attached a patch that does the trick in (I think) a semi-robust manner.

Changed 7 years ago by michaelld (Michael Dickens)

Attachment: py-thrift_fetch_fix.diff added

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to blair
Port: py-thrift added; py27-thrift removed
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers py27-thrift), if any.

comment:4 Changed 7 years ago by kpreid (Kevin Reid)

Sorry about forgetting to CC.

I applied the patch (sudo port clean py27-thrift; port cat py27-thrift > Portfile; patch Portfile; sudo port install) and got what looks like exactly the same error.

comment:5 Changed 7 years ago by michaelld (Michael Dickens)

The patch works for me.

% sudo port clean --all thrift py27-thrift
--->  Cleaning thrift
--->  Cleaning py27-thrift

% sudo port -v fetch py27-thrift
--->  Fetching distfiles for py27-thrift
--->  thrift-0.10.0.tar.gz does not exist in /opt/sources/MacPorts/distfiles/thrift
--->  Attempting to fetch thrift-0.10.0.tar.gz from https://distfiles.macports.org/thrift
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch thrift-0.10.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/thrift
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch thrift-0.10.0.tar.gz from http://apache.mirror.rafal.ca/thrift/0.10.0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3262k  100 3262k    0     0  3416k      0 --:--:-- --:--:-- --:--:-- 3416k

Without the patch, I get the laundry list of failed downloads as you did.

'build' (etc) work too, once the repo is fetched.

Are you sure you're applying the patch correctly? All the patch does is fix the "apache:" download site to be in directory "${dist_subdir}" instead of "${name}", which should fix the fetch location to be correct.

comment:6 Changed 7 years ago by kpreid (Kevin Reid)

Working now. The problem was that with the way the Portfile defines subports, I can't just put the patched copy in some directory and do sudo port install, since that tries to install py-thrift which then looks up its dependency py27-thrift the regular ports tree instead of the current directory. Sorry for the noise. Carry on.

comment:7 Changed 7 years ago by michaelld (Michael Dickens)

In 84d2bf2e/macports-ports:

py-thrift: fix master_sites.

Maintainer timeout & simple change. Addresses ticket #53782 .

comment:8 Changed 7 years ago by michaelld (Michael Dickens)

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