Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387613 - media-video/gpac-0.4.5-r4 - ffmpeg_in.h:62:29: fatal error: ffmpeg/avformat.h: No such file or directory
Summary: media-video/gpac-0.4.5-r4 - ffmpeg_in.h:62:29: fatal error: ffmpeg/avformat.h...
Status: RESOLVED INVALID
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: 2011-10-19 00:03 UTC by Martin Mokrejš
Modified: 2011-12-16 19:22 UTC (History)
0 users

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


Attachments
build.log (build.log,187.19 KB, text/plain)
2011-10-19 00:03 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2011-10-19 00:03:41 UTC
i686-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--warn-common -o ../../bin/gcc/gm_ft_font.so ft_font.opic -L../../bin/gcc -lgpac -lfreetype -lz -lbz2 -lm
make[2]: Leaving directory `/var/tmp/portage/media-video/gpac-0.4.5-r4/work/gpac/modules/ft_font'
make[2]: Entering directory `/var/tmp/portage/media-video/gpac-0.4.5-r4/work/gpac/modules/ffmpeg_in'
i686-pc-linux-gnu-gcc -O2 -march=pentium4m -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing -I/var/tmp/portage/media-video/gpac-0.4.5-r4/work/gpac/include  -fPIC -DPIC -c ffmpeg_decode.c -o ffmpeg_decode.opic
In file included from ffmpeg_decode.c:25:0:
ffmpeg_in.h:62:29: fatal error: ffmpeg/avformat.h: No such file or directory
compilation terminated.
make[2]: *** [ffmpeg_decode.opic] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/gpac-0.4.5-r4/work/gpac/modules/ffmpeg_in'
make[1]: *** [plugs] Error 2



Looks ffmpeg package installed /usr/include/libavformat/avformat.h instead.
Comment 1 Martin Mokrejš 2011-10-19 00:03:59 UTC
Created attachment 290211 [details]
build.log
Comment 2 Rafał Mużyło 2011-10-19 00:34:58 UTC
Could you check what caused these errors:
./configure: line 886: test: : integer expression expected
./configure: line 890: test: : integer expression expected


As for the headers, they were moved quite a few releases ago and one of the patches should add a define, that makes the switch, but for some reason, the check seems to have failed for you.
Comment 3 Martin Mokrejš 2011-10-19 11:41:00 UTC
(In reply to comment #2)
> Could you check what caused these errors:
> ./configure: line 886: test: : integer expression expected
> ./configure: line 890: test: : integer expression expected
> 

 878 #look for wxWidgets support
 879 has_wx="no"
 880 wx_too_old="no"
 881 
 882 if test "`which false`" != "" ; then
 883 
 884 wx_version=`false --version | sed 's/[^0-9]//g'`
 885 
 886 if test "$wx_version" -lt 250 ; then
 887 wx_too_old="yes"
 888 has_wx="no"
 889 else
 890 if test "$wx_version" -lt 260 ; then
 891 has_wx="no"
 892 wx_cflags=`false --cppflags`
 893 wx_lflags=`false --libs`
 894 else
 895 has_wx="no"
 896 wx_cflags=`false --cppflags core, base`
 897 wx_lflags=`false --libs core, base`
 898 fi
 899 
 900 if test "$darwin" = "yes" ; then
 901 wx_lflags="-Wl,-bind_at_load $wx_lflags -lstdc++" #10.4 needs it, not sure about 10.3
 902 fi
 903 
 904 fi


# eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-unicode-release-2.8 *
#

> As for the headers, they were moved quite a few releases ago and one of the
> patches should add a define, that makes the switch, but for some reason, the
> check seems to have failed for you.

Hmm, I had media-video/ffmpeg-0.7_rc1 installed. I unmerged that version and installed media-video/ffmpeg-0.7.6 but media-sound/sox-14.3.2-r1 pulled in virtual/ffmpeg-0.6.90? Could that be an extra issue?

Nevertheless, now I could compile due to the ffmpeg upgrade. Please fix the version dependency. The problem is not related to the `test: integer expression expected' messages, they still happen for me. That is a separate issue.
Comment 4 Alexis Ballier gentoo-dev 2011-12-16 19:22:58 UTC
(In reply to comment #3)
> Hmm, I had media-video/ffmpeg-0.7_rc1 installed. I unmerged that version and
> installed media-video/ffmpeg-0.7.6 but media-sound/sox-14.3.2-r1 pulled in
> virtual/ffmpeg-0.6.90? Could that be an extra issue?
> 
> Nevertheless, now I could compile due to the ffmpeg upgrade. Please fix the
> version dependency. The problem is not related to the `test: integer expression
> expected' messages, they still happen for me. That is a separate issue.

headers are at the same location in 0.7_rc1 and 0.7.6
closing as invalid since the problem is probably coming from somewhere else and is fixed anyway now