dev-lang/nasm-0.98.39-r3 doesn't recognize 'elf64' output format. Compiling media-sound/musepack-tools-1.15v with dev-lang/nasm-0.98.39-r3 ends with following error: nasm: fatal: unrecognised output format `elf64' - use -hf for a list type `nasm -h' for help make: *** [fft4gasm.o] Error 1 make: *** Waiting for unfinished jobs.... With newest version of dev-lang/nasm it compiles without errors. Probably dependency should be added for media-sound/musepack-tools-1.15v. Reproducible: Always Steps to Reproduce: 1. Install dev-lang/nasm-0.98.39-r3 or former 2. Install media-sound/musepack-tools-1.15v Actual Results: The build exits with the above error. Expected Results: To compile and install without error. My emerge --info: Portage 2.1.6.3 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Fri, 26 Dec 2008 15:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r6 dev-util/cmake: 2.4.6-r1 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.7.9-r1, 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/X11R6/bin/startx" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ " LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ja pl" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 ao apm bash-completion berkdb bidi bluetooth bzip2 canna cdparanoia cdr chasen cjk cli cracklib crypt cups cxx dbus dri dvd dvdr dvdread expat fbcon ffmpeg firefox flac freewnn ftp gdbm ggi gif gimp gnutls gpm graphviz gtk hal iconv ieee1394 imagemagick imap ipv6 isdnlog jpeg jpeg2k lame latex libedit lm_sensors mad matroska midi migemo mime mmap mmx mp3 mpeg mplayer mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ocaml ocamlopt ogg opengl openmp pcmcia pcre pdf png posix pppd python radius raw rdesktop reflection scanner sdl session snmp sockets spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads tiff truetype unicode usb vcd vim-syntax vnc vorbis wavpack wifi wxwindows xcb xml xorg xpm xscreensaver xvid zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja pl" USERLAND="GNU" VIDEO_CARDS="i810 intel fbdev vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
=dev-lang/nasm-2.04 is stable for amd64. The musepack-tools ebuilds do not require a specific version (and should not as long as the best version gets installed). Please upgrade and reopen this bug report when that doesn't fix the issue.
(In reply to comment #1) > =dev-lang/nasm-2.04 is stable for amd64. The musepack-tools ebuilds do not > require a specific version (and should not as long as the best version gets > installed). Please upgrade and reopen this bug report when that doesn't fix the > issue. > Actually, the musepack-tools ebuild (or at least the 1.15v version) requires NASM 2.0 because NASM 0.98 series can't compile 'elf64' output format. So, with <dev-lang/nasm-2.03.01 installed, musepack-tools ebuild will not compile. One has to upgrade nasm ebuild manually to latest stable version before installing musepack-tools ebuild. I think it classifies as a missing-dependency case and am reopening this bug. Best regards
The rest of your system appears to be up to date, so I wonder what emerge options you use to update your system. `emerge -vuaDN --with-bdeps=y world' should be the ultimate to get the right version of nasm installed, but it should work even without `--with-bdeps=y' and that should be the default command to upgrade your system.