Package: src:chessx
Version: 1.4.6-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 --parallel
   dh_update_autotools_config -a -O--parallel
   dh_auto_configure -a -O--parallel
        qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
"QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
"QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
-Wl,-z,now" QMAKE_STRIP=: PREFIX=/usr
Info: creating stash file /<<PKGBUILDDIR>>/.qmake.stash
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_de.qm'
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_fr.qm'
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_it.qm'
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_cz.qm'
RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_ru.qm'
   dh_auto_build -a -O--parallel
        make -j1

[... snipped ...]

/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: 
forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
src/dialogs/savedialog.cpp: In destructor 'virtual SaveDialog::~SaveDialog()':
src/dialogs/savedialog.cpp:52:12: warning: possible problem detected in 
invocation of delete operator: [-Wdelete-incomplete]
     delete group;
            ^~~~~
src/dialogs/savedialog.cpp:52:12: warning: invalid use of incomplete type 
'class QButtonGroup'
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qradiobutton.h:44,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QRadioButton:1,
                 from src/generated/ui_savedialog.h:22,
                 from src/dialogs/savedialog.h:21,
                 from src/dialogs/savedialog.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: 
forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
src/dialogs/savedialog.cpp:52:12: note: neither the destructor nor the 
class-specific operator delete will be called, even if they are declared when 
the class is defined
     delete group;
            ^~~~~
src/dialogs/savedialog.cpp: In member function 'virtual int 
SaveDialog::save(Database*, Game&)':
src/dialogs/savedialog.cpp:107:64: error: invalid use of incomplete type 'class 
QButtonGroup'
     QList<QAbstractButton*> buttons = ui.result1Button->group()->buttons();
                                                                ^~
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qradiobutton.h:44,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QRadioButton:1,
                 from src/generated/ui_savedialog.h:22,
                 from src/dialogs/savedialog.h:21,
                 from src/dialogs/savedialog.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: 
forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
src/dialogs/savedialog.cpp:129:61: error: invalid use of incomplete type 'class 
QButtonGroup'
         game.setTag(TagNameResult, 
ui.result1Button->group()->checkedButton()->text());
                                                             ^~
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qradiobutton.h:44,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QRadioButton:1,
                 from src/generated/ui_savedialog.h:22,
                 from src/dialogs/savedialog.h:21,
                 from src/dialogs/savedialog.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: 
forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
make[1]: *** [Makefile:3987: obj_rel/savedialog.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:12: 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/chessx.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.

Reply via email to