| Summary: | qmail's queue-fix ebuild has errors on gentoo 1.2 based system | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Haplo <haplo> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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"