View previous topic :: View next topic |
Author |
Message |
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Sat Dec 27, 2014 5:43 pm Post subject: mplayer does not compile with keyworded ffmpeg [solved] |
|
|
Since a recent emerge -DNu world, mplayer build fails with a crytpic message:
Code: |
armstrong jesnow # emerge -p mplayer
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] media-video/mplayer-1.2_pre20130729 USE="X a52 alsa cddb cdio dts dvd dvdnav enca encode gif iconv jpeg libass mad mmx mng mp3 network opengl osdmenu png sdl shm sse sse2 truetype unicode vorbis x264 xinerama xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cdparanoia -cpudetection -debug -dga -directfb -doc -dv -dvb -faac -faad -fbcon -ftp -ggi -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -mmxext -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba (-selinux) -speex -ssse3 -tga -theora -toolame -tremor -twolame -v4l -vdpau -vidix -xanim -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx"
|
results in
Code: |
URCE -D_REENTRANT -I/usr/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c
i686-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=i686 -pipe -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/ebml.o libmpdemux/ebml.c
libmpdemux/ebml.c:31:42: fatal error: libavutil/intfloat_readwrite.h: No such file or directory
#include "libavutil/intfloat_readwrite.h"
^
compilation terminated.
Makefile:758: recipe for target 'libmpdemux/ebml.o' failed
make: *** [libmpdemux/ebml.o] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: media-video/mplayer-1.2_pre20130729::gentoo failed (compile phase):
* emake failed
|
This makes no sense, and according to the google I am the first person in the world to have this error message.
I *think* it has something to do with libavcodec vs. virtual/ffmpeg, but I have no idea what. Duelling use flags no doubt, but which ones, what is the correct setup? There seems to be little guidance out there. VLC is also not compiling, but with a different error in the config phase, which I will post separately.
https://forums.gentoo.org/viewtopic-p-7673556.html#7673556
All help appreciated. "works for me" and RTFM not appreciated -- I did that.
Cheers,
Jon
Last edited by jesnow on Sat Dec 27, 2014 7:00 pm; edited 2 times in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Dec 27, 2014 6:07 pm Post subject: |
|
|
Uninstall/p.mask libav and install media-video/ffmpeg, revdep-rebuild and then try to install mplayer again. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Sat Dec 27, 2014 6:17 pm Post subject: |
|
|
Ant P. wrote: | Uninstall/p.mask libav and install media-video/ffmpeg, revdep-rebuild and then try to install mplayer again. |
Code: |
armstrong jesnow # emerge -C libav
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.
--- Couldn't find 'libav' to unmerge.
>>> No packages selected for removal by unmerge
|
|
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Sat Dec 27, 2014 6:59 pm Post subject: |
|
|
I had unmasked/keyworded ffmpeg in the course of installing handbrake, and this made it
impossible to compile mplayer. There is some version hell going on here.
So Ant P. was nearly right, with the added step of unkeywording and un-unmasking ffmpeg.
There is some version hell going on here with regard to Handbrake, but that's a different topic. I'm guessing that to have handbrake at all, you have to have unstable nearly everything else.
Cheers,
Jon. |
|
Back to top |
|
|
jesusaurus n00b
Joined: 28 Feb 2015 Posts: 1
|
Posted: Sat Feb 28, 2015 11:34 pm Post subject: |
|
|
I was getting the same error while trying to compile media-video/mplayer-1.2_pre20130729 and was able to resolve the issue by accepting the ~amd64 keyword for media-video/mplayer-1.2_pre20150214 and upgrading. |
|
Back to top |
|
|
Acidphase n00b
Joined: 15 Jul 2011 Posts: 24
|
Posted: Tue Mar 03, 2015 5:19 pm Post subject: |
|
|
jesusaurus wrote: | I was getting the same error while trying to compile media-video/mplayer-1.2_pre20130729 and was able to resolve the issue by accepting the ~amd64 keyword for media-video/mplayer-1.2_pre20150214 and upgrading. |
This worked for me as well, figure I would mention this in case someone else is searching the forums for answers. Kind of odd the package marked stable has the issues and the one marked ~ resolves them issues lol _________________ -Acidphase |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2937 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Thu Mar 12, 2015 7:52 pm Post subject: |
|
|
I have the same issue. I made yesterday an eix-sync and read the enews "ffmpeg/libav conflict management: USE=libav" and disabled globally libav, media-video/libav is not installed.
I can confirm that accepting ~amd64 on mplayer did work. But I don't want to install mplayer~amd64. Is there another way? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
diablo465 Apprentice
Joined: 10 Sep 2013 Posts: 194
|
Posted: Tue Apr 21, 2015 11:45 am Post subject: |
|
|
jesusaurus wrote: | I was getting the same error while trying to compile media-video/mplayer-1.2_pre20130729 and was able to resolve the issue by accepting the ~amd64 keyword for media-video/mplayer-1.2_pre20150214 and upgrading. |
Thanks a lot, it also solves my problem on two machines. |
|
Back to top |
|
|
FroL_Onn n00b
Joined: 20 Oct 2013 Posts: 55
|
Posted: Wed May 06, 2015 7:15 pm Post subject: |
|
|
jesusaurus wrote: | I was getting the same error while trying to compile media-video/mplayer-1.2_pre20130729 and was able to resolve the issue by accepting the ~amd64 keyword for media-video/mplayer-1.2_pre20150214 and upgrading. |
Thanks a lot!
That helped me too! |
|
Back to top |
|
|
|