Opened 2 months ago

#70688 new defect

gom build error: Could not find GIR dependency in the search paths: GObject-2.0

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: gobject-introspection, gom

Description

Possibly an issue with gobject-introspection not being able to find some needed components, which I encountered when trying to update gom.

Could not find GIR dependency in the search paths: GObject-2.0

See: https://gitlab.gnome.org/GNOME/gom/-/issues/32

[38/41] /usr/bin/clang  -o tests/test-gom-transform tests/test-gom-transform.p/test-gom-transform.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wl,-rpath,@loader_path/../gom -Wl,-rpath,/opt/local/lib gom/libgom-1.0.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libsqlite3.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib
[39/41] env PKG_CONFIG_PATH=/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build/meson-uninstalled PKG_CONFIG=/opt/local/bin/pkg-config /opt/local/bin/g-ir-scanner --quiet --no-libtool --namespace=Gom --nsversion=1.0 --warn-all --output gom/Gom-1.0.gir -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/gom-0.5.3/gom -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build/gom --filelist=/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build/gom/libgom-1.0.0.dylib.p/Gom_1.0_gir_filelist --include=Gio-2.0 --include=GObject-2.0 --symbol-prefix=gom --identifier-prefix=Gom --cflags-begin -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/share/gir-1.0 -L/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build/gom --library gom-1.0 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-library=sqlite3 --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/gom-0.5.3/ --sources-top-dirs /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build/
ld: warning: ignoring duplicate libraries: '-lgio-2.0', '-lglib-2.0', '-lgobject-2.0', '-lintl'
[40/41] /opt/local/bin/g-ir-compiler gom/Gom-1.0.gir --output gom/Gom-1.0.typelib --includedir=/opt/local/share/gir-1.0 --shared-library=/opt/local/lib/libgom-1.0.0.dylib
[41/41] /opt/local/bin/gi-docgen generate --quiet --no-namespace-dir --config=doc/Gom.toml --output-dir=doc/gom-1.0 --content-dir=/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/gom-0.5.3/doc gom/Gom-1.0.gir
FAILED: doc/gom-1.0 
/opt/local/bin/gi-docgen generate --quiet --no-namespace-dir --config=doc/Gom.toml --output-dir=doc/gom-1.0 --content-dir=/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/gom-0.5.3/doc gom/Gom-1.0.gir
ERROR: Could not find GIR dependency in the search paths: GObject-2.0
ninja: build stopped: subcommand failed.
Command failed:  cd "/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_gnome_gom/gom/work/build" && /opt/local/bin/ninja -j8 -v 
Exit code: 1
Error: Failed to build gom: command execution failed

Change History (0)

Note: See TracTickets for help on using tickets.