Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#53462 closed defect (duplicate)

py-tz fails to fetch on 10.5

Reported by: gchinn (Gregory) Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard powerpc Cc:
Port: py-tz

Description

I am trying install freecad, however, when port tries to fetch pytz-2016.10.tar.gz, an error 404 from 16 of the mirrors and a ssl certificate from 3 mirrors error occurs. I download the files and tried to use the workaround. Port only attempted to fetch the file again. From what I noticed, none of the mirrors has a file, pytz-2016.10.tar.gz in their directory. They have pytz-2016.7.tar.gz and earlier listed. The same is true for its dependency, py27-tz-2016.10_0.darwin_9.noarch.tbz2. That files starts at py27-tz-2016.10_0.darwin_10.noarch.tbz2 and goes up. I'm new at this and I may not be performing the workaround correctly. I will continue to search the tickets for answers. Could the filename mismatch be the reason for the fetch error? Any help would be appreciated greatly.

Change History (4)

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

Keywords: powerpc added; on powerpc64 removed
Milestone: MacPorts Future
Owner: set to skymoo
Port: py-tz added; py27-tz pytz removed
Status: newassigned

The Milestone field is for use by Macports team members only, please do not set it.

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

comment:2 Changed 7 years ago by skymoo (Adam Mercer)

When I try to fetch this it is successful, it uses upstream and doesn't try to use any of the mirrors:

$ sudo port -d fetch py27-tz
DEBUG: Copying /Users/ram/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-tz
DEBUG: OS darwin/16.4.0 (Mac OS X 10.12) arch i386
DEBUG: Re-registering default for build.cmd
DEBUG: Re-registering default for destroot.cmd
DEBUG: Re-registering default for destroot.destdir
DEBUG: Sourcing PortGroup python 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/python-1.0.tcl
DEBUG: only one arch supported, so not adding the default universal variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-tz/py27-tz/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-tz/work
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Starting logging for py27-tz
DEBUG: Executing org.macports.main (py27-tz)
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: fetch phase started at Wed Feb  1 12:15:41 CST 2017
--->  Fetching distfiles for py27-tz
DEBUG: elevating privileges for fetch: euid changed to 0, egid changed to 0.
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Executing org.macports.fetch (py27-tz)
--->  pytz-2016.10.tar.gz does not exist in /opt/local/var/macports/distfiles/py-tz
--->  Attempting to fetch pytz-2016.10.tar.gz from https://files.pythonhosted.org/packages/source/p/pytz/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  280k  100  280k    0     0   251k      0  0:00:01  0:00:01 --:--:-- 6531k
DEBUG: Checking time since last reclaim run
$

What is the output when you try this?

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

Resolution: duplicate
Status: assignedclosed
Summary: fetch error - filename mismatchpy-tz fails to fetch on 10.5

comment:4 Changed 7 years ago by gchinn (Gregory)

Forgive for not being experienced at this. I am new to the ticket filing process and I did not think I would get a response so soon. This is the response from the command:

sudo port -d fetch py27-tz > ticket Password: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-tz DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc DEBUG: Re-registering default for build.cmd DEBUG: Re-registering default for destroot.cmd DEBUG: Re-registering default for destroot.destdir DEBUG: Sourcing PortGroup python 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/python-1.0.tcl DEBUG: only one arch supported, so not adding the default universal variant DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: dropping privileges: euid changed to 502, egid changed to 500. DEBUG: Starting logging for py27-tz DEBUG: Executing org.macports.main (py27-tz) DEBUG: dropping privileges: euid changed to 502, egid changed to 500. DEBUG: fetch phase started at Wed Feb 1 18:20:51 EST 2017 DEBUG: Executing org.macports.fetch (py27-tz)

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0DEBUG: Fetching distfile failed: SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0DEBUG: Fetching distfile failed: SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404 % Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 267 100 267 0 0 64 0 0:00:04 0:00:04 --:--:-- 64 100 267 100 267 0 0 64 0 0:00:04 0:00:04 --:--:-- 0

0 267 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0DEBUG: Fetching distfile failed: The requested URL returned error: 404

Error: Failed to fetch py27-tz: The requested URL returned error: 404 DEBUG: Error code: NONE DEBUG: Backtrace: The requested URL returned error: 404

while executing

"error $lastError"

(procedure "portfetch::fetchfiles" line 62) invoked from within

"portfetch::fetchfiles"

(procedure "portfetch::fetch_main" line 17) invoked from within

"$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-tz/py27-tz/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port py27-tz failed

Note: See TracTickets for help on using tickets.