[MacPorts] #49359: tdom: fix build failure with tcl 8.6
MacPorts
noreply at macports.org
Fri Oct 23 00:34:03 PDT 2015
#49359: tdom: fix build failure with tcl 8.6
------------------------+---------------------------------
Reporter: neumann@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch maintainer
Port: tdom |
------------------------+---------------------------------
Comment (by neumann@…):
Oops. The problem was, that "port clean tdom" and "port unsinstall tdom"
did not remove "/opt/local/var/macports/distfiles/tDOM/tDOM-0.8.3.tgz" and
"/opt/local/var/macports//software/tDOM/tDOM-0.8.3_2.darwin_14.x86_64.tgz"
on my installation, so the githup options were ignored, and the old .tgz
files were used in the builds.
I gave a try to the github portgroup, but was not very successful:
Attempt a)
{{{
github.setup tDOM tdom 0.8.3
github.tarball_from downloads
}}}
the leads to
{{{
:notice:fetch ---> Attempting to fetch tdom-0.8.3.tgz from
https://github.com/downloads/tDOM/tdom
:debug:fetch Fetching distfile failed: SSL peer handshake failed, the
server most likely requires a client certificate to connect
}}}
Attempt b)
{{{
github.setup tDOM tdom tdom_0_8_3_postrelease
github.homepage https://api.github.com/repos/tDOM/tdom
github.tarball_from tags
}}}
the leads to
{{{
:notice:fetch ---> Attempting to fetch tdom-tdom_0_8_3_postrelease.tar.gz
from https://api.github.com/repos/tDOM/tdom/tarball/tdom_0_8_3_postrelease
:debug:fetch Fetching distfile failed: The requested URL returned error:
404 Not Found
}}}
where a cut&paste of the same url works perfectly with wget. I had to
provide the github.homepage path, otherwise the generated path from the
portgroup was substantilally wrong (i.e. not confirming to the documented
API of https://developer.github.com/v3/repos/contents/#get-archive-link)
Shouldn't we stick with the old-fashioned working way (first patch)?
--
Ticket URL: <https://trac.macports.org/ticket/49359#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list