View previous topic :: View next topic |
Author |
Message |
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Mon Feb 26, 2007 10:46 am Post subject: mplayer-1.0_rc1-r2 does not emerge! |
|
|
Hi, I have problem emerging media-video/mplayer-1.0_rc1-r2! Here is the error:
Code: |
yuv2rgb.c: In function 'yuv2rgb_get_func_ptr':
yuv2rgb.c:583: error: 'yuv420_rgb32_MMX2' undeclared (first use in this function)
yuv2rgb.c:583: error: (Each undeclared identifier is reported only once
yuv2rgb.c:583: error: for each function it appears in.)
yuv2rgb.c:584: error: 'yuv420_rgb24_MMX2' undeclared (first use in this function)
yuv2rgb.c:585: error: 'yuv420_rgb16_MMX2' undeclared (first use in this function)
yuv2rgb.c:586: error: 'yuv420_rgb15_MMX2' undeclared (first use in this function)
yuv2rgb.c:591: error: 'yuv420_rgb32_MMX' undeclared (first use in this function)
yuv2rgb.c:592: error: 'yuv420_rgb24_MMX' undeclared (first use in this function)
yuv2rgb.c:593: error: 'yuv420_rgb16_MMX' undeclared (first use in this function)
yuv2rgb.c:594: error: 'yuv420_rgb15_MMX' undeclared (first use in this function)
make[1]: *** [yuv2rgb.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc1-r2/work/MPlayer-1.0rc1/libswscale'
make: *** [libswscale/libswscale.a] Error 2
!!! ERROR: media-video/mplayer-1.0_rc1-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3305: Called src_compile
mplayer-1.0_rc1-r2.ebuild, line 450: Called die |
The funny thing is that my current mplayer is not working because of this:
Code: | mplayer: error while loading shared libraries: libx264.so.47: cannot open shared object file: No such file or directory |
I know I should revdep-rebuild, so I did, I get this:
Code: |
Checking dynamic linking consistency...
broken /usr/bin/mencoder (requires libx264.so.47)
broken /usr/bin/mplayer (requires libx264.so.47)
broken /usr/lib/vlc/codec/libffmpeg_plugin.so (requires libx264.so.47)
broken /usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so (requires libx264.so.47)
|
the reemerge the following:
Code: |
emerge --oneshot =media-video/mplayer-1.0_pre8 =media-video/vlc-0.8.6-r1 |
These two packages pull a third package named media-libs/x264-svn-20060612, wich I think was allready installed!
After that mplayer works, but doesn't play MPEG videos good anymore.
if I do revdep-rebuild again the this happens:
Code: | broken /usr/lib/libavcodec.so.51.20.0 (requires libx264.so.54) |
and rebuilds media-video/ffmpeg-0.4.9_p20061016 and pulls with it media-libs/x264-svn-20061014-r1
and we are at start again!
This is going now for a few moths now! How can I fix this? |
|
Back to top |
|
|
phobos13013 Apprentice
Joined: 22 Sep 2004 Posts: 277 Location: PNW
|
Posted: Mon Feb 26, 2007 4:52 pm Post subject: |
|
|
Use vlc? For a fully working gui and total support of codecs, in /etc/portage/package.use add the use flags noted here:
http://www.videolan.org/vlc/download-gentoo.html
If you are committed to mplayer, i would look into this libswscale. That and yr yuv2rgb are causing the problems. But i really dont know what lib handles yuv2rgb. _________________ ...and it should be known by now |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Mon Feb 26, 2007 7:01 pm Post subject: |
|
|
emerge it in this order:
Code: | emerge -av =media-libs/x264-svn-20061014-r1 =media-video/ffmpeg-0.4.9_p20061016 =media-video/mplayer-1.0_rc1-r2 |
Then you should be all set. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Mon Feb 26, 2007 8:20 pm Post subject: |
|
|
yngwin wrote: | emerge it in this order:
Code: | emerge -av =media-libs/x264-svn-20061014-r1 =media-video/ffmpeg-0.4.9_p20061016 =media-video/mplayer-1.0_rc1-r2 |
Then you should be all set. |
I get the same error when mplayer compiles. |
|
Back to top |
|
|
loki_val Retired Dev
Joined: 13 Nov 2006 Posts: 418 Location: Denmark
|
Posted: Mon Feb 26, 2007 9:59 pm Post subject: |
|
|
Post the output of emerge --info, and emerge -pv =media-video/mplayer-1.0_rc1-r2. That'll give us a hint about what your problem may be caused by. |
|
Back to top |
|
|
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Mon Feb 26, 2007 10:47 pm Post subject: |
|
|
peteralf wrote: | Post the output of emerge --info, and emerge -pv =media-video/mplayer-1.0_rc1-r2. That'll give us a hint about what your problem may be caused by. |
here you go:
Code: | danizmax@genmax ~ $ emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 26 Feb 2007 09:01:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inf.elte.hu/ ftp://gentoo.inf.elte.hu/ ftp://ftp.nyx.hu/gentoo http://src.gentoo.pl "
LANG="en_SI"
LC_ALL="sl_SI"
LINGUAS="sl en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnowext X a52 aac aalib acpi aiglx aim alsa amd apm arts asf automount avi bash-completion berkdb binary-drivers bl bluetooth browserplugin bzip2 cairo cdda cddb cdio cdparanoia cdr cli cpudetection cracklib crypt cups dbus dga dio directfb dlloader dri dts dvb dvd dvdr dvdread dvi ecc eds emboss encode exscalibar fam fame ffmpeg firefox flac flash fortran ftp fuse gdbm gif glitz glut gmail gmailtimestamps gnome gpm gstreamer gtalk gtk gtk2 hal hpn httpd iconv icq ignore-glep31 imagemagick imap ipv6 irc isdnlog java javascript jfs jingle jpeg jpeg2k kde kdeenablefinal kdexdeltas kqemu lcd ldap libvisual live lm_sensors logitech-mouse mad matroska matrox memlimit midi mikmod mjpeg mmxext mozilla mozsvg mp3 mp4 mpeg mplayer msdfs msn musepack musicbrainz mysql mythtv mzscheme ncurses network nls nogecko-sdk nosrc nptl nptlonly nsplugin ntfs odbc office ogg oggvorbis on-the-fly-crypt openal opengl osc pam pcre pda pdf pdflib perl png posix ppds ps python qt3 qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rtsp samba scanner sdl sensord session sharedmem shout slp sms spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification stream svg svga swat symlink sysvipc szip tcpd tga truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization vnc vorbis wifi win32codecs winbind wma wmf wxgtk1 wxwindows x264 x86 xanim xcomposite xfs xine xinerama xml xorg xpm xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sl en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia fglrx nsc nv r128 radeon v4l vesa vga vmware"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Code: | danizmax@genmax ~ $ emerge -pv =media-video/mplayer-1.0_rc1-r2
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] media-video/mplayer-1.0_rc1-r2 [1.0_pre8] USE="3dnowext X aac aalib alsa arts bl cdparanoia cpudetection dga directfb dts dvb dvd dvdread encode gif gtk iconv%* ipv6 jpeg live mad matrox mmxext musepack openal opengl png real samba sdl sse sse2 svga tga truetype unicode v4l v4l2 vorbis win32codecs x264 xanim xinerama xv xvid xvmc -3dfx -3dnow (-altivec) -amr% -bidi -bindist -custom-cflags -debug -doc -dv -enca% -esd -fbcon -ggi -jack -joystick -libcaca -lirc -livecd -lzo -mmx -nas -oss -rtc -speex -theora (-i8x0%) (-nvidia%)" LINGUAS="-bg -cs -da -de -el -en -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
|
Also if you've got any tips or suggestions for USE flags just shoot it! |
|
Back to top |
|
|
loki_val Retired Dev
Joined: 13 Nov 2006 Posts: 418 Location: Denmark
|
Posted: Mon Feb 26, 2007 11:21 pm Post subject: |
|
|
Ok, I thought this reminded me of something. You're running ~x86 on mplayer but only x86 on the rest of the system. I did that once and had that same upgrade/downgrade cycle (though with a different mplayer version). Try putting this in your /etc/portage/package.keywords: Code: | #Mplayer deps for ~x86
=media-libs/libdts-0.0.2-r5
=media-libs/libdvdread-0.9.7
=media-libs/libmad-0.15.1b-r2
=media-libs/libmpcdec-1.2.4
=media-libs/libpng-1.2.16
=media-libs/libsdl-1.2.11-r1
=media-libs/libtheora-1.0_alpha7
=media-libs/openal-0.0.8-r1
=media-libs/svgalib-1.9.25
=media-libs/win32codecs-20061022-r1
=media-libs/x264-svn-20061014-r1
=media-libs/xvid-1.1.2
=media-sound/lame-3.97
=media-video/xanim-2.80.1-r4 |
Then just Code: | emerge -uDNva mplayer |
That will get everything up to ~x86. I have a working installation of that, so it should work, if the problem is what I think it is. |
|
Back to top |
|
|
gestah n00b
Joined: 22 Sep 2004 Posts: 40
|
Posted: Mon Feb 26, 2007 11:36 pm Post subject: |
|
|
i have a similar problem:
since i have upgraded mplayer, the gui interface(gmplayer) won't play anymore films. it crashs as soon as i play a file, but only a video file.
Quote: |
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
|
so i recompile it with the "debug" USE flag set and this is the result. the compile fails.( it fails only if i set the debug USE flag)
Code: | svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for `svq3_decoder.next')
cabac.h: In function `get_cabac_noinline':
cabac.h:513: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
h264.c: At top level:
cabac.h:106: warning: 'put_cabac_static' defined but not used
cabac.h:152: warning: 'put_cabac_terminate' defined but not used
cabac.h:180: warning: 'put_cabac_u' defined but not used
cabac.h:215: warning: 'put_cabac_ueg' defined but not used
cabac.h:267: warning: 'refill2' defined but not used
cabac.h:799: warning: 'get_cabac_u' defined but not used
cabac.h:815: warning: 'get_cabac_ueg' defined but not used
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc1-r2/work/MPlayer-1.0rc1/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
!!! ERROR: media-video/mplayer-1.0_rc1-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3314: Called src_compile
mplayer-1.0_rc1-r2.ebuild, line 450: Called die
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0_rc1-r2/temp/build.log'.
|
any advices? |
|
Back to top |
|
|
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Tue Feb 27, 2007 10:16 pm Post subject: |
|
|
peteralf wrote: | Ok, I thought this reminded me of something. You're running ~x86 on mplayer but only x86 on the rest of the system. I did that once and had that same upgrade/downgrade cycle (though with a different mplayer version). Try putting this in your /etc/portage/package.keywords: Code: | #Mplayer deps for ~x86
=media-libs/libdts-0.0.2-r5
=media-libs/libdvdread-0.9.7
=media-libs/libmad-0.15.1b-r2
=media-libs/libmpcdec-1.2.4
=media-libs/libpng-1.2.16
=media-libs/libsdl-1.2.11-r1
=media-libs/libtheora-1.0_alpha7
=media-libs/openal-0.0.8-r1
=media-libs/svgalib-1.9.25
=media-libs/win32codecs-20061022-r1
=media-libs/x264-svn-20061014-r1
=media-libs/xvid-1.1.2
=media-sound/lame-3.97
=media-video/xanim-2.80.1-r4 |
Then just Code: | emerge -uDNva mplayer |
That will get everything up to ~x86. I have a working installation of that, so it should work, if the problem is what I think it is. |
I still get the same error! |
|
Back to top |
|
|
gestah n00b
Joined: 22 Sep 2004 Posts: 40
|
Posted: Wed Feb 28, 2007 10:22 am Post subject: |
|
|
i solved it removing the .mplayer folder in the home directory.... |
|
Back to top |
|
|
danizmax Tux's lil' helper
Joined: 26 Nov 2004 Posts: 115 Location: Slovenia
|
Posted: Sat Mar 03, 2007 2:41 pm Post subject: |
|
|
Ok now my current version has been masked, and now i can't install any version of mplayer!
I've added =media-video/mplayer-1.0_pre8 line to /etc/portage/package.keywords and when I try to emerge it still says that it was masked. Why is that? |
|
Back to top |
|
|
loki_val Retired Dev
Joined: 13 Nov 2006 Posts: 418 Location: Denmark
|
Posted: Sat Mar 03, 2007 3:35 pm Post subject: |
|
|
add it to package.unmask too. It was masked because of GLSA 200702-11. |
|
Back to top |
|
|
|