Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147201 - media-libs/libsdl-1.2.11 update failed due to yasm -i
Summary: media-libs/libsdl-1.2.11 update failed due to yasm -i
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 149822 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-11 09:18 UTC by Rodrigo Severo
Modified: 2006-10-02 07:39 UTC (History)
1 user (show)

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


Attachments
libsdl-1.2.11-r100.ebuild (libsdl-1.2.11-r100.ebuild,4.68 KB, text/plain)
2006-09-18 02:23 UTC, kalium
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Severo 2006-09-11 09:18:41 UTC
I am trying to do an update world in my system but media-libs/libsdl-1.2.11 is failing:

/bin/sh ./libtool --tag=CC --mode=compile ./build-scripts/strip_fPIC.sh /usr/bin/yasm -f elf -i ./src/hermes/ ./src/hermes/mmx_main.asm -o build/mmx_main.lo
 ./build-scripts/strip_fPIC.sh /usr/bin/yasm -f elf -i ./src/hermes/ ./src/hermes/mmx_main.asm  -fPIC -DPIC -o build/.libs/mmx_main.o
/usr/bin/yasm -f elf -i ./src/hermes/ ./src/hermes/mmx_main.asm -o build/.libs/mmx_main.o
yasm: unrecognized option `-i'
yasm: warning: can open only one input file, only the last file will be processed
make: *** [build/mmx_main.lo] Error 1

!!! ERROR: media-libs/libsdl-1.2.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libsdl-1.2.11.ebuild, line 154:   Called die

!!! emake failed


Here is my # emerge --info:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 09:30:07 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT"
CHOST="i686-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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirror.sdv.fr http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.osuosl.org/"
LINGUAS=""
MAKEOPTS="-j1"
PKGDIR="/var/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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-fabrica"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apache2 apm apng arts audiofile avi bitmap-fonts bzip2 bzlib cddb cdparanoia cdr cli crypt cups dbus dga dlloader dri dts dvd dvdr edl eds elibc_glibc emboss encode faac faad fame ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gmp gpm gtk2 hal imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog jbig jng jpeg jpeg2k kde kdeenablefinal kernel_linux lcms ldap libcaca libg++ libwww live lzo mad matroska md5sum mikmod mjpeg mmx mng motif mp3 mpeg musepack musicbrainz ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection samba sdl session sndfile speex spell spl ssl subversion svg svga tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_fbdev video_cards_nv video_cards_radeon video_cards_vesa video_cards_vga vorbis win32codecs wmf x264 xine xinerama xml xmms xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-09-11 10:37:57 UTC
you can work around it by using nasm instead of yasm until it's fixed.
Comment 2 Rodrigo Severo 2006-09-11 11:12:48 UTC
(In reply to comment #1)
> you can work around it by using nasm instead of yasm until it's fixed.

Removing yasm worked. Thanks for your tip.

Comment 3 kalium 2006-09-18 02:23:28 UTC
Created attachment 97315 [details]
libsdl-1.2.11-r100.ebuild
Comment 4 kalium 2006-09-18 02:24:11 UTC
yasm does not understand nasm's -i option which is identical to -I. Just added a sed command to replace it in configure.in.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-09-18 09:07:12 UTC
Ok, in CVS.  Thanks for the bug report and patch.
Comment 6 kalium 2006-09-29 06:00:47 UTC
(In reply to comment #5)
> Ok, in CVS.  Thanks for the bug report and patch.

The changes in CVS are not 1:1 and also not working.
Comment 7 SpanKY gentoo-dev 2006-10-02 07:37:58 UTC
*** Bug 149822 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2006-10-02 07:39:28 UTC
touched up the sed in cvs

in the future, post diffs, not full files ... otherwise devs tend to just implement their own fixes