Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469582 - net-libs/pjsip-2.1: build fails with ‘PIX_FMT_GBR24P’ undeclared here (not in a function)
Summary: net-libs/pjsip-2.1: build fails with ‘PIX_FMT_GBR24P’ undeclared here (not in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://trac.pjsip.org/repos/changeset...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-12 14:12 UTC by Nikolaj Šujskij
Modified: 2013-06-17 07:45 UTC (History)
0 users

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


Attachments
`emerge --info '=net-libs/pjsip-2.1'` output (file_469582.txt,16.20 KB, text/plain)
2013-05-12 14:12 UTC, Nikolaj Šujskij
Details
Full net-libs/pjsip-2.1 build.log (build.log,187.83 KB, text/plain)
2013-05-12 14:12 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2013-05-12 14:12:05 UTC
Created attachment 348076 [details]
`emerge --info '=net-libs/pjsip-2.1'` output

% emerge -pqv '=net-libs/pjsip-2.1'
[ebuild  N    ] net-libs/pjsip-2.1  USE="alsa cli python speex -doc -examples -ext-sound -g711 -g722 -g7221 -gsm -ilbc -l16 -oss"

   .......

x86_64-pc-linux-gnu-gcc -c -Wall -DPJ_AUTOCONF=1 -march=k8-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1   -march=k8-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -DPJMEDIA_HAS_SPEEX_AEC=0  -DPJMEDIA_HAS_LIBAVFORMAT=1 -DPJMEDIA_HAS_LIBAVCODEC=1 -DPJMEDIA_HAS_LIBSWSCALE=1 -DPJMEDIA_HAS_LIBAVUTIL=1       -DPJMEDIA_HAS_G711_CODEC=0 -DPJMEDIA_HAS_L16_CODEC=0 -DPJMEDIA_HAS_GSM_CODEC=0 -DPJMEDIA_HAS_SPEEX_CODEC=0 -DPJMEDIA_HAS_ILBC_CODEC=0 -DPJMEDIA_HAS_G722_CODEC=0 -DPJMEDIA_HAS_G7221_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRWB_CODEC=0 -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/build/portaudio -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include -I../../pjlib-util/include -I../../pjmedia/include -I../../pjnath/include -I../.. -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/build/srtp -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/srtp/crypto/include -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/srtp/include  \
        -o output/pjmedia-x86_64-pc-linux-gnu/ffmpeg_util.o \
        ../src/pjmedia/ffmpeg_util.c 
../src/pjmedia/ffmpeg_util.c:48:28: error: ‘PIX_FMT_GBR24P’ undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c: In function ‘pjmedia_format_id_to_CodecID’:
../src/pjmedia/ffmpeg_util.c:173:35: warning: comparison between ‘const enum CodecID’ and ‘enum PixelFormat’ [-Wenum-compare]
make[2]: *** [output/pjmedia-x86_64-pc-linux-gnu/ffmpeg_util.o] Error 1

See full build.log and emerge --info attached
Comment 1 Nikolaj Šujskij 2013-05-12 14:12:57 UTC
Created attachment 348078 [details]
Full net-libs/pjsip-2.1 build.log
Comment 2 Sergey Popov gentoo-dev 2013-05-12 14:16:20 UTC
Which version of ffmpeg/libav do you use?
Comment 3 Nikolaj Šujskij 2013-05-12 14:17:30 UTC
 % emerge -pqv libav
[ebuild   R   ] media-video/libav-0.8.6  USE="3dnow 3dnowext X aac alsa bzip2 encode gpl hardcoded-tables mmx mmxext mp3 qt-faststart sdl speex ssl ssse3 theora threads truetype vdpau vorbis vpx x264 xvid zlib (-altivec) -amr -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k (-neon) -network -openssl -oss -pic -pulseaudio -rtmp -schroedinger -static-libs {-test} -v4l -vaapi (-vis)"
Comment 4 Sergey Popov gentoo-dev 2013-06-17 07:19:43 UTC
+  17 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> +pjsip-2.1-r1.ebuild,
+  +files/pjsip-2.1-new-ffmpeg-workaround.patch:
+  Revision bump: EAPI 5, epatch_user, fix building with new ffmpeg/libav, wrt
+  bug #469582
Comment 5 Sergey Popov gentoo-dev 2013-06-17 07:45:40 UTC
Little note - upstream is aware of this issue and fix will be included in latest version. Probably i should incorporate patch from upstream...