Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#19313 closed defect (fixed)

py26-rdflib: fails to fetch external tool

Reported by: Damien@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: python, rdf, setuptools, cheeseshop, 404 Cc:
Port: py26-rdflib

Description

During the installation, the port tries to fetch some external components and fails because of a 404 error.

$ port -d install py26-rdflib
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-rdflib
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-rdflib
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python26-1.0.tcl
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port py26-rdflib.
DEBUG: Requested variant ipv6 is not provided by port py26-rdflib.
DEBUG: Requested variant i386 is not provided by port py26-rdflib.
DEBUG: Requested variant x11 is not provided by port py26-rdflib.
DEBUG: Requested variant no_x11 is not provided by port py26-rdflib.
DEBUG: Requested variant macosx is not provided by port py26-rdflib.
DEBUG: Requested variant quartz is not provided by port py26-rdflib.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant ipv6 is not provided by port python26.
DEBUG: Requested variant i386 is not provided by port python26.
DEBUG: Requested variant x11 is not provided by port python26.
DEBUG: Requested variant no_x11 is not provided by port python26.
DEBUG: Requested variant macosx is not provided by port python26.
DEBUG: Requested variant quartz is not provided by port python26.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: python26
DEBUG: Found Dependency: receipt exists for python26
DEBUG: Executing org.macports.main (py26-rdflib)
DEBUG: No TGZ archive: /opt/local/var/macports/packages/darwin/i386/py26-rdflib-2.4.0_0.i386.tgz
DEBUG: Skipping unarchive (py26-rdflib) since no archive found
DEBUG: Skipping completed org.macports.unarchive (py26-rdflib)
--->  Fetching py26-rdflib
DEBUG: Executing org.macports.fetch (py26-rdflib)
--->  rdflib-2.4.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/python
DEBUG: Pinging rdflib.net...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: rdflib.net ping time is 180.246
DEBUG: distfiles.macports.org ping time is 186.991
DEBUG: trd.no.distfiles.macports.org ping time is 92.319
DEBUG: arn.se.distfiles.macports.org ping time is 71.824
--->  Attempting to fetch rdflib-2.4.0.tar.gz from http://arn.se.distfiles.macports.org/python
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  254k  100  254k    0     0   173k      0  0:00:01  0:00:01 --:--:--  222k
--->  Verifying checksum(s) for py26-rdflib
DEBUG: Executing org.macports.checksum (py26-rdflib)
--->  Checksumming rdflib-2.4.0.tar.gz
DEBUG: Correct (md5) checksum for rdflib-2.4.0.tar.gz
DEBUG: Correct (sha1) checksum for rdflib-2.4.0.tar.gz
DEBUG: Correct (rmd160) checksum for rdflib-2.4.0.tar.gz
--->  Extracting py26-rdflib
DEBUG: Executing org.macports.extract (py26-rdflib)
--->  Extracting rdflib-2.4.0.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/python/rdflib-2.4.0.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work" && gzip -dc /opt/local/var/macports/distfiles/python/rdflib-2.4.0.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (py26-rdflib)
--->  Configuring py26-rdflib
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (py26-rdflib)
--->  Building py26-rdflib
DEBUG: Executing org.macports.build (py26-rdflib)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build'

---------------------------------------------------------------------------
This script requires setuptools version 0.6c5 to run (even to display
help).  I will attempt to download it for you (from
http://cheeseshop.python.org/packages/2.6/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6.egg

and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6.egg
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    use_setuptools()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0/ez_setup.py", line 83, in use_setuptools
    egg = download_setuptools(version, download_base, to_dir, download_delay)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0/ez_setup.py", line 137, in download_setuptools
    src = urllib2.urlopen(url)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 421, in error
    result = self._call_chain(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 597, in http_error_302
    return self.parent.open(new)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    use_setuptools()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0/ez_setup.py", line 83, in use_setuptools
    egg = download_setuptools(version, download_base, to_dir, download_delay)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-rdflib/work/rdflib-2.4.0/ez_setup.py", line 137, in download_setuptools
    src = urllib2.urlopen(url)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 421, in error
    result = self._call_chain(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 597, in http_error_302
    return self.parent.open(new)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

Warning: the following items did not execute (for py26-rdflib): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to blb@…

Sounds like py26-rdflib needs setuptools installed; does it install fine after you install the py26-setuptools port? If so I'll add a dependency for it (as well as to the other rdflib modules which also don't list setuptools). Make sure to sudo port clean --work py26-rdflib before trying again.

comment:2 in reply to:  1 Changed 16 years ago by Damien@…

Replying to blb@…:

Sounds like py26-rdflib needs setuptools installed; does it install fine after you install the py26-setuptools port?

Yes, installing py26-setuptools allows to correctly install py26-rdflib.

Many thanks.

comment:3 Changed 16 years ago by blb@…

Resolution: fixed
Status: newclosed

Thanks for verifying, setuptools is now a dependency for rdflib as of r49656.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.