[Pkg-mpd-maintainers] Bug#880250: 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
Mon Oct 30 19:26:42 UTC 2017


Source: mpd
Version: 0.20.9-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20171030 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 -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"'    -I/usr/include/opus   -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/encoder/plugins/libencoder_plugins_a-FlacEncoderPlugin.o `test -f 'src/encoder/plugins/FlacEncoderPlugin.cxx' || echo './'`src/encoder/plugins/FlacEncoderPlugin.cxx
> In file included from src/archive/plugins/Iso9660ArchivePlugin.cxx:34: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 {
>         ^~~~~~~~~~~~~
> g++ -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"' -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/lib/pulse/libpulse_a-LogError.o `test -f 'src/lib/pulse/LogError.cxx' || echo './'`src/lib/pulse/LogError.cxx
> g++ -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"' -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/lib/pulse/libpulse_a-Error.o `test -f 'src/lib/pulse/Error.cxx' || echo './'`src/lib/pulse/Error.cxx
> g++ -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"' -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o src/lib/pulse/libpulse_a-Domain.o `test -f 'src/lib/pulse/Domain.cxx' || echo './'`src/lib/pulse/Domain.cxx
> g++ -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/etc/mpd.conf"'  -DCPPUNIT_HAVE_RTTI=0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pthread -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -c -o test/test_test_util-test_util.o `test -f 'test/test_util.cxx' || echo './'`test/test_util.cxx
> Makefile:7913: recipe for target 'src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o' failed
> make[3]: *** [src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/10/30/mpd_0.20.9-2_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