Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237736 - dev-lang/yasm-0.6.2 fails: /bin/sh: I.: command not found
Summary: dev-lang/yasm-0.6.2 fails: /bin/sh: I.: command not found
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 14:49 UTC by Albert Zeyer
Modified: 2008-09-15 22:19 UTC (History)
1 user (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 Albert Zeyer 2008-09-15 14:49:54 UTC
...
config.status: executing libyasm-stdint.h commands
config.status: creating libyasm-stdint.h : _YASM_LIBYASM_STDINT_H
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make: Warning: File `.deps/yasm.Po' has modification time 1.2 s in the future
I. -I. -I.  -c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c
I. -I. -I.  -c -o gp-perfect.o `test -f tools/genperf/perfect.c || echo './'`tools/genperf/perfect.c
/bin/sh: I.: command not found
make: [genperf.o] Error 127 (ignored)
I. -I. -I.  -c -o gp-phash.o `test -f libyasm/phash.c || echo './'`libyasm/phash.c
/bin/sh: I.: command not found
make: [gp-perfect.o] Error 127 (ignored)
I. -I. -I.  -c -o gp-xmalloc.o `test -f libyasm/xmalloc.c || echo './'`libyasm/xmalloc.c
/bin/sh: I.: command not found
make: [gp-phash.o] Error 127 (ignored)
I. -I. -I.  -c -o gp-xstrdup.o `test -f libyasm/xstrdup.c || echo './'`libyasm/xstrdup.c
/bin/sh: I.: command not found
make: [gp-xmalloc.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-main.o `test -f tools/re2c/main.c || echo './'`tools/re2c/main.c
/bin/sh: I.: command not found
make: [gp-xstrdup.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-code.o `test -f tools/re2c/code.c || echo './'`tools/re2c/code.c
/bin/sh: I.: command not found
make: [re2c-main.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-dfa.o `test -f tools/re2c/dfa.c || echo './'`tools/re2c/dfa.c
/bin/sh: I.: command not found
make: [re2c-code.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-parser.o `test -f tools/re2c/parser.c || echo './'`tools/re2c/parser.c
/bin/sh: I.: command not found
make: [re2c-dfa.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-actions.o `test -f tools/re2c/actions.c || echo './'`tools/re2c/actions.c
/bin/sh: I.: command not found
make: [re2c-parser.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-scanner.o `test -f tools/re2c/scanner.c || echo './'`tools/re2c/scanner.c
/bin/sh: I.: command not found
make: [re2c-actions.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-mbo_getopt.o `test -f tools/re2c/mbo_getopt.c || echo './'`tools/re2c/mbo_getopt.c
/bin/sh: I.: command not found
make: [re2c-scanner.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-substr.o `test -f tools/re2c/substr.c || echo './'`tools/re2c/substr.c
/bin/sh: I.: command not found
make: [re2c-mbo_getopt.o] Error 127 (ignored)
I. -I. -I.  -c -o re2c-translate.o `test -f tools/re2c/translate.c || echo './'`tools/re2c/translate.c
/bin/sh: I.: command not found
make: [re2c-substr.o] Error 127 (ignored)
I. -I. -I.  -c -o genversion.o `test -f modules/preprocs/nasm/genversion.c || echo './'`modules/preprocs/nasm/genversion.c
/bin/sh: I.: command not found
make: [re2c-translate.o] Error 127 (ignored)
I. -I. -I.  -c -o genmacro.o `test -f modules/preprocs/nasm/genmacro.c || echo './'`modules/preprocs/nasm/genmacro.c
/bin/sh: I.: command not found
make: [genversion.o] Error 127 (ignored)
I. -I. -I.  -c -o genmodule.o `test -f libyasm/genmodule.c || echo './'`libyasm/genmodule.c
/bin/sh: I.: command not found
make: [genmacro.o] Error 127 (ignored)
I. -I. -I.  -c -o genstring.o `test -f genstring.c || echo './'`genstring.c
/bin/sh: I.: command not found
make: [genmodule.o] Error 127 (ignored)
/bin/sh: I.: command not found
make: [genstring.o] Error 127 (ignored)
i686-pc-linux-gnu-gcc -std=gnu99 -o genperf   genperf.o gp-perfect.o gp-phash.o gp-xmalloc.o gp-xstrdup.o 
i686-pc-linux-gnu-gcc -std=gnu99 -o re2c   re2c-main.o re2c-code.o re2c-dfa.o re2c-parser.o re2c-actions.o re2c-scanner.o re2c-mbo_getopt.o re2c-substr.o re2c-translate.o 
i686-pc-linux-gnu-gcc: genperf.o: No such file or directory
i686-pc-linux-gnu-gcc: gp-perfect.o: No such file or directory
i686-pc-linux-gnu-gcc: gp-phash.o: No such file or directory
i686-pc-linux-gnu-gcc: gp-xmalloc.o: No such file or directory
i686-pc-linux-gnu-gcc: gp-xstrdup.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-main.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-code.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-dfa.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-parser.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-actions.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-scanner.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-mbo_getopt.o: No such file or directory
i686-pc-linux-gnu-gcc: re2c-substr.o: No such file or directory
i686-pc-linux-gnu-gcc: i686-pc-linux-gnu-gcc: no input files
make: *** [genperf] Error 1
make: *** Waiting for unfinished jobs....
re2c-translate.o: No such file or directory
i686-pc-linux-gnu-gcc: no input files
make: *** [re2c] Error 1
 * 
 * ERROR: dev-lang/yasm-0.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  106:  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/dev-lang/yasm-0.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/yasm-0.6.2/temp/environment'.
 *
Comment 1 Albert Zeyer 2008-09-15 14:50:25 UTC
macbook ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-6-686 i686)
=================================================================
System uname: 2.6.18-6-686 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Sun, 14 Sep 2008 17:00: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, 2.5.2-r7
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.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
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=nocona -pipe -ggdb"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
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.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa altenburgcards amarok amr amuled apm applet async asyncns atm automount avahi bash-completion berkdb bluetooth bonjour bookmarks branding bzip2 c++ cairo cdr cisco cli cracklib crypt cups cxx d daap dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls eds emboss enblend encode esd evo exif extra-algorithms fam fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gmedia gnome gnutella gnutls gphoto2 gpm gsf gstreamer gtk h323 hal haskell hddtemp hfs howl-compat iconv icu id3 id3tag ieee1394 imlib injection inkjar ipv6 irda isdnlog isight jabber java javascript jit joystick jpeg jpeg2k kde kerberos kig-scripting kqemu latex lcms ldap libnotify lirc lm_sensors lua lzo macbook mad madwifi maps mdnsresponder-compat midi mikmod mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mplayer mtp mudflap music musicbrainz nautilus ncurses net network networking njb nls nntp nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin plotutils pmu png pnm posix postgres postscript ppds pptp ps pth pulseaudio python qt3 qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift slp smp sockets socks5 solver sourceview speex spell spl spoof-source sse sse2 ssl ssse3 startup-notification subversion svg sysfs tetex theora threads threadsafe tiff timidity tk trayicon truetype unicode unzip usb v4l2 valgrind vcd video voice vorbis weak-algorithms wifi win32codecs wma wmp wxwindows x264 x86 xanim xattr xcomposite xext xface xine xml xmlreader xorg xrandr xscreensaver xulrunner xv xvid zeroconf zip zlib zsh-completion" 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" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Albert Zeyer 2008-09-15 15:19:09 UTC
This is again a CC_FOR_BUILD issue, as in bug #237725.

In the ebuild, add:

inherit eutils

And in the ebuild, modify src_compile() like this:

src_compile() {
    econf $(use_enable nls) CC_FOR_BUILD=$(tc-getBUILD_CC) || die "econf failed"
    emake || die "emake failed"
}


That fixes the problem, it emerges fine then.
Comment 3 Albert Zeyer 2008-09-15 22:02:05 UTC
The bug is not relade to case sensitivity.

Please read the report carefully.

A empty-set CC_FOR_BUILD is a common bug. You will find a lot of similar bugs. And grep for CC_FOR_BUILD in other existing ebuilds, this workaround is also the common workaround.
Comment 4 Albert Zeyer 2008-09-15 22:19:20 UTC
Please see bug #229415 as a proof that this has nothing to do with case sensitivity.