pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54393: devel/gobject-introspection broken on macos (with devel/glib2 correction)



Hi all,

Here the patches modified with the comments by Patrick.

I tried DYLD_LIBRARY_PATH or DYLD_FALLBACK_LIBRARY_PATH variable set by make_env but the build failed with:

[122/125] Generating gir-girepository with a custom command.
FAILED: gir/GIRepository-2.0.gir 
/Users/cbouvier/pkg/bin/python3.7 tools/g-ir-scanner --output=gir/GIRepository-2.0.gir --no-libtool --quiet --reparse-validate --add-include-path /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir --add-include-path /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir --identifier-prefix=GI --symbol-prefix=g --symbol-prefix=gi --c-include=girepository.h --namespace=GIRepository --nsversion=2.0 --library=girepository-1.0 --pkg-export=gobject-introspection-1.0 -L/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/../girepository --include-uninstalled=/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/GObject-2.0.gir --cflags-begin -I/Users/cbouvier/pkg/include/glib-2.0 -I/Users/cbouvier/pkg/lib/glib-2.0/include -I/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/gir/../girepository -I/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/gir/../girepository -DGI_COMPILATION --cflags-end ../girepository/giarginfo.c ../girepository/gibaseinfo.c ../girepository/gicallableinfo.c ../girepository/giconstantinfo.c ../girepository/gienuminfo.c ../girepository/gifieldinfo.c ../girepository/gifunctioninfo.c ../girepository/giinterfaceinfo.c ../girepository/giobjectinfo.c ../girepository/gipropertyinfo.c ../girepository/giregisteredtypeinfo.c ../girepository/girepository.c ../girepository/gisignalinfo.c ../girepository/gistructinfo.c ../girepository/gitypeinfo.c ../girepository/giunioninfo.c ../girepository/giversion.c ../girepository/givfuncinfo.c ../girepository/giarginfo.h ../girepository/gibaseinfo.h ../girepository/gicallableinfo.h ../girepository/giconstantinfo.h ../girepository/gienuminfo.h ../girepository/gifieldinfo.h ../girepository/gifunctioninfo.h ../girepository/giinterfaceinfo.h ../girepository/giobjectinfo.h ../girepository/gipropertyinfo.h ../girepository/giregisteredtypeinfo.h ../girepository/girepository.h ../girepository/gisignalinfo.h ../girepository/gistructinfo.h ../girepository/gitypeinfo.h ../girepository/gitypelib.h ../girepository/gitypes.h ../girepository/giunioninfo.h ../girepository/givfuncinfo.h girepository/giversion.h
dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
  Referenced from: /Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspecttr76is3p/GIRepository-2.0
  Reason: image not found
Command '['/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspecttr76is3p/GIRepository-2.0', '--introspect-dump=/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspecttr76is3p/functions.txt,/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.60.1/output/tmp-introspecttr76is3p/dump.xml']' died with <Signals.SIGABRT: 6>.
[123/125] Generating gir-gio with a custom command.
ninja: build stopped: subcommand failed.

So I suppose the solution with compiler is more tricky than just removing the setting of environment variables of the compiler.

I also removed all references at time_t whatever the platform is NetBSD or MirBSD. Is it correct?

Moreover, the install part finished with:

=> Checking for work-directory references in gobject-introspection-1.60.1nb2
WARNING: [check-fakehome.mk] fake home directory not empty:
	/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/.home
	/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/.home/.cache
	/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/.home/.cache/g-ir-scanner
	/Users/cbouvier/prj/pkgsrc/devel/gobject-introspection/work/.home/.cache/g-ir-scanner/.cache-version

Do we have any clean method to avoid the warning? (Meson configure or something else)?

Devez/glib2 patch has not changed since last time but comments are welcomed.

Cheers,
Clement.

Attachment: patch-gobject-introspection.diff
Description: Binary data

Attachment: patch-glib2.diff
Description: Binary data




Home | Main Index | Thread Index | Old Index