[MacPorts] #34547: python27: Failed to locate 'xz' in path
MacPorts
noreply at macports.org
Thu Jul 9 07:14:07 PDT 2015
#34547: python27: Failed to locate 'xz' in path
-------------------------+----------------------
Reporter: fgermano@… | Owner: jwa@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: python27 |
-------------------------+----------------------
Comment (by jmr@…):
I’m pretty sure this is a simple TOCTOU error. We calculate dependencies
differently based on whether an archive is available. If one is, we don’t
need build-time dependencies because we won’t be building. If an archive
is found to be available but then fails to download for whatever reason
though (e.g. internet connection goes down briefly), we get in trouble. We
fall back to building from source, but we’re potentially missing some of
the required dependencies.
The basic troubleshooting steps in wiki:FAQ#buildfails will fix the
problem if you get into this state. I’ve also added a check in r138461 to
make the installation fail early if we found an archive but then failed to
download it.
--
Ticket URL: <https://trac.macports.org/ticket/34547#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list