Bug#841544: guymager: FTBFS: aaff.cpp:82:22: error: flexible array member 't_AffSegmentHeader::Name' not at end of 'struct _t_Aaff'

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:26:01 UTC 2016

Source: guymager
Version: 0.7.4-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64


During a rebuild of all packages in sid, your package failed to build on

Relevant part (hopefully):
> g++ -c -m64 -pipe -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_NO_DEBUG -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:616: recipe for target 'aaff.o' failed
> make[2]: *** [aaff.o] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

More information about the forensics-devel mailing list