3.9.7: build fails
configure executed with:
--disable-static \
--disable-check \
--enable-gtk-doc \
--disable-tests \
build fails on:
[tkloczko@barrel libdmapsharing-3.9.7]$ make make all-recursive make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7' Making all in libdmapsharing make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/libdmapsharing' Makefile:1490: warning: overriding recipe for target 'check' Makefile:1238: warning: ignoring old recipe for target 'check' make[2]: Circular dmap-enums.h <- dmap-enums.h dependency dropped. make all-am make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/libdmapsharing' Makefile:1490: warning: overriding recipe for target 'check' Makefile:1238: warning: ignoring old recipe for target 'check' make[3]: Circular dmap-enums.h <- dmap-enums.h dependency dropped. make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/libdmapsharing' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/libdmapsharing' Making all in vala make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/vala' /usr/bin/vapigen --pkg=avahi-gobject --pkg=libsoup-2.4 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gstreamer-1.0 --library libdmapsharing-4.0 libdmapsharing-4.0.gi Generation succeeded - 0 warning(s) make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/vala' Making all in tests make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/tests' make all-am make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/tests' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/tests' Making all in doc make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc' _source_dir='' ; \ for i in ../libdmapsharing ; do \ _source_dir="${_source_dir} --source-dir=$i" ; \ done ; \ gtkdoc-scan --module=libdmapsharing-4.0 --ignore-headers="dmap-config.h dmap-connection-private.h dmap-gst-mp3-input-stream.h dmap-gst-qt-input-stream.h dmap-gst-wav-input-stream.h dmap.h dmap-marshal.h dmap-mdns-avahi.h dmap-private-utils.h dmap-share-private.h dmap-structure.h gst-util.h test-*.h" ${_source_dir} if grep -l '^..*$' libdmapsharing-4.0.types > /dev/null 2>&1 ; then \ scanobj_options=""; \ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$?" = "0"; then \ if test "x" = "x1"; then \ scanobj_options="--verbose"; \ fi; \ fi; \ CC="/bin/sh ../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -O2 -Wall " LD="/bin/sh ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -O2 -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin" RUN="/bin/sh ../libtool --mode=execute" CFLAGS="-I.. -I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -O2 -Wall " LDFLAGS="../libdmapsharing/libdmapsharing-4.0.la -lglib-2.0 -pthread -lgthread-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lavahi-common -lavahi-client -lavahi-glib -lglib-2.0 -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin" \ gtkdoc-scangobj $scanobj_options --module=libdmapsharing-4.0; \ else \ for i in libdmapsharing-4.0.args libdmapsharing-4.0.hierarchy libdmapsharing-4.0.interfaces libdmapsharing-4.0.prerequisites libdmapsharing-4.0.signals ; do \ test -f $i || touch $i ; \ done \ fi /usr/bin/ld: /tmp/libdmapsharing-4.0-scan.zNAnfU.ltrans0.ltrans.o: in function `main': /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:91: undefined reference to `test_dmap_av_record_factory_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:92: undefined reference to `test_dmap_av_record_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:93: undefined reference to `test_dmap_container_db_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:94: undefined reference to `test_dmap_container_record_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:95: undefined reference to `test_dmap_db_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:96: undefined reference to `test_dmap_image_record_factory_get_type' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc/libdmapsharing-4.0-scan.c:97: undefined reference to `test_dmap_image_record_get_type' collect2: error: ld returned 1 exit status 2019-07-16 23:43:42,536:scangobj.py:execute_command:1198:WARNING:Linking scanner failed: 1, command: /bin/sh ../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -O2 -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin libdmapsharing-4.0-scan.lo ../libdmapsharing/libdmapsharing-4.0.la -lglib-2.0 -pthread -lgthread-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lavahi-common -lavahi-client -lavahi-glib -lglib-2.0 -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o libdmapsharing-4.0-scan make[2]: *** [Makefile:760: scan-build.stamp] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7/doc' make[1]: *** [Makefile:526: all-recursive] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libdmapsharing-3.9.7'