Opened 8 years ago

Closed 8 years ago

#51184 closed defect (wontfix)

harfbuzz 1.2.6 fetch fails

Reported by: reeskm (Rees Machtemes) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: harfbuzz

Description

Fetching is failing for Harfbuzz.

First it fails to get archive as it seems there is no ppc archive. (Is this a binary?)

Then it fails to get the source (distfiles) from a large set of mirrors including freedesktop.org, which is weird because I can download it manually.

It seems it's related to a SSL/CA certificate problem, that I don't know how to fix.

[rees@powermacg5 ~]$sudo port upgrade outdated
--->  Computing dependencies for harfbuzz
--->  Fetching archive for harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6_0.darwin_9.ppc.tbz2 from https://packages.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6_0.darwin_9.ppc.tbz2 from http://sea.us.packages.macports.org/macports/packages/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6_0.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/harfbuzz
--->  Fetching distfiles for harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://www.freedesktop.org/software/harfbuzz/release/
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from https://distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://sea.us.distfiles.macports.org/macports/distfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://cjj.kr.distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://osl.no.distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://lil.fr.distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://nue.de.distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://jog.id.distfiles.macports.org/macports/distfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://jnb.za.distfiles.macports.org/distfiles/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://her.gr.distfiles.macports.org/harfbuzz
--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/harfbuzz
Error: org.macports.fetch for port harfbuzz returned: fetch failed
Please see the log file for port harfbuzz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_harfbuzz/harfbuzz/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (3)

harfbuzz.log (5.6 KB) - added by reeskm (Rees Machtemes) 8 years ago.
export_p.out (1010 bytes) - added by reeskm (Rees Machtemes) 8 years ago.
macports.conf (5.9 KB) - added by reeskm (Rees Machtemes) 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by reeskm (Rees Machtemes)

Attachment: harfbuzz.log added

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

Cc: yandesign@… removed
Keywords: ppc leopard removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

There is a problem with your computer's configuration. The log says:

--->  Attempting to fetch harfbuzz-1.2.6.tar.bz2 from http://www.freedesktop.org/software/harfbuzz/release/
DEBUG: Fetching distfile failed: SSL certificate problem, verify that the CA cert is OK. Details:

An SSL certificate would not be used to fetch from http, unless you had configured your computer to use an https proxy, so you'll have to investigate that configuration.

comment:3 Changed 8 years ago by reeskm (Rees Machtemes)

I have no proxy set in system prefs/Network pane. I only use a squid proxy internally within TenFourFox, which does not affect the terminal. I am running the latest version of Leopard, 10.5.8.

I am able to fetch and build other ports (that do not depend on harfbuzz, like libass most recently).

How do I debug this further? In the log, it just says "Details:" and nothing else. I don't even know what command is being run.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

No "command" is being run as such; MacPorts uses the libcurl library.

Check whether the proxy variables in the macports.conf file are set to anything, and whether the http_proxy environment variable is set in the shell.

comment:5 Changed 8 years ago by reeskm (Rees Machtemes)

http_proxy is not set. But thanks! I learned something new about the terminal :D Output of export -p attached.

macports.conf attached. I'm pretty sure no proxy is set but see if you see anything strange.

I just built (and fetched) file and libmagic just now with no issues, so is this still my system?

(I recently rebuild curl but what port do I rebuild in order to relink to the new libcurl in macports for fetching?)

Changed 8 years ago by reeskm (Rees Machtemes)

Attachment: export_p.out added

Changed 8 years ago by reeskm (Rees Machtemes)

Attachment: macports.conf added

comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed

I agree, I don't see anything in your environment variables or macports.conf to explain it.

MacPorts doesn't use libcurl from MacPorts; it uses libcurl from OS X.

I see now that the freedesktop http server is redirecting to https; I've updated the port in r147886 to use the https URL to begin with. This won't help you; I guess Leopard's libcurl is too old to understand the freedesktop SSL certificate, which is not surprising; we've seen that with other sites as well.

If you wait a couple days, our mirror server will have pulled a copy of that file, which MacPorts should then be able to fetch. Or you can manually fetch it and place it in /opt/local/var/macports/distfiles/harfbuzz. In the future, our mirror server will fetch copies of files more quickly so there won't be this delay. (Currently we only mirror files twice a week, on Wednesdays and Saturdays.)

Note: See TracTickets for help on using tickets.