Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354769 - media-video/ffmpeg-0.6_p25767: /usr/include/libavformat/avformat.h:245: Error: »AVPacket« has not been declared
Summary: media-video/ffmpeg-0.6_p25767: /usr/include/libavformat/avformat.h:245: Error...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-13 18:20 UTC by David
Modified: 2011-11-23 08:06 UTC (History)
3 users (show)

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


Attachments
compile message (chrom.txt,31.64 KB, text/plain)
2011-02-13 18:21 UTC, David
Details
build.log (build.log.zip,48.99 KB, application/x-zip)
2011-02-16 18:02 UTC, David
Details
ermerge --info (emerge_info.txt,4.46 KB, text/plain)
2011-02-16 18:03 UTC, David
Details
avformat.h (avformat.h,54.29 KB, text/plain)
2011-02-22 22:28 UTC, David
Details
avcodec.h (avcodec.h,132.70 KB, text/plain)
2011-02-22 22:29 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
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*