Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer failed to emerge[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Fawkers
n00b
n00b


Joined: 11 Jul 2006
Posts: 11
Location: UK

PostPosted: Sat Feb 03, 2007 8:19 pm    Post subject: Mplayer failed to emerge[SOLVED] Reply with quote

Hi;

I've been trying to emerge Mplayer to no effect, originally[/profile] i was trying to compile with h264 support (x264 user flag)

However even trying to emerge on my systems base use flags still errors out

my emerge --info

Code:

Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System release 1.12.6
Last Sync: Sat, 03 Feb 2007 16:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gconf /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
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"
SYNC="rsync://10.50.200.1/gentoo-portage"
USE="x86 X alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader doc dri dvd eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_keybord input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww mad midi mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts userland_GNU video_cards_i810 vorbis xcomposite xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



and the last lines of output from my failed emerge

Code:
h264.c: In function 'decode_cabac_residual':
h264.c:6143: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type
h264.c:6070: warning: unused variable 'last'
h264.c: At top level:
h264.c:6218: warning: 'inline' is not at beginning of declaration
h264.c: In function 'filter_mb_fast':
h264.c:7101: warning: dereferencing type-punned pointer will break strict-aliasing rules
h264.c: In function 'decode_unregistered_user_data':
h264.c:7593: warning: comparison between signed and unsigned
h264.c:7598: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
h264.c: At top level:
h264.c:8652: warning: missing initializer
h264.c:8652: warning: (near initialization for 'h264_parser.next')
In file included from h264.c:8655:
svq3.c: In function 'svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
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
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_rc1/work/MPlayer-1.0rc1/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0_rc1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mplayer-1.0_rc1.ebuild, line 448:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.


Hope someone can help out.
_________________
.Adam Pickett

Fawkers


Last edited by Fawkers on Sat Feb 03, 2007 9:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Feb 03, 2007 8:37 pm    Post subject: Reply with quote

Hi there!

Your CHOST and profile appear to be wrong.

Quote:
Code:

Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r6 i686)
=================================================================
[...]
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i386-pc-linux-gnu"


You specified i386-pc-linux-gnu, and you own a i686. You should modify your make.conf to reflect it.

Also, you are using the no-nptl profile. If you don't know what it is, thrust me you don't want it ;)

You should modify your profile to the 2006.1 or 2006.1/desktop:

Code:

eselect profile list
eselect profile set [number of your choice]
Back to top
View user's profile Send private message
Fawkers
n00b
n00b


Joined: 11 Jul 2006
Posts: 11
Location: UK

PostPosted: Sat Feb 03, 2007 8:56 pm    Post subject: Reply with quote

Thanks for pointing out the errors in my system, but it didn't change the end result of the mplayer compile.

as a quick aside do i need to do anything else to my system to use these new settings
_________________
.Adam Pickett

Fawkers
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Feb 03, 2007 9:24 pm    Post subject: Reply with quote

I just found the related bug: https://bugs.gentoo.org/show_bug.cgi?id=152907

Some people there succeeded to compile it disabling the debug USE flag.

You can try it to find if it works:

Code:
USE="-debug" emerge mplayer


If it works, you may want to specify to use -debug all the time (to avoid updates to reinstall it with the flag enabled):

Code:
echo "media-video/mplayer -debug" >> /etc/portage/package.use
Back to top
View user's profile Send private message
Fawkers
n00b
n00b


Joined: 11 Jul 2006
Posts: 11
Location: UK

PostPosted: Sat Feb 03, 2007 9:57 pm    Post subject: Reply with quote

Thanks that solved that problem, once again thanks.
_________________
.Adam Pickett

Fawkers
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Feb 03, 2007 10:43 pm    Post subject: Reply with quote

Good :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum