Bug#868915: gpac: FTBFS: faad_dec.c:408:35: error: expected '; ' before 'PACKAGE_VERSION'

Lucas Nussbaum lucas at debian.org
Wed Jul 19 15:42:25 UTC 2017


Source: gpac
Version: 0.5.2-426-gc5ad4e4+dfsg5-3
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 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):
> gcc -O2  -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gpac-0.5.2-426-gc5ad4e4+dfsg5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -msse2 -DGPAC_HAVE_CONFIG_H -I"/<<BUILDDIR>>/gpac-0.5.2-426-gc5ad4e4+dfsg5" -fvisibility="hidden" -I"/<<BUILDDIR>>/gpac-0.5.2-426-gc5ad4e4+dfsg5/include" -g -DGPAC_HAS_FAAD -c -o faad_dec.o faad_dec.c
> In file included from faad_dec.c:40:0:
> /usr/include/faad.h:32:9: note: #pragma message: please update faad2 include filename and function names!
>  #pragma message("please update faad2 include filename and function names!")
>          ^~~~~~~
> In file included from /usr/include/faad.h:35:0,
>                  from faad_dec.c:40:
> faad_dec.c: In function 'FAAD_GetCodecName':
> faad_dec.c:408:35: error: expected ';' before 'PACKAGE_VERSION'
>   if (ctx->is_sbr) return "FAAD2 " FAAD2_VERSION " SBR mode";
>                                    ^
> faad_dec.c:409:18: error: expected ';' before 'PACKAGE_VERSION'
>   return "FAAD2 " FAAD2_VERSION;
>                   ^
> ../../config.mak:148: recipe for target 'faad_dec.o' failed
> make[3]: *** [faad_dec.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/gpac_0.5.2-426-gc5ad4e4+dfsg5-3_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-multimedia-maintainers mailing list