Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116398 - xvid-1.1.0_beta2-r1 fails to build with newer nasm
Summary: xvid-1.1.0_beta2-r1 fails to build with newer nasm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 10:06 UTC by Daan Willems
Modified: 2006-01-04 22:23 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daan Willems 2005-12-22 10:06:50 UTC
xvid-1.1.0_beta2-r1 fails to build when invoking 'emerge -u xvid'.

  A: bitstream/x86_asm/cbp_3dne.asm
../../src/bitstream/x86_asm/cbp_3dne.asm:101: error: unrecognised symbol type `calc_cbp_3dne.endfunc-calc_cbp_3dne'
make: *** [bitstream/x86_asm/cbp_3dne.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-libs/xvid-1.1.0_beta2-r1 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! emake failed

Reproducable: always

Steps to Reproduce:
emerge -u xvid

uname -a:
Linux kaitain 2.6.14-gentoo-r5 #9 PREEMPT Thu Dec 22 15:01:38 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

emerge info:
Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups directfb dts dvd eds emboss encode esd expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif gpm gstreamer i8x0 icq ieee1394 imlib ipv6 jabber jpeg kde lcms libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg msn ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime radeon readline samba sdl spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev vcd vorbis win32codecs xinerama xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Comment 1 teidakankan 2005-12-22 16:09:09 UTC
FYI.  I got this to compile by downgrading nasm to 0.98.39-r1.
Comment 2 Daan Willems 2005-12-24 00:56:48 UTC
ok, downgrading nasm worked for me too.
Comment 3 Peter Beekman 2005-12-24 02:16:55 UTC
Downgrading nasm worked here as well.  Fresh ~x86 install after a disk failure.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-24 02:58:35 UTC
Uhm, Mike that's probably your patch? Can you give a look?
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2005-12-30 15:44:43 UTC
I had the same problem with the final version 1.1.0.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2006-01-02 09:23:29 UTC
I can confirm this problem on a fresh gentoo 2005.1-r1 install (~x86) on pentium3 with latest nasm.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2006-01-02 09:36:59 UTC
downgrading to -r1 also works for me.
Comment 8 Alexander Skwar 2006-01-03 10:05:08 UTC
Downgrade to r1 worked for me as well.

When can we expect a fix? I mean, that bug is now open for about two weeks and a workaround has also been identified. And the bug is still only in status "New"...
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-03 16:41:25 UTC
Can we please at least get a blocker DEPEND added in xvid
or KEYWORD the new nasm "-x86"?

This bug is annoying
Comment 10 SpanKY gentoo-dev 2006-01-04 22:23:30 UTC
fixed in nasm-0.98.39-r3