When I emerge queue-fix it fail's. I tracked it down to src_compile() { echo "${CC} ${CFLAGS}" > conf-cc echo "${CC} ${LDFLAGS}" > conf-ld emake || die } and on my system ${CC} is not set. So the queue-fix compile script reads that and trys exec -march ... which fails I replaced the above with echo "gcc ${CFLAGS}" > conf-cc echo "gcc ${LDFLAGS}" > conf-ld and it worked fine. I imagine this is some kind of old profile incompatibility? Also, I'll have to remind myself to check back here because currently I'm still setting up my new email system and my old one has been removed so I won't be reciving any email for a bit. :) Reproducible: Always Steps to Reproduce: 1. emerge qmail 2. 3. Actual Results: ... ./compile fmt_str.c ./compile: line 3: exec: -m: invalid option exec: usage: exec [-cl] [-a name] file [redirection ...] make: *** [fmt_str.o] Error 2 make: *** Waiting for unfinished jobs.... rm -f trymkffo.o trymkffo make: *** Waiting for unfinished jobs.... !!! ERROR: net-mail/queue-fix-1.4-r2 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) Expected Results: It should compile without a hitch root@frost /usr/portage/net-mail/queue-fix # emerge --info !!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.49-r21 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r5, 2.4.24) ================================================================= System uname: 2.4.24 i586 Pentium 75 - 200 Gentoo Base System version 1.4.3.8p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" COMPILER="gcc" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow apache2 apm arts avi berkdb crypt cups encode gd gdbm gif gpm imap imlib jpeg libg++ libwww maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis oss pam pdflib perl png python quicktime readline sdl slang smtp spell ssl svga tcpd tiff truetype vhost x86 xml2 xmms xv"
Ok. Qmail also failed for the same reason so I did some more digging and playing. Seems my gcc-config profile hasn't been set. So I googled for how to set it. And eventually check out the gentoo upgrading to 1.4 guide. Which lead me to believe that I should upgrade from gcc 2.95.3 to -r8. This of course will be a time consuming compile on my server which is a 133mhz pentium. So I thought I'd just report in what I found so far. I'll let you know how it turns out.
*** Bug 39271 has been marked as a duplicate of this bug. ***
So yeah, compiled gcc 2.95.3 -r8 and its using hte gcc-config profile now and qmail is compiling Just wonder if the ebuild should say something if gcc config doesn't have a profile selected or something?
yeah it's old profile incompatibility. you'll have to upgrade, unless you want to do that ${CC} -> gcc fix for yourself on all packages that use it.
actually ebuilds should not use ${CC} or ${CXX} they should use $(gcc-getCC) after doing 'inherit gcc'
fixed in cvs.