Cannot build docs without tests
When configured with, --disable-tests
, building the docs fails:
make[2]: Entering directory '/build/source/doc'
DOC Preparing build
DOC Scanning header files
DOC Introspecting gobjects
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: .libs/libdmapsharing-4.0-scan.o: in function `get_object_types':
/build/source/doc/libdmapsharing-4.0-scan.c:105: undefined reference to `test_dmap_av_record_factory_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:106: undefined reference to `test_dmap_av_record_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:107: undefined reference to `test_dmap_container_db_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:108: undefined reference to `test_dmap_container_record_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:109: undefined reference to `test_dmap_db_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:110: undefined reference to `test_dmap_image_record_factory_get_type'
/nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/ld: /build/source/doc/libdmapsharing-4.0-scan.c:111: undefined reference to `test_dmap_image_record_get_type'
collect2: error: ld returned 1 exit status
2021-03-19 23:56:54,638:scangobj.py:execute_command:1289:WARNING:Linking scanner failed: 1, command: /nix/store/w65ydq10abi813fi7d5j7afdcrxj3aqq-bash-4.4-p23/bin/bash ../libtool --tag=CC --mode=link gcc -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -lgobject-2.0 -lglib-2.0 -g -O2 -O2 libdmapsharing-4.0-scan.lo ../libdmapsharing/libdmapsharing-4.0.la -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -lglib-2.0 -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -lgthread-2.0 -pthread -lglib-2.0 -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -lgobject-2.0 -lglib-2.0 -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -L/nix/store/x20h0b9rqdrl4yry9mi2y5s8p3qgxqdk-avahi-0.8/lib -lavahi-common -lavahi-client -lavahi-glib -lglib-2.0 -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -L/nix/store/g36g7znz33sll2b8n3j9kmp207mlyxch-gstreamer-1.18.2/lib -L/nix/store/bhaj2b9qnjin1wg38l5gjq7sklx39hb0-gst-plugins-base-1.18.2/lib -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -L/nix/store/cxbw3sfj8vvp2v7yydpd2f5xhsfn68zd-glib-2.66.4/lib -L/nix/store/cbcvgmm03jh49xn8p22li9khjllv44dq-libsoup-2.72.0/lib -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -o libdmapsharing-4.0-scan
make[2]: *** [Makefile:745: scan-build.stamp] Error 1
Using libdmapsharing 3.9.10
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/5pxz4rwq40j88mk1ghbx0dwrriipqd56-libdmapsharing-3.9.10 --bindir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/bin --sbindir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/sbin --includedir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/include --oldincludedir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/include --mandir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/share/man --infodir=/nix/store/2m0wg6fc7bcn0mlnk7ydy8i3bf8ngm5n-libdmapsharing-3.9.10-dev/share/info --docdir=/nix/store/5pxz4rwq40j88mk1ghbx0dwrriipqd56-libdmapsharing-3.9.10/share/doc/libdmapsharing --libdir=/nix/store/5pxz4rwq40j88mk1ghbx0dwrriipqd56-libdmapsharing-3.9.10/lib --libexecdir=/nix/store/5pxz4rwq40j88mk1ghbx0dwrriipqd56-libdmapsharing-3.9.10/libexec --localedir=/nix/store/5pxz4rwq40j88mk1ghbx0dwrriipqd56-libdmapsharing-3.9.10/share/locale --enable-gtk-doc --disable-tests