[MacPorts] #61146: gobject-introspection does not build
MacPorts
noreply at macports.org
Wed Sep 9 17:06:35 UTC 2020
#61146: gobject-introspection does not build
------------------------------------+----------------------
Reporter: AgilentGCMS | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gobject-introspection |
------------------------------------+----------------------
Comment (by iefdev):
Replying to [comment:2 AgilentGCMS]:
> I have tried various combinations of `port upgrade outdated`, `port rev-
upgrade`, and even explicitly rebuilding `clang-9.0`, but they all end
with a failure to build `gobject-introspection`. See attached log.
>
> Also, I should say that I do not know if the macports-installed `clang`
is being used to compile the ports. I have two versions of `clang`, just
because I am using ports on a machine without root access:
> {{{
> $ which clang
> /usr/bin/clang
> $ which clang-mp-9.0
> /Users/sbasu1/packages/macports/bin/clang-mp-9.0
> }}}
> Is this important? Do I need to make sure that macport's own `clang-9.0`
is used to compile the ports?
When all clangs broke I had the same issue. Quite frustrating. I don't
remember exactly in which order I did things, but I upgraded all packages
with the binary versions. You might have more clang versions than clang9:
{{{
#!bash
$ port installed name:^clang
}}}
First make sure that `libffi` was updated. It should have already, and
then causing the things to break. Then upgrade your clangs with `-b` (for
binary). I have 3.4, 3.7. 5-10. So I updated all one-by-one, in that
order.
{{{
#!bash
$ sudo port -b upgrade clang-9.0
}}}
When upgraded, verify your version(s) with:
{{{
#!bash
$ clang-mp-9.0 --version
clang version 9.0.1
Target: x86_64-apple-darwin11.4.2
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-9.0/bin
}}}
After that you should be able to upgrade your `gobject-introspection`. You
can always try o add the `-b` to that one as well.
// I also had a few `py*-gobject*` that didn't upgrade first.
--
Ticket URL: <https://trac.macports.org/ticket/61146#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list