[MacPorts] #61987: gobject-introspection @1.60.2_4 : g-ir-scanner producing executable with linking problems
MacPorts
noreply at macports.org
Tue Nov 5 03:11:27 UTC 2024
#61987: gobject-introspection @1.60.2_4 : g-ir-scanner producing executable with
linking problems
------------------------------------+----------------------
Reporter: serge-cohen | Owner: mascguy
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: gobject-introspection |
------------------------------------+----------------------
Comment (by dkossack):
Replying to [comment:19 mascguy]:
> Replying to [comment:18 dkossack]:
> > Replying to [comment:17 mascguy]:
> > > This is a long shot, but... can you provide the output of `otool -L
/opt/local/lib/libexiv2.dylib`?
> >
> > {{{
> > root# otool -L /opt/local/lib/libexiv2.dylib
> > /opt/local/lib/libexiv2.dylib:
> > /Volumes/PEluard/opt/local/lib/libexiv2.27.dylib (compatibility
version 27.0.0, current version 0.27.6)
> > /Volumes/PEluard/opt/local/lib/libexpat.1.dylib (compatibility
version 10.0.0, current version 10.10.0)
> > /Volumes/PEluard/opt/local/lib/libz.1.dylib (compatibility version
1.0.0, current version 1.2.13)
> > /Volumes/PEluard/opt/local/lib/libiconv.2.dylib (compatibility
version 9.0.0, current version 9.1.0)
> > /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
version 902.1.0)
> > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1281.100.1)
> > }}}
> >
> > > Another idea, can you run `sudo port clean gexiv2` followed by `sudo
port -t install gexiv2`? (I doubt this will help, but just throwing out
ideas.) Assuming it fails, attach the `main.log`.
> >
> > {{{
> > root# port clean gexiv2
> > ---> Cleaning gexiv2
> >
> > root# port -t install gexiv2
> > ---> Computing dependencies for gexiv2
> > ---> Fetching distfiles for gexiv2
> > ---> Verifying checksums for gexiv2
> > ---> Extracting gexiv2
> > Warning: The following existing file was hidden from the build system
by trace mode:
> > /private/var/select/sh
> > Warning: The following file inside the MacPorts prefix not installed
by a port was accessed:
> > /Volumes/PEluard/opt/local/bin/xz
> > ---> Applying patches to gexiv2
> > Warning: The following existing file was hidden from the build system
by trace mode:
> > /private/var/select/sh
> > ---> Configuring gexiv2
> > Warning: The following existing files were hidden from the build
system by trace mode:
> > /opt/local/bin/meson-3.12
> > /private/var/select/sh
> > Warning: The following file inside the MacPorts prefix not installed
by a port was accessed:
> > /Volumes/PEluard/opt/local/bin/meson
> > }}}
>
> From your latest `main.log`, the following failure occurs:
>
> {{{
> configure sh: /Volumes/PEluard/opt/local/bin/meson: No such file or
directory
> }}}
>
> Which doesn't make any sense, as that almost suggests that Meson isn't
installed. But it is based on the earlier entries in the log.
>
> A related warning is this:
>
> {{{
> > Warning: The following existing files were hidden from the build
system by trace mode:
> > /opt/local/bin/meson-3.12
> }}}
>
> Assuming you installed MacPorts from scratch, via your custom prefix
(`/Volumes/PEluard/opt/local`), all MacPorts-related paths should be
prefixed with that. But the fact that `/opt/local` also exists, suggests
something more is going on.
>
> Is `/opt/local` a symlink to `/Volumes/PEluard/opt/local`? Or do you
have another MacPorts setup installed in `/opt/local`?
>
> EDIT: Or is `/Volumes/PEluard` your boot volume?
From: David Kossack <dkossack at cruzio.com>
Subject: Re: [MacPorts] #61987: gobject-introspection @1.60.2_4 : g-ir-
scanner producing executable with linking problems
Date: November 4, 2024 at 6:22:46 PM PST
Cc: ctreleaven at macports.org, emmiller at gmail.com, macports-
tickets at lists.macports.org, mascguy at macports.org, michaelld at macports.org,
serge.cohen at synchrotron-soleil.fr
Yes, it is a samlink:
Ghostship:var root# ls -l /opt/local
lrwxr-xr-x 1 root wheel 26 Apr 5 2019 /opt/local ->
/Volumes/PEluard/opt/local
Ghostship:~ root# ls -l /opt/local/bin/meson*
lrwxr-xr-x 1 root wheel 25 Oct 24 10:26 /opt/local/bin/meson ->
/opt/local/bin/meson-3.12
lrwxr-xr-x 1 root admin 70 Oct 24 11:32 /opt/local/bin/meson-3.12 ->
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/meson
root# port clean gexiv2
---> Cleaning gexiv2
Ghostship:gexiv2-master root# port install gexiv2
---> Computing dependencies for gexiv2
---> Fetching archive for gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://packages.macports.org/gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from http://mirror.fcix.net/macports/packages/gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://ywg.ca.packages.macports.org/mirror/macports/packages/gexiv2
---> Fetching distfiles for gexiv2
---> Verifying checksums for gexiv2
---> Extracting gexiv2
---> Applying patches to gexiv2
---> Configuring gexiv2
---> Building gexiv2
Error: Failed to build gexiv2: command execution failed
Error: See
/Volumes/PEluard/opt/local/var/macports/logs/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gexiv2 failed
root# port clean gexiv2
---> Cleaning gexiv2
root# port -t install gexiv2
---> Computing dependencies for gexiv2
---> Fetching archive for gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://packages.macports.org/gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from http://mirror.fcix.net/macports/packages/gexiv2
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://ywg.ca.packages.macports.org/mirror/macports/packages/gexiv2
---> Fetching distfiles for gexiv2
---> Verifying checksums for gexiv2
---> Extracting gexiv2
Warning: The following existing file was hidden from the build system by
trace mode:
/private/var/select/sh
Warning: The following file inside the MacPorts prefix not installed by a
port was accessed:
/Volumes/PEluard/opt/local/bin/xz
---> Applying patches to gexiv2
Warning: The following existing file was hidden from the build system by
trace mode:
/private/var/select/sh
---> Configuring gexiv2
Warning: The following existing files were hidden from the build system by
trace mode:
/opt/local/bin/meson-3.12
/private/var/select/sh
Warning: The following file inside the MacPorts prefix not installed by a
port was accessed:
/Volumes/PEluard/opt/local/bin/meson
Error: Failed to configure gexiv2: configure failure: command execution
failed
Error: See
/Volumes/PEluard/opt/local/var/macports/logs/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gexiv2 failed
root# port clean gexiv2
---> Cleaning gexiv2
root# port -tv install gexiv2
---> Computing dependencies for gexiv2.
---> Fetching archive for gexiv2
---> gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2 doesn't seem to
exist in /Volumes/PEluard/opt/local/var/macports/incoming/verified
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://packages.macports.org/gexiv2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from http://mirror.fcix.net/macports/packages/gexiv2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:--
0
---> Attempting to fetch gexiv2-0.14.3_0+python312.darwin_19.x86_64.tbz2
from https://ywg.ca.packages.macports.org/mirror/macports/packages/gexiv2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
---> Fetching distfiles for gexiv2
---> Verifying checksums for gexiv2
---> Checksumming gexiv2-0.14.3.tar.xz
---> Extracting gexiv2
---> Extracting gexiv2-0.14.3.tar.xz
Executing: cd
"/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work"
&& /Volumes/PEluard/opt/local/bin/xz -dc
'/Volumes/PEluard/opt/local/var/macports/distfiles/gexiv2/gexiv2-0.14.3.tar.xz'
| /usr/bin/tar -xf -
Warning: The following existing file was hidden from the build system by
trace mode:
/private/var/select/sh
Warning: The following file inside the MacPorts prefix not installed by a
port was accessed:
/Volumes/PEluard/opt/local/bin/xz
---> Applying patches to gexiv2
---> Applying patch-python-bins.diff
Executing: cd
"/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3"
&& /usr/bin/patch -t -N -p0 <
'/Volumes/PEluard/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/gnome/gexiv2/files
/patch-python-bins.diff'
patching file meson.build
Hunk #1 succeeded at 114 (offset 63 lines).
---> Patching meson.build:
s|@@PYTHON3_BIN@@|/Volumes/PEluard/opt/local/bin/python3.12|
Warning: The following existing file was hidden from the build system by
trace mode:
/private/var/select/sh
---> Configuring gexiv2
Executing: cd
"/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3"
&& /Volumes/PEluard/opt/local/bin/meson setup
--prefix=/Volumes/PEluard/opt/local -Dgtk_doc=true
/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3
/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build
--wrap-mode=default
sh: /Volumes/PEluard/opt/local/bin/meson: No such file or directory
Command failed: cd
"/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3"
&& /Volumes/PEluard/opt/local/bin/meson setup
--prefix=/Volumes/PEluard/opt/local -Dgtk_doc=true
/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3
/Volumes/PEluard/opt/local/var/macports/build/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build
--wrap-mode=default
Exit code: 127
Warning: The following existing files were hidden from the build system by
trace mode:
/opt/local/bin/meson-3.12
/private/var/select/sh
Warning: The following file inside the MacPorts prefix not installed by a
port was accessed:
/Volumes/PEluard/opt/local/bin/meson
Error: Failed to configure gexiv2: configure failure: command execution
failed
Error: See
/Volumes/PEluard/opt/local/var/macports/logs/_Volumes_PEluard_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gexiv2 failed
An attempt at building gexiv2 from GNOME source:
root# which meson
/opt/local/bin/meson
Ghostship:gexiv2-master root# meson setup build && cd build
The Meson build system
Version: 1.6.0
Source dir: /private/var/root/gexiv2-master
Build dir: /private/var/root/gexiv2-master/build
Build type: native build
Project name: gexiv2
Project version: 0.15.0
C compiler for the host machine: cc (clang 12.0.0 "Apple clang version
12.0.0 (clang-1200.0.32.29)")
C linker for the host machine: cc ld64 609.8
C++ compiler for the host machine: c++ (clang 12.0.0 "Apple clang version
12.0.0 (clang-1200.0.32.29)")
C++ linker for the host machine: c++ ld64 609.8
Host machine cpu family: x86_64
Host machine cpu: x86_64
Message: Project API version: 0.12
Found pkg-config: YES (/opt/local/bin/pkg-config) 0.29.2
Run-time dependency exiv2 found: YES 0.27.6
Run-time dependency gobject-2.0 found: YES 2.78.4
Run-time dependency gio-2.0 found: YES 2.78.4
Library m found: YES
Checking if "BMFF support in exiv2" with dependency exiv2 compiles: YES
Checking if "DataBuf is sealead in exiv2" with dependency exiv2 compiles:
NO
Checking if "AnyError exists in exiv2" with dependency exiv2 compiles: YES
Checking if "Xmpdatum has toLong() in exiv2" with dependency exiv2
compiles: YES
Checking if "Exifdatum has toLong() in exiv2" with dependency exiv2
compiles: YES
Configuring config.h using configuration
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Vala compiler for the host machine: valac (valac 0.56.17)
Configuring gexiv2-version.h using configuration
Build-time dependency glib-2.0 found: YES 2.78.4
Program /opt/local/bin/glib-mkenums found: YES (/opt/local/bin/glib-
mkenums)
Dependency glib-2.0 found: YES 2.78.4 (cached)
Program /opt/local/bin/glib-mkenums found: YES (/opt/local/bin/glib-
mkenums)
Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
Program /opt/local/bin/g-ir-scanner found: YES (/opt/local/bin/g-ir-
scanner)
Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
Program /opt/local/bin/g-ir-compiler found: YES (/opt/local/bin/g-ir-
compiler)
Program vapigen found: YES (/opt/local/bin/vapigen)
Program python3 (gi) found: NO
meson.build:117:29: ERROR: python3 is missing modules: gi
A full log can be found at /private/var/root/gexiv2-master/build/meson-
logs/meson-log.txt
So meson is there…
--
Ticket URL: <https://trac.macports.org/ticket/61987#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list