[MacPorts] #67528: xar @ 494.81.1: Does not successfully build when using non-default prefix/non sudo
MacPorts
noreply at macports.org
Mon May 29 16:50:41 UTC 2023
#67528: xar @ 494.81.1: Does not successfully build when using non-default
prefix/non sudo
---------------------+-------------------------
Reporter: lukaso | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: xar |
---------------------+-------------------------
Changes (by ryandesign):
* owner: (none) => Schamschula
* status: new => assigned
Comment:
This shouldn't be happening, regardless of your prefix or whether or not
your MacPorts is configured to require root, although if you are using the
default prefix and other values, you will get a binary from us and avoid
trying to compile from source.
Please run `sudo port selfupdate` to ensure you have MacPorts 2.8.1 and
the latest port definitions. This port, and many others, will now fail to
build with errors like these using MacPorts 2.8.0 and earlier because the
code path that handled those older MacPorts versions has been removed. See
#67031.
The transcript you posted does not look like a clean build attempt. (The
fetch, checksum, and extract phases are not shown, meaning they were
completed earlier and possibly incorrectly, for example if they were
completed with MacPorts 2.8.0 or earlier.) Please `sudo port clean xar`
and try again and if it fails again then attach the main.log file.
There is a known problem with the version of the `patch` command on
Ventura and later where it doesn't like applying patches that have fuzz.
It doesn't sound like that's what's going on here, and we had successful
builds of this port on our buildbot workers, including the Ventura ones,
however I do see that one of the patches has fuzz (and many of them apply
with offsets) so it may be a good idea (Marius) to rebase those patches
anyway.
--
Ticket URL: <https://trac.macports.org/ticket/67528#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list