Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273008 - media-libs/xvid-1.2.2-r1 fails to build with cbp_mmx.asm:73: error: invalid combination of opcode and operands
Summary: media-libs/xvid-1.2.2-r1 fails to build with cbp_mmx.asm:73: error: invalid c...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 273035
Blocks:
  Show dependency tree
 
Reported: 2009-06-07 10:03 UTC by Pacho Ramos
Modified: 2009-06-07 18:44 UTC (History)
0 users

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


Attachments
build.log (build.log,5.36 KB, text/plain)
2009-06-07 10:03 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-06-07 10:03:10 UTC
I get:
  C: motion/vop_type_decision.c
  C: motion/sad.c
  C: prediction/mbprediction.c
  C: plugins/plugin_single.c
  C: plugins/plugin_2pass1.c
  C: plugins/plugin_2pass2.c
  C: plugins/plugin_lumimasking.c
  C: plugins/plugin_dump.c
  C: plugins/plugin_psnr.c
  C: plugins/plugin_ssim.c
  C: quant/quant_h263.c
  C: quant/quant_matrix.c
  C: quant/quant_mpeg.c
  C: utils/emms.c
  C: utils/mbtransquant.c
  C: utils/mem_align.c
  C: utils/mem_transfer.c
  C: utils/timer.c
  A: bitstream/x86_asm/cbp_mmx.asm
  A: bitstream/x86_asm/cbp_sse2.asm
../../src/bitstream/x86_asm/cbp_mmx.asm:73: error: invalid combination of opcode and operands
make: *** [bitstream/x86_asm/cbp_mmx.o] Error 1
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: media-libs/xvid-1.2.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2237:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * 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-libs/xvid-1.2.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xvid-1.2.2-r1/temp/environment'.

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Sun, 07 Jun 2009 09:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion beagle berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups daap dbus djvu dri dts dvd dvdr dvdread dvi eds emboss empathy encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg kdeenablefinal kdehiddenvisibility kpathsea latex libnotify lyx lzma mad midi mikmod mmx mmxext mono mp3 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2009-06-07 10:03:21 UTC
Created attachment 193779 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-06-07 10:40:33 UTC
And without ccache?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-06-07 11:02:31 UTC
And which version of nasm?
Comment 4 nobody 2009-06-07 12:09:56 UTC
checking for yasm... yes
checking for yasm version... 7
configure: WARNING: yasm version is too old

?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-06-07 12:21:31 UTC
I get,

checking for yasm... yes
checking for yasm version... 8

I have dev-lang/nasm-2.05.01 and dev-lang/yasm-0.8.0 installed.

And it's working fine. It seems the configure script is checking yasm first, 
while the ebuild is depending on nasm.

Can you please try emerging xvid _without_ yasm installed? And, after that,
with dev-lang/yasm-0.8.0 installed?
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-06-07 13:21:53 UTC
Should be fixed now, yasm-0.8.0 in stable and xvid's ebuild prefers it first. Please sync in a hour and upgrade your yasm, and retry.
Comment 7 Pacho Ramos gentoo-dev 2009-06-07 18:11:28 UTC
It builds now, thanks a lot :-D
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-06-07 18:44:21 UTC
(In reply to comment #7)
> It builds now, thanks a lot :-D
> 

cool, thanks for verifying :)