media-libs/xvid-1.1.2 fails to compile, see http://nico.codernet.org/media-libs:xvid-1.1.2:20070227-211209.log Reproducible: Always Steps to Reproduce: 1. emerge xvid Actual Results: http://nico.codernet.org/media-libs:xvid-1.1.2:20070227-211209.log Portage 2.1.2-r11 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-beyond1 i686) ================================================================= System uname: 2.6.20-beyond1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 27 Feb 2007 20:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -fforce-addr -fno-ident -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" 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=prescott -O2 -fforce-addr -fno-ident -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/portage/main/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--sort-common" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/portage/main/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/portage/tmp" PORTDIR="/portage/main" PORTDIR_OVERLAY="/portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd eds emboss encode fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv icq jpeg ldap libg++ mad midi mikmod mmx mmxext mp3 mpeg msn ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Please try emerging it without the superflous LD/C/CXX-Flags, thus (in one line): CFLAGS="-march=prescott -O2 -pipe" CXXFLAGS="-march=prescott -O2 -pipe" LDFLAGS="" emerge -1v xvid Otherwise, this will be closed as WORKSFORME/INVALID.
first of all my flags are stable for me, I _never_ had problems with them. It fails to build too with: CFLAGS="-march=prescott -O2 -pipe" CXXFLAGS="-march=prescott -O2 -pipe" LDFLAGS="" log: http://nico.codernet.org/saneflag-xvid
Attach the log here and reopen then; referring to third-party links that die in days makes bugs useless for anyone who searches them later on.
Created attachment 111493 [details] media-libs/xvid-1.1.2 fails to build, log
Okay, sorry I created an attachment.
How about if you recompile dev-lang/yasm with *sane* C[XX]FLAGS and empty LDFLAGS?
I don't have yasm installed, so xvid does not require yasm or the decencies is missing
(In reply to comment #7) > I don't have yasm installed, so xvid does not require yasm or the decencies is > missing > please post the output of emerge -pv yasm
nico@starbox ~ % emerge -pv yasm running sudo emerge -pv yasm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lang/yasm-0.5.0 USE="nls" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB nico@starbox ~ %
(In reply to comment #9) > nico@starbox ~ % emerge -pv yasm > running sudo emerge -pv yasm > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N ] dev-lang/yasm-0.5.0 USE="nls" 0 kB > > Total: 1 package (1 new), Size of downloads: 0 kB That makes no sense. Yasm is a dependency of xvid: loki linux # dep xvid media-libs/xvid-1.1.2: x86? >=dev-lang/yasm-0.5.0 dev-lang/yasm-0.5.0 >=sys-apps/sed-4 sys-apps/sed-4.1.5 >=sys-devel/autoconf-2.59 sys-devel/autoconf-2.61 =sys-devel/automake-1.10* sys-devel/automake-1.10 sys-devel/libtool sys-devel/libtool-1.5.23b
wth? now yasm is a depencies of xvid, however xvid still fails to build
when yasm is compiled with -fforce-addr xvid fails. hardened last i checked has -fforce-addr in the profile, some flag-o-matic is needed i think.