Opened 11 years ago

Closed 10 years ago

#43126 closed defect (worksforme)

py27-nose: build fails on PPC 10.5.8 because "Fetching distfile failed: SSL certificate problem"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: petrrr
Port: py-nose

Description

This is the failure:

DEBUG: fetch phase started at Sun Mar 30 10:46:37 CEST 2014
--->  Fetching distfiles for py27-nose
DEBUG: Executing org.macports.fetch (py27-nose)
--->  nose-1.3.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/py-nose
--->  Attempting to fetch nose-1.3.1.tar.gz from http://pypi.python.org/packages/source/n/nose/
  % 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:10 --:--:--     0
DEBUG: 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
--->  Attempting to fetch nose-1.3.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-nose
  % 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:11 --:--:--     0
DEBUG: Fetching distfile failed: The requested URL returned error: 404

Attachments (1)

main.log (4.3 KB) - added by ballapete (Peter "Pete" Dyballa) 11 years ago.
main.log

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

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

Cc: akitada@… removed
Owner: changed from macports-tickets@… to akitada@…
Port: py-nose added; py27-nose removed

comment:2 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:3 Changed 11 years ago by josephsacco

I believe this has something to do with curl. curl used to include a list of accepted CAs, but no longer bundles ANY CA certs. So by default it'll reject all SSL certificates as unverifiable.

See:

http://curl.haxx.se/docs/sslcerts.html

-Joseph

comment:4 Changed 11 years ago by petrrr

The problem with SSL fetches from PyPI appeared on my 10.5 system as well. It seems to be recent. The 10.8 is not affected. Why is this so?

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Cc: mcalhoun@… removed
Owner: changed from akitada@… to mcalhoun@…

Assigning to new maintainer. See #43692.

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Cc: mcalhoun@… removed
Owner: changed from akitada@… to mcalhoun@…

Assigning to new maintainer. See #43692.

comment:6 Changed 10 years ago by petrrr

Summary: Build of py27-nose fails on PPC 10.5.8 because "Fetching distfile failed: SSL certificate problem"py27-nose: build fails on PPC 10.5.8 because "Fetching distfile failed: SSL certificate problem"

comment:7 Changed 10 years ago by petrrr

For me the fetch now works again also on the 10.5 system. Can we close this ticket now?

comment:8 in reply to:  7 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to petr@…:

For me the fetch now works again also on the 10.5 system. Can we close this ticket now?

Yes! (I had copied a solution described here in a similar case.)

comment:9 Changed 10 years ago by petrrr

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