Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354769

Summary: media-video/ffmpeg-0.6_p25767: /usr/include/libavformat/avformat.h:245: Error: »AVPacket« has not been declared
Product: Gentoo Linux Reporter: David <00091701>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED OBSOLETE    
Severity: normal CC: chromium, saintdev, wolf31o2
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compile message
build.log
ermerge --info
avformat.h
avcodec.h

Description David 2011-02-13 18:20:25 UTC
can't compile - /usr/include/libavformat/avformat.h:245: Error: »AVPacket« has not been declared

Reproducible: Always

Steps to Reproduce:
1. emerge chromium
2.
3.
Comment 1 David 2011-02-13 18:21:00 UTC
Created attachment 262373 [details]
compile message
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-15 15:02:24 UTC
 * If you need support, post the output of 'emerge --info =www-client/chromium-9.0.597.84',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-9.0.597.84'.
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-9.0.597.84/temp/build.log'.
Comment 3 David 2011-02-16 18:02:56 UTC
Created attachment 262771 [details]
build.log
Comment 4 David 2011-02-16 18:03:54 UTC
Created attachment 262773 [details]
ermerge --info
Comment 5 David 2011-02-21 22:05:03 UTC
this bug is not resolved.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-21 23:00:24 UTC
(In reply to comment #5)
> this bug is not resolved.

It was previously incomplete too. :)
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-22 07:49:21 UTC
Can't reproduce here. /usr/include/libavformat/avformat.h #includes /usr/include/libavcodec/avcodec.h which provides a definition of AVPacket.

Could you post the output of emerge -1pv ffmpeg and attach the contents of /usr/include/libavformat/avformat.h and /usr/include/libavcodec/avcodec.h?
Comment 8 David 2011-02-22 22:26:42 UTC
emerge -1pv ffmpeg
FEATURES variable contains unknown value(s): loadpolicy

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/ffmpeg-0.6_p25767  USE="X alsa bzip2 encode hardcoded-tables jpeg2k mp3 theora threads vorbis vpx zlib (-3dnow) (-3dnowext) (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack (-mmx) (-mmxext) -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex (-ssse3) -static-libs -test -v4l -v4l2 -vaapi -vdpau (-x264) -xvid" VIDEO_CARDS="(-nvidia)" 0 kB
Comment 9 David 2011-02-22 22:28:03 UTC
Created attachment 263571 [details]
avformat.h
Comment 10 David 2011-02-22 22:29:13 UTC
Created attachment 263573 [details]
avcodec.h
Comment 11 David 2011-02-22 22:36:55 UTC
if I want to compile
USE="ffmpeg" emerge -q sox

I have the same problem like compiling chromium. so I think that the main problem is not in chromium.
Comment 12 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-23 07:12:27 UTC
(In reply to comment #11)
> I have the same problem like compiling chromium. so I think that the main
> problem is not in chromium.

Thanks for checking that. Redirecting to ffmpeg maintainers then.
Comment 13 Alexis Ballier gentoo-dev 2011-11-22 17:13:29 UTC
could you please try with latest stable ffmpeg ? never seen such an issue, maybe its picking a avcodec.h in /usr/local ?
Comment 14 David 2011-11-23 08:06:25 UTC
I am sorry but I can't try because I had to setup my notebook. At this time I switched to Ubuntu. *sorry*