Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626256 - media-video/gpac-0.7.1[aac] build fails with media-libs/faad2-2.8.1: error: expected ';' before 'PACKAGE_VERSION'
Summary: media-video/gpac-0.7.1[aac] build fails with media-libs/faad2-2.8.1: error: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-26 14:08 UTC by Matt Whitlock
Modified: 2017-07-26 14:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,261.33 KB, text/plain)
2017-07-26 14:08 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2017-07-26 14:08:07 UTC
Created attachment 486882 [details]
build.log

$ emerge -Opqv media-libs/faad2 media-video/gpac
[ebuild   R   ] media-libs/faad2-2.8.1  USE="-digitalradio -static-libs" ABI_X86="(64) -32 -x32"
[ebuild     U ] media-video/gpac-0.7.1 [0.6.1-r2] USE="X a52 aac alsa ffmpeg ipv6 jpeg mad opengl png sdl ssl theora truetype vorbis xml xvid -debug -dvb -jack -jpeg2k -libav -libressl -oss -pulseaudio -static-libs"


x86_64-pc-linux-gnu-gcc -march=native -O3 -ggdb -pipe -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -msse2 -DNDEBUG -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-0.7.1/work/gpac-0.7.1" -fvisibility="hidden" -I"/var/tmp/portage/media-video/gpac-0.7.1/work/gpac-0.7.1/include" -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;
                  ^
make[2]: *** [../../config.mak:147: faad_dec.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-video/gpac-0.7.1/work/gpac-0.7.1/modules/aac_in'
make[1]: *** [Makefile:165: plugs] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-video/gpac-0.7.1/work/gpac-0.7.1/modules'
make: *** [Makefile:11: all] Error 2
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-07-26 14:41:47 UTC
commit 662c67880e6d6713d812b4ff37ca7c35e83dc765 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 26 13:31:02 2017

    media-libs/faad2: Revbump adding a dummy version macro.

    Package-Manager: Portage-2.3.6, Repoman-2.3.3


Fixed with =media-libs/faad2-2.8.1-r1