Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem compiling xvid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Vincepbell
n00b
n00b


Joined: 06 Dec 2006
Posts: 9

PostPosted: Thu Jul 03, 2008 11:12 pm    Post subject: Problem compiling xvid Reply with quote

Hey,

I've had this problem for awhile, and just keep skipping it when I do upgrades, but figured I should probably ask for some help and stop procrastinating!

xvid refuses to compile. I've just completed a world update (emerge -uDavN world) and it's the only package giving me problems.

Here is the output of the failure:

A: bitstream/x86_asm/cbp_3dne.asm
*** glibc detected *** yasm: free(): invalid pointer: 0x40166150 ***
======= Backtrace: =========
/lib/libc.so.6[0x4009ea00]
/lib/libc.so.6(cfree+0x89)[0x400a06f9]
yasm[0x806f0a1]
======= Memory map: ========
08048000-080bd000 r-xp 00000000 08:04 7881983 /usr/bin/yasm
080bd000-080be000 r--p 00074000 08:04 7881983 /usr/bin/yasm
080be000-080c0000 rw-p 00075000 08:04 7881983 /usr/bin/yasm
080c0000-08183000 rw-p 080c0000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:04 8655203 /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 08:04 8655203 /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 08:04 8655203 /lib/ld-2.6.1.so
4001c000-4001d000 r-xp 4001c000 00:00 0 [vdso]
4001d000-4001e000 rw-p 4001d000 00:00 0
4001e000-40025000 r-xp 00000000 08:04 7834642 /usr/lib/libsandbox.so.0.0.0
40025000-40026000 r--p 00006000 08:04 7834642 /usr/lib/libsandbox.so.0.0.0
40026000-40027000 rw-p 00007000 08:04 7834642 /usr/lib/libsandbox.so.0.0.0
40027000-4002a000 rw-p 40027000 00:00 0
4002a000-40033000 r-xp 00000000 08:04 8142854 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40033000-40034000 r--p 00009000 08:04 8142854 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40034000-40035000 rw-p 0000a000 08:04 8142854 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40039000-40163000 r-xp 00000000 08:04 8651551 /lib/libc-2.6.1.so
40163000-40165000 r--p 0012a000 08:04 8651551 /lib/libc-2.6.1.so
40165000-40166000 rw-p 0012c000 08:04 8651551 /lib/libc-2.6.1.so
40166000-40169000 rw-p 40166000 00:00 0
40169000-4016b000 r-xp 00000000 08:04 8654696 /lib/libdl-2.6.1.so
4016b000-4016c000 r--p 00001000 08:04 8654696 /lib/libdl-2.6.1.so
4016c000-4016d000 rw-p 00002000 08:04 8654696 /lib/libdl-2.6.1.so
4016d000-4016e000 rw-p 4016d000 00:00 0
40200000-40221000 rw-p 40200000 00:00 0
40221000-40300000 ---p 40221000 00:00 0
bfa54000-bfa6b000 rw-p bffe9000 00:00 0 [stack]
make: *** [bitstream/x86_asm/cbp_3dne.o] Aborted
make: *** Waiting for unfinished jobs....
*
* ERROR: media-libs/xvid-1.1.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2524: 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.1.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/xvid-1.1.3/temp/environment'.
*

This is the output of my emerge --info:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Thu, 03 Jul 2008 16:45:02 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa asf berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt daap dbus dri dts dv dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox font-server gdbm gif gpm gtk hal iconv ipod ipv6 isdnlog java jpeg kerberos mad midi mikmod mjpeg mmx mp3 mpeg mudflap ncurses nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x264 x86 xml xorg xv xvid 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" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks for any help,
Vince.
Back to top
View user's profile Send private message
mjf55
Guru
Guru


Joined: 25 Aug 2007
Posts: 372

PostPosted: Fri Jul 04, 2008 4:13 am    Post subject: Reply with quote

Try this link for the problem and solution (workaround)https://forums.gentoo.org/viewtopic-p-4145869-highlight-.html
_________________
Mark
No longer a n00b, but still a 'Kool Kid' wannabe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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