emerge biew fails because of: Checking for C compiler name ... gcc-Version Error: Unknown compiler name gcc-Version. Project required GCC I use gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3 and other packages emerge without problems Reproducible: Always Steps to Reproduce: 1. try to emerge biew 2. 3. Actual Results: configure fails Expected Results: ebuild should be emerged Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34 x86_64) ================================================================= System uname: Linux-2.6.34-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1 Timestamp of tree: Fri, 28 May 2010 21:45:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.7b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon64-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/kde" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran ftp gdbm gif gmp gnutls gpm gstreamer gtk hddtemp iconv imagemagick ipv6 jpeg jpeg2k kde kpathsea lame lcms libass libnotify lm_sensors mad matroska mbrola mikmod mmx mng modules mp3 mp4 mpeg mpi mudflap multilib musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session smp spell spl sse sse2 ssl startup-notification svg sysfs taglib tcpd theora threads tiff truetype unicode usb vorbis webkit x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Attach full build log (possibly config.log too). Does gcc-config help ?
Created attachment 233403 [details] build.log
(In reply to comment #1) > Attach full build log (possibly config.log too). done > Does gcc-config help ? no, gcc-config only shows [1] x86_64-pc-linux-gnu-4.4.3 * Anyhow, I set this compiler again as default compiler but it did not change anything.
Created attachment 233405 [details] config.log
Oh, those adorable homebrew checks... What does 'x86_64-pc-linux-gnu-gcc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1' print for you ?
(In reply to comment #5) > What does 'x86_64-pc-linux-gnu-gcc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1' > print for you ? gcc-Version From 'x86_64-pc-linux-gnu-gcc -v 2>&1 | tail -n 1' I get gcc-Version 4.4.3 (Gentoo 4.4.3-r2 p1.2)
Strange, my line (with sys-devel/gcc-4.4.3) is gcc version 4.4.3 (Gentoo 4.4.3 p1.0). On one hand, check is a bit inconvenient, on the other, are you sure about your gcc ? I still have two older versions installed and for both output starts with 'gcc version '.
(In reply to comment #7) > Strange, my line (with sys-devel/gcc-4.4.3) is > gcc version 4.4.3 (Gentoo 4.4.3 p1.0). > > On one hand, check is a bit inconvenient, > on the other, are you sure about your gcc ? > I still have two older versions installed and > for both output starts with 'gcc version '. > this is because my gcc uses german language (dunno whoever would want localized console programs but that is how it is) after export LC_ALL=C and x86_64-pc-linux-gnu-gcc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1 I get: "gcc"
yes, this did the trick, the program emerges now
...and on unrelated note, homepage in the ebuild needs to be updated.
(In reply to comment #10) > ...and on unrelated note, homepage in the ebuild > needs to be updated. > To what?
(In reply to comment #11) > To what? > the homepage is now http://sourceforge.net/projects/beye/
Created attachment 259692 [details, diff] Patch to allow the configure script to detect gcc properly, independent of the locale This patch fixes the configure script. It should be included in the biew-6.1.0 ebuild.
Created attachment 263673 [details, diff] Patch to the biew-6.1.0-r1 ebuild file. This patch changes the ebuild for biew-6.1.0-r1 to add the two patches changing the configure script. Also see bug 351534 comment 7.
Thanks for the patches. This has been committed to portage along with the patch from bug #351534.