[MacPorts] #68249: gobject-introspection @1.78.1_0+universal: FAILED: girepository/cmph/cmph-bdz-test
MacPorts
noreply at macports.org
Tue Mar 19 00:33:30 UTC 2024
#68249: gobject-introspection @1.78.1_0+universal: FAILED: girepository/cmph/cmph-
bdz-test
------------------------------------+----------------------
Reporter: tiuno | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: gobject-introspection |
------------------------------------+----------------------
Comment (by potmj):
I have recently encountered this problem on 10.11.6 and I too found this a
successful workaround:-
{{{
$ sudo port select --set llvm none
$ sudo port clean gobject-introspection
$ sudo port upgrade gobject-introspection
}}}
Seeing the problem was with libcmph.a, previously I had tried separately
installing cmph to see if the configure would pick up the installed
`/opt/local/lib/libcmph.a`, which happily builds universal with `llvm` set
to `mp-llvm-17` (for example).
{{{
$ sudo port install cmph +universal
$ sudo port clean gobject-introspection
$ sudo port upgrade gobject-introspection
---> Computing dependencies for gobject-introspection
---> Fetching distfiles for gobject-introspection
---> Verifying checksums for gobject-introspection
---> Extracting gobject-introspection
---> Applying patches to gobject-introspection
---> Configuring gobject-introspection
---> Building gobject-introspection
Error: Failed to build gobject-introspection: command execution failed
}}}
But this had no effect, reproducing the same build error in the logs. I
don't understand why llvm-ar fails, however the `sudo port --set llvm
none` workaround works.
I don't understand why the buildbots don't pick up llvm-ar and fail, yet
some of us end users do.
Reviewing questions asked above, I strangely find:-
{{{
$ port provides /opt/local/bin/llvm-ar
/opt/local/bin/llvm-ar is not provided by a MacPorts port.
}}}
But
{{{
$ ls -al /opt/local/bin/llvm-ar
lrwxr-xr-x 1 root admin 28 19 Mar 12:48 /opt/local/bin/llvm-ar ->
/opt/local/bin/llvm-ar-mp-17
}}}
As I would have expected from a recent `port upgrade outdated`
Hope this helps :-)
--
Ticket URL: <https://trac.macports.org/ticket/68249#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list