Bug#853438: guymager: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:59 UTC 2017

Package: src:guymager
Version: 0.8.3-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at

make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# remove leftover files:
rm -f guymager
rm -f guymager_de.qm guymager_en.qm guymager_fr.qm guymager_it.qm guymager_nl.qm
rm -f Makefile
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 dpkg-source -b guymager-0.8.3
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: applying adjust_compileinfo
dpkg-source: info: building guymager using existing ./guymager_0.8.3.orig.tar.gz
dpkg-source: info: building guymager in guymager_0.8.3-1.debian.tar.xz
dpkg-source: info: building guymager in guymager_0.8.3-1.dsc
 debian/rules build
dh build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
File series fully applied, ends at patch adjust_compileinfo
qmake-qt4 DEFINES+="SPLASH_DIR=\'\\\"/usr/share/guymager\\\"\' LANGUAGE_DIR=\'\\\"/usr/share/guymager\\\"\' LANGUAGE_DIR_QT=\'\\\"/usr/share/qt4/translations\\\"\'"
touch configure-stamp
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -c -m64 -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -O3 -Wall -W -fmessage-length=0 -fno-strict-aliasing -D_REENTRANT -DSPLASH_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR_QT='"/usr/share/qt4/translations"' -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/libguytools2 -Imoc -o aaff.o aaff.cpp
aaff.cpp:82:22: error: flexible array member 't_AffSegmentHeader::Name' not at end of 'struct _t_Aaff'
    char         Name[];            //lint !e1501
aaff.cpp:109:25: note: next member 't_AffSegmentFooter _t_Aaff::SegmentFooter' declared here
    t_AffSegmentFooter   SegmentFooter;  // allocated and initialised once, and can be used again and again
aaff.cpp:98:16: note: in the definition of 'struct _t_Aaff'
 typedef struct _t_Aaff
Makefile:620: recipe for target 'aaff.o' failed
make[2]: *** [aaff.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

More information about the forensics-devel mailing list