Problem found when building graphics/gstreamer1-plugins-gl on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit, running on Apple Powerbook 17". /usr/ports/graphics/gstreamer1-plugins-gl # make -DBATCH install clean ===> Building for gstreamer1-plugins-gl-1.16.2 ..... ..... ..... --output GstVideo-1.0.gir \ ./colorbalance.h ./colorbalancechannel.h ./navigation.h ./video.h ./video-prelude.h ./video-anc.h ./video-event.h ./video-format.h ./video-chroma.h ./video-color.h ./video-converter.h ./video-dither.h ./video-info.h ./video-frame.h ./video-scaler.h ./video-tile.h ./gstvideoaggregator.h ./gstvideosink.h ./gstvideofilter.h ./gstvideometa.h ./gstvideoaffinetransformationmeta.h ./gstvideopool.h ./videodirection.h ./videoorientation.h ./videooverlay.h ./gstvideodecoder.h ./gstvideoencoder.h ./gstvideoutils.h ./video-resampler.h ./video-blend.h ./video-overlay-composition.h ./video-multiview.h ./gstvideotimecode.h ./video-enumtypes.h \ ./colorbalance.c ./colorbalancechannel.c ./navigation.c ./video.c ./video-anc.c ./video-event.c ./video-format.c ./video-chroma.c ./video-color.c ./video-converter.c ./video-dither.c ./video-info.c ./video-frame.c ./video-scaler.c ./video-tile.c ./gstvideoaggregator.c ./gstvideosink.c ./gstvideofilter.c ./convertframe.c ./gstvideoaffinetransformationmeta.c ./gstvideometa.c ./gstvideopool.c ./videodirection.c ./videoorientation.c ./videooverlay.c ./gstvideodecoder.c ./gstvideoencoder.c ./gstvideoutils.c ./gstvideoutilsprivate.c ./video-resampler.c ./video-blend.c ./video-overlay-composition.c ./video-multiview.c ./gstvideotimecode.c ./video-enumtypes.c /usr/include/stdlib.h:258: syntax error, unexpected '^' in 'int atexit_b(void (^ )(void));' at '^' /usr/include/stdlib.h:260: syntax error, unexpected '^' in ' size_t, int (^ )(const void *, const void *));' at '^' /usr/include/stdlib.h:260: syntax error, unexpected ',', expecting identifier or '(' in ' size_t, int (^ )(const void *, const void *));' at ',' /usr/include/stdlib.h:260: syntax error, unexpected ')', expecting identifier or '(' in ' size_t, int (^ )(const void *, const void *));' at ')' /usr/include/stdlib.h:289: syntax error, unexpected '^' in ' int (^ )(const void *, const void *));' at '^' /usr/include/stdlib.h:289: syntax error, unexpected ',', expecting identifier or '(' in ' int (^ )(const void *, const void *));' at ',' /usr/include/stdlib.h:289: syntax error, unexpected ')', expecting identifier or '(' in ' int (^ )(const void *, const void *));' at ')' /usr/include/stdlib.h:291: syntax error, unexpected '^' in ' int (^ )(const void *, const void *));' at '^' /usr/include/stdlib.h:291: syntax error, unexpected ',', expecting identifier or '(' in ' int (^ )(const void *, const void *));' at ',' /usr/include/stdlib.h:291: syntax error, unexpected ')', expecting identifier or '(' in ' int (^ )(const void *, const void *));' at ')' /usr/include/stdlib.h:296: syntax error, unexpected '^' in 'int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *));' at '^' /usr/include/stdlib.h:296: syntax error, unexpected ',', expecting identifier or '(' in 'int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *));' at ',' /usr/include/stdlib.h:296: syntax error, unexpected ')', expecting identifier or '(' in 'int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *));' at ')' /usr/include/dirent.h:130: syntax error, unexpected '^' in ' int (^)(const struct dirent *),' at '^' /usr/include/dirent.h:130: syntax error, unexpected ')', expecting identifier or '(' in ' int (^)(const struct dirent *),' at ')' /usr/include/dirent.h:131: syntax error, unexpected ',', expecting identifier or '(' in ' int (^)(const struct dirent **, const struct dirent **));' at ',' /usr/include/dirent.h:131: syntax error, unexpected ')', expecting identifier or '(' in ' int (^)(const struct dirent **, const struct dirent **));' at ')' g-ir-scanner: link: /bin/sh ../../../libtool --mode=link --tag=CC cc -std=gnu99 -o /usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/GstVideo-1.0 -export-dynamic -I/usr/local/include -O2 -pipe -Wno-format -fstack-protector-strong -fno-strict-aliasing /usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/GstVideo-1.0.o -L. libgstvideo-1.0.la -L/usr/local/lib -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lpthread -L/usr/local/lib -fstack-protector-strong libtool: link: cc -std=gnu99 -o /usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/.libs/GstVideo-1.0 -I/usr/local/include -O2 -pipe -Wno-format -fstack-protector-strong -fno-strict-aliasing /usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/GstVideo-1.0.o -Wl,--export-dynamic -pthread -fstack-protector-strong -Wl,--export-dynamic -L. ./.libs/libgstvideo-1.0.so -L/usr/local/lib -lgio-2.0 -lgmodule-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lpthread -pthread -Wl,-rpath -Wl,/usr/local/lib Invalid GType function: 'gst_video_ancillary_did_get_type' Failed to find symbol 'gst_video_ancillary_did_get_type' Command '['/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/GstVideo-1.0', '--introspect-dump=/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/functions.txt,/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video/tmp-introspect775oluwo/dump.xml']' returned non-zero exit status 1. gmake[2]: *** [Makefile:1706: GstVideo-1.0.gir] Error 1 gmake[2]: Leaving directory '/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video' gmake[1]: *** [Makefile:841: all] Error 2 gmake[1]: Leaving directory '/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.16.2/gst-libs/gst/video' *** Error code 2 Stop. make: stopped in /usr/ports/graphics/gstreamer1-plugins-gl
I have not tested it, but try also add to the Makefile: USES= compiler:c++14-lang
(In reply to Walter Schwarzenfeld from comment #1) > USES=compiler:c++14-lang From the build log, it looks like a C, not C++ piece of software, why are you suggesting C++14 standard? Even if you want to say "use modern compiler", it should be spelled as compiler:c11, not c++whatever.
It looks like I already fixed it. Can you test whether it works?
(In reply to Piotr Kubaj from comment #3) I tried this morning with everything updated AFAIK. Version is the same ===> Building for gstreamer1-plugins-gl-1.16.2 and I still get the same error Is there a way to check your fix is present in my system ?