Bug#906968: algobox: FTBFS in buster/sid (invalid use of incomplete type 'class QButtonGroup')

Santiago Vila sanvila at debian.org
Wed Aug 22 20:04:14 BST 2018


Package: src:algobox
Version: 1.0.2+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_auto_configure -a
	qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/algobox-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/algobox-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/algobox-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/algobox-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: PREFIX=/usr
Info: creating stash file /<<BUILDDIR>>/algobox-1.0.2+dfsg/.qmake.stash
   dh_auto_build -a
	make -j1
make[1]: Entering directory '/<<BUILDDIR>>/algobox-1.0.2+dfsg'
/usr/lib/qt5/bin/uic findwidget.ui -o .ui/ui_findwidget.h
/usr/lib/qt5/bin/uic replacedialog.ui -o .ui/ui_replacedialog.h
/usr/lib/qt5/bin/uic algobox.ui -o .ui/ui_algobox.h
/usr/lib/qt5/bin/uic appeldialog.ui -o .ui/ui_appeldialog.h
/usr/lib/qt5/bin/uic fonctiondialog.ui -o .ui/ui_fonctiondialog.h

[... snipped ...]

                                                    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from .ui/ui_algobox.h:15,
                 from algobox.h:14,
                 from algobox.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
algobox.cpp:516:6: error: invalid use of incomplete type 'class QButtonGroup'
 group->addButton(buttonModeNormal);
      ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from .ui/ui_algobox.h:15,
                 from algobox.h:14,
                 from algobox.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
algobox.cpp:517:6: error: invalid use of incomplete type 'class QButtonGroup'
 group->addButton(buttonModeTexte);
      ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from .ui/ui_algobox.h:15,
                 from algobox.h:14,
                 from algobox.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
algobox.cpp:518:6: error: invalid use of incomplete type 'class QButtonGroup'
 group->setExclusive(true);
      ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from .ui/ui_algobox.h:15,
                 from algobox.h:14,
                 from algobox.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
make[1]: *** [Makefile:1320: .obj/algobox.o] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/algobox-1.0.2+dfsg'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:6: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/algobox.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Debian-edu-pkg-team mailing list