[Pkg-mpd-maintainers] Bug#841556: mpd: FTBFS: iso9660.h:277:45: error: flexible array member 'iso9660_dir_s::filename' not at end of 'struct iso9660_pvd_s'
Lucas Nussbaum
lucas at debian.org
Fri Oct 21 13:28:18 UTC 2016
Source: mpd
Version: 0.19.19-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I./src -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"' -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o `test -f 'src/archive/plugins/Iso9660ArchivePlugin.cxx' || echo './'`src/archive/plugins/Iso9660ArchivePlugin.cxx
> In file included from src/archive/plugins/Iso9660ArchivePlugin.cxx:36:0:
> /usr/include/cdio/iso9660.h:277:45: error: flexible array member 'iso9660_dir_s::filename' not at end of 'struct iso9660_pvd_s'
> char filename[EMPTY_ARRAY_SIZE];
> ^
> /usr/include/cdio/iso9660.h:310:20: note: next member 'char iso9660_pvd_s::root_directory_filename' declared here
> char root_directory_filename; /**< Is '\\0' or root
> ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/cdio/iso9660.h:283:8: note: in the definition of 'struct iso9660_pvd_s'
> struct iso9660_pvd_s {
> ^~~~~~~~~~~~~
> /usr/include/cdio/iso9660.h:277:45: error: flexible array member 'iso9660_dir_s::filename' not at end of 'struct iso9660_svd_s'
> char filename[EMPTY_ARRAY_SIZE];
> ^
> /usr/include/cdio/iso9660.h:424:20: note: next member 'char iso9660_svd_s::root_directory_filename' declared here
> char root_directory_filename; /**< Is '\\0' or root
> ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/cdio/iso9660.h:392:8: note: in the definition of 'struct iso9660_svd_s'
> struct iso9660_svd_s {
> ^~~~~~~~~~~~~
> Makefile:7302: recipe for target 'src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o' failed
> make[3]: *** [src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.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
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185
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:
http://aws-logs.debian.net/2016/10/21/mpd_0.19.19-1_unstable.log
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 Pkg-mpd-maintainers
mailing list