tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
devel/gobject-introspection + MacOS
Once again I am having trouble compiling devel/gobject-introspection on MacOS/Catalina. The error message is:
In file included from /private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/output/g-ir-cpp-xyz5iirl.c:4:
/private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/girepository/giarginfo.h:30:10: error: 'gitypes.h' file not found with <angled> include; use "quotes" instead
Here is the corresponding bit from .work.log:
[*] cc -E -I/Users/brook/pkg-2020Q2/include/glib-2.0 -I/Users/brook/pkg-2020Q2/include/gio-unix-2.0 -I/Users/brook/pkg-2020Q2/lib/glib-2.0/include -I/Users/brook/pkg-2020Q2/include -I/Users/brook/pkg-2020Q2/include/python3.7 -DGI_COMPILATION -U__BLOCKS__ -I. -I/Users/brook/pkg-2020Q2/include/glib-2.0 -I/Users/brook/pkg-2020Q2/lib/glib-2.0/include -I/private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/girepository -I/private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/output/girepository -I/Users/brook/pkg-2020Q2/include -o g-ir-cpp-gw9vlep7.i -C /private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/output/g-ir-cpp-gw9vlep7.c
<.> /usr/bin/clang -Qunused-arguments -fcommon -m64 -E -I/tmp/pkgsrc/devel/gobject-introspection/work/.buildlink/include/glib-2.0 -I/tmp/pkgsrc/devel/gobject-introspection/work/.buildlink/include/gio-unix-2.0 -I/tmp/pkgsrc/devel/gobject-introspection/work/.buildlink/lib/glib-2.0/include -I/tmp/pkgsrc/devel/gobject-introspection/work/.buildlink/include -I/tmp/pkgsrc/devel/gobject-introspection/work/.buildlink/include/python3.7 -DGI_COMPILATION -U__BLOCKS__ -I. -o g-ir-cpp-gw9vlep7.i -C /private/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.1/output/g-ir-cpp-gw9vlep7.c -Qunused-arguments
It looks like the what is basically -I${WRKSRC}/girepository is being removed by the wrapper transforms. That is the location of the gitypes.h file, so it is not found as indicated in the error message.
I have added BUILDLINK_PASSTHRU_DIRS+=${WRKSRC} (and ${WRKSRC}/girepository) but that makes no difference.
How can I control the command being run so that the right directories are included?
Any suggestions on how to fix this?
Thanks a lot.
Cheers,
Brook
Home |
Main Index |
Thread Index |
Old Index