Opened 7 months ago
Closed 6 months ago
#69806 closed defect (fixed)
gobject-introspection @1.78.1 seems to be broken on Tiger: dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | tiger | Cc: | mascguy (Christopher Nielsen), ballapete (Peter "Pete" Dyballa) |
Port: | gobject-introspection |
Description
:info:destroot [33/87] Generating gir/generate_typelib_fontconfig_2_0_gir with a custom command :info:destroot FAILED: gir/fontconfig-2.0.typelib :info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -o gir/fontconfig-2.0.typelib ../gobject-introspection-1.78.1/gir/fontconfig-2.0.gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.78.1/gir :info:destroot dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib :info:destroot Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler :info:destroot Reason: image not found :info:destroot [34/87] Generating gir/generate_typelib_freetype2_2_0_gir with a custom command :info:destroot FAILED: gir/freetype2-2.0.typelib :info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -o gir/freetype2-2.0.typelib ../gobject-introspection-1.78.1/gir/freetype2-2.0.gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.78.1/gir :info:destroot dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib :info:destroot Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler :info:destroot Reason: image not found :info:destroot [35/87] Generating gir/generate_typelib_DBus_1_0_gir with a custom command :info:destroot FAILED: gir/DBus-1.0.typelib :info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.78.1/gir :info:destroot dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib :info:destroot Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler :info:destroot Reason: image not found :info:destroot [36/87] Generating gir/generate_typelib_DBusGLib_1_0_gir with a custom command :info:destroot FAILED: gir/DBusGLib-1.0.typelib :info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -o gir/DBusGLib-1.0.typelib ../gobject-introspection-1.78.1/gir/DBusGLib-1.0.gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.78.1/gir :info:destroot dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib :info:destroot Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler :info:destroot Reason: image not found :info:destroot [37/87] Generating gir/gir-girepository with a custom command :info:destroot [38/87] Generating gir/gir-gio with a custom command :info:destroot ninja: build stopped: subcommand failed. :info:destroot Could not rebuild /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build :info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/meson install :info:destroot Exit code: 255 :error:destroot Failed to destroot gobject-introspection: command execution failed :debug:destroot Error code: CHILDSTATUS 11806 255
Attachments (2)
Change History (18)
Changed 7 months ago by barracuda156
comment:1 Changed 7 months ago by barracuda156
comment:2 Changed 7 months ago by barracuda156
And looks like other port do not build now either:
[66/78] Generating utils/pango-view.1 with a custom command FAILED: utils/pango-view.1 /opt/local/bin/help2man --no-info --section=1 --help-option=--help-all '--name="Pango text viewer"' --output=utils/pango-view.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/utils/pango-view help2man: can't get `--help-all' info from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/utils/pango-view Try `--no-discard-stderr' if option outputs to stderr [67/78] Generating pango/Pango-1.0.gir with a custom command (wrapped by meson to set env) ninja: build stopped: subcommand failed. Could not rebuild /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build" && /opt/local/bin/meson install Exit code: 255
comment:3 follow-up: 4 Changed 7 months ago by mascguy (Christopher Nielsen)
Did you allow everything rev-bumped to rebuild in order, once glib2
and gobject-introspection
were downgraded?
comment:4 Changed 7 months ago by barracuda156
Replying to mascguy:
Did you allow everything rev-bumped to rebuild in order, once
glib2
andgobject-introspection
were downgraded?
My Tiger set-up is rarely updated, so there was no upgrade to the bleeding-edge glib2. But I at least with gobject-introspection-devel attempt I did install glib2-devel prior to that, from unmodified portfile (well, everything is pretty much stock there). I did skip gcc7 update, but I do not think that is relevant.
Besides, I had 1.78.1_0
installed there, so perhaps something else broken it?
- S. Not that I have a great concern for 10.4 personally, but someone expressed interest in
abaddon
Discord client on Tiger, so I just wanted to ensure that is in fact buildable.
comment:5 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Cc: | ballapete added |
---|
comment:6 follow-up: 7 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
I have a similar failure with gobject-introspection @1.78.1_2
:
[29/87] Linking target tests/repository/gitypelibtest [30/87] Generating gir/gir-glib with a custom command [31/87] Generating gir/gir-gmodule with a custom command [32/87] Generating gir/gir-gobject with a custom command [33/87] Generating gir/gir-girepository with a custom command [34/87] Generating gir/generate_typelib_DBus_1_0_gir with a custom command FAILED: gir/DBus-1.0.typelib /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/gir --includedir /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.78.1/gir dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler Reason: image not found [35/87] Generating gir/gir-gio with a custom command ninja: build stopped: subcommand failed. Could not rebuild /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build" && /opt/local/bin/meson install Exit code: 255
root 313 /\ l /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler -rwxr-xr-x 1 root admin 221404 29 Apr 21:06 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler root 314 /\ file /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler: Mach-O executable ppc root 315 /\ otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler: @loader_path/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.4.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Is it also possible to fix the eternal problem with nm
?
[65/165] /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/meson --internal symbolextractor /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build girepository/libgirepository-1.0.1.dylib girepository/libgirepository-1.0.1.dylib girepository/libgirepository-1.0.1.dylib.p/libgirepository-1.0.1.dylib.symbols WARNING: ['nm'] does not work. Relinking will always happen on source changes. error: nm: invalid argument -- Usage: nm [-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...]
Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Main.log from PPC Tiger, Mac OS X 10.4.11
comment:7 follow-up: 8 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to ballapete:
dyld: Library not loaded: @loader_path/libgirepository-1.0.1.dylib Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler Reason: image not found
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/g-ir-compiler wants to use @loader_path/libgirepository-1.0.1.dylib and it is not found. @loader_path
expands to the path of the directory of whatever is doing the loading, in this case g-ir-compiler, so the library it is looking for is /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/libgirepository-1.0.1.dylib. Does that library exist? If not, does the library exist at a different path in the work directory? If it's at a different path, that shows us that the install name of the library is wrong. Which we already know: we don't install libraries with @loader_path
in their install names, so perhaps the build knowingly builds things with wrong install names and fixes them up later with install_name_tool
. Of course, if the build is going to run programs like g-ir-compiler
during the build that link with just-built libraries, the install names either have to be correct for the locations in the build tree or typically DYLD_LIBRARY_PATH
just has to be set to the directory containing the libraries. I see that the build phase sets DYLD_LIBRARY_PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/girepository'
and it's in a platform darwin 8
block in the Portfile with a comment that this is only done because 10.4 doesn't support @rpath
which the build would presumably use on 10.5. Is the library in that path? If not, then this Tiger-specific code in the Portfile needs adjusting.
comment:8 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Replying to ryandesign:
Replying to ballapete:
so the library it is looking for is /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/tools/libgirepository-1.0.1.dylib. Does that library exist? If not, does the library exist at a different path in the work directory?
Yes, it's out there, in a place without the tools subdirectory
105252678 560 -rwxr-xr-x 1 root admin 282952 0 Apr 05:11: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/girepository/libgirepository-1.0.1.dylib
The executables built so far are
105184752 8 -rwxr-xr-x 1 macports admin 3964 9 Apr 20:49: ./gobject-introspection/work/build/tools/g-ir-annotation-tool 105252683 440 -rwxr-xr-x 1 root admin 221404 0 Apr 05:11: ./gobject-introspection/work/build/tools/g-ir-compiler 105184753 8 -rwxr-xr-x 1 macports admin 3943 9 Apr 20:49: ./gobject-introspection/work/build/tools/g-ir-doc-tool 105252698 96 -rwxr-xr-x 1 root admin 48536 0 Apr 05:11: ./gobject-introspection/work/build/tools/g-ir-generate 105187816 48 -rwxr-xr-x 1 root admin 22772 9 Apr 21:06: ./gobject-introspection/work/build/tools/g-ir-inspect 105184751 8 -rwxr-xr-x 1 macports admin 3955 9 Apr 20:49: ./gobject-introspection/work/build/tools/g-ir-scanner
Their Mach-O executable
s have:
tiger pete 250 /\ otool -L g-ir-compiler g-ir-compiler: @loader_path/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.4.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) tiger pete 251 /\ otool -L g-ir-generate g-ir-generate: @loader_path/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12) tiger pete 252 /\ otool -L g-ir-inspect g-ir-inspect: @loader_path/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12)
I see that the build phase sets
DYLD_LIBRARY_PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/girepository'
and it's in aplatform darwin 8
block in the Portfile
It comes from the setting
build.env-append DYLD_LIBRARY_PATH=${workpath}/build/girepository
which expands to /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gobject-introspection/gobject-introspection/work/build/girepository
, exactly where libgirepository-1.0.1.dylib
is. It has:
tiger pete 256 /\ otool -L libgirepository-1.0.1.dylib libgirepository-1.0.1.dylib: @loader_path/libgirepository-1.0.1.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
comment:9 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Grep'ing for all occurrences of g-ir-compiler
in main.log
I get (a bit edited, for improved readability):
2494::info:configure Program g-ir-compiler found: YES (overridden) 3126::info:build [66/165] /opt/local/bin/gcc-apple-4.2 -Itools/g-ir-compiler.p -Itools -I../gobject-introspection-1.78.1/tools -Igirepository -I../gobject-introspection-1.78.1/girepository -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Wcast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -pipe -Os -arch ppc -Wno-missing-field-initializers -MD -MQ tools/g-ir-compiler.p/compiler.c.o -MF tools/g-ir-compiler.p/compiler.c.o.d -o tools/g-ir-compiler.p/compiler.c.o -c ../gobject-introspection-1.78.1/tools/compiler.c 3138::info:build [68/165] /opt/local/bin/gcc-apple-4.2 -o tools/g-ir-compiler tools/g-ir-compiler.p/compiler.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc girepository/libgirepository-internals.a girepository/libgirepository-gthash.a girepository/cmph/libcmph.a girepository/libgirepository-1.0.1.dylib /opt/local/lib/libffi.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib -lm 3142::info:build [72/165] …/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3143::info:build [73/165] …/build/tools/g-ir-compiler -o gir/DBusGLib-1.0.typelib ../gobject-introspection-1.78.1/gir/DBusGLib-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3144::info:build [74/165] …/build/tools/g-ir-compiler -o gir/fontconfig-2.0.typelib ../gobject-introspection-1.78.1/gir/fontconfig-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3145::info:build [75/165] …/build/tools/g-ir-compiler -o gir/freetype2-2.0.typelib ../gobject-introspection-1.78.1/gir/freetype2-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3146::info:build [76/165] …/build/tools/g-ir-compiler -o gir/GL-1.0.typelib ../gobject-introspection-1.78.1/gir/GL-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3147::info:build [77/165] …/build/tools/g-ir-compiler -o gir/libxml2-2.0.typelib ../gobject-introspection-1.78.1/gir/libxml2-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3148::info:build [78/165] …/build/tools/g-ir-compiler -o gir/Vulkan-1.0.typelib ../gobject-introspection-1.78.1/gir/Vulkan-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3149::info:build [79/165] …/build/tools/g-ir-compiler -o gir/xft-2.0.typelib ../gobject-introspection-1.78.1/gir/xft-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3150::info:build [80/165] …/build/tools/g-ir-compiler -o gir/xlib-2.0.typelib ../gobject-introspection-1.78.1/gir/xlib-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3151::info:build [81/165] …/build/tools/g-ir-compiler -o gir/xfixes-4.0.typelib ../gobject-introspection-1.78.1/gir/xfixes-4.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3152::info:build [82/165] …/build/tools/g-ir-compiler -o gir/xrandr-1.3.typelib ../gobject-introspection-1.78.1/gir/xrandr-1.3.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3153::info:build [83/165] …/build/tools/g-ir-compiler -o gir/win32-1.0.typelib ../gobject-introspection-1.78.1/gir/win32-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3154::info:build [84/165] …/build/tools/g-ir-compiler -o gir/cairo-1.0.typelib gir/cairo-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3155::info:build [85/165] …/build/tools/g-ir-compiler -o gir/GLib-2.0.typelib gir/GLib-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3156::info:build [86/165] …/build/tools/g-ir-compiler -o gir/GObject-2.0.typelib gir/GObject-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3157::info:build [87/165] …/build/tools/g-ir-compiler -o gir/GModule-2.0.typelib gir/GModule-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3158::info:build [88/165] …/build/tools/g-ir-compiler -o gir/Gio-2.0.typelib gir/Gio-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3159::info:build [89/165] …/build/tools/g-ir-compiler -o gir/GIRepository-2.0.typelib gir/GIRepository-2.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3462::info:build [143/165] …/build/tools/g-ir-compiler -o tests/Everything-1.0.typelib tests/Everything-1.0.gir --includedir …/build/gir --includedir …/build/tests 3463::info:build [144/165] …/build/tools/g-ir-compiler -o tests/GIMarshallingTests-1.0.typelib tests/GIMarshallingTests-1.0.gir --includedir …/build/gir --includedir …/build/tests 3464::info:build [145/165] …/build/tools/g-ir-compiler -o tests/offsets/Offsets-1.0.typelib tests/offsets/Offsets-1.0.gir --includedir …/build/gir --includedir …/build/tests/offsets 3466::info:build [147/165] …/build/tools/g-ir-compiler -o tests/scanner/Typedefs-1.0.typelib tests/scanner/Typedefs-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3467::info:build [148/165] …/build/tools/g-ir-compiler -o tests/scanner/Bar-1.0.typelib tests/scanner/Bar-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3468::info:build [149/165] …/build/tools/g-ir-compiler -o tests/scanner/SLetter-1.0.typelib tests/scanner/SLetter-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3469::info:build [150/165] …/build/tools/g-ir-compiler -o tests/scanner/WarnLib-1.0.typelib tests/scanner/WarnLib-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3470::info:build [151/165] …/build/tools/g-ir-compiler -o tests/scanner/Utility-1.0.typelib tests/scanner/Utility-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3471::info:build [152/165] …/build/tools/g-ir-compiler -o tests/scanner/GtkFrob-1.0.typelib tests/scanner/GtkFrob-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3472::info:build [153/165] …/build/tools/g-ir-compiler -o tests/scanner/GetType-1.0.typelib tests/scanner/GetType-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3473::info:build [154/165] …/build/tools/g-ir-compiler -o tests/scanner/Symbolfilter-1.0.typelib tests/scanner/Symbolfilter-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3474::info:build [155/165] …/build/tools/g-ir-compiler -o tests/scanner/Identfilter-1.0.typelib tests/scanner/Identfilter-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3475::info:build [156/165] …/build/tools/g-ir-compiler -o tests/scanner/Headeronly-1.0.typelib tests/scanner/Headeronly-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3476::info:build [157/165] …/build/tools/g-ir-compiler -o tests/scanner/Regress-1.0.typelib tests/scanner/Regress-1.0.gir --includedir …/build/gir --includedir …/build/tests/scanner 3652::info:destroot [7/87] Linking target tools/g-ir-compiler 3688::info:destroot …/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3690::info:destroot Referenced from: …/build/tools/g-ir-compiler 3804::info:destroot [5/66] Linking target tools/g-ir-compiler 3814::info:destroot …/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3816::info:destroot Referenced from: …/build/tools/g-ir-compiler 3934::info:destroot …/build/tools/g-ir-compiler -o gir/DBus-1.0.typelib ../gobject-introspection-1.78.1/gir/DBus-1.0.gir --includedir …/build/gir --includedir …/gobject-introspection-1.78.1/gir 3936::info:destroot Referenced from: …/build/tools/g-ir-compiler
It shows that g-ir-compiler
had worked correctly 32 time before, then on line #3652 it was linked again, due to Executing meson install
, and then failed to work.
comment:10 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Ok great. Then all that needs to happen is that the line
destroot.env-append DYLD_LIBRARY_PATH=${workpath}/build/girepository
needs to be added to the platform darwin 8
block.
comment:11 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Ryan, it's already there:
98 platform darwin 8 { 99 # Tiger does not support RPATHs at this time 100 patchfiles-append patch-girscanner-tiger-no-rpath.diff 101 102 build.env-append DYLD_LIBRARY_PATH=${workpath}/build/girepository 103 }
Therefore g-ir-compiler
worked correctly 32 times and then failed. IMO it's meson
that is destroying what was already built before.
comment:12 Changed 6 months ago by kencu (Ken)
NB the “destroot” part of
destroot.env-append DYLD_LIBRARY_PATH=${workpath}/build/girepository
comment:13 Changed 6 months ago by ballapete (Peter "Pete" Dyballa)
Could not imagine another environment, but now I have: gobject-introspection @1.78.1_2 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2024-04-30T19:15:41+0200'
.
comment:14 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
You're saying that adding what I said to add in comment:10 allowed you to install it? Then we should add that to the Portfile to close the ticket.
comment:16 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Same failure with
gobject-introspection-devel
: