First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 82089
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qmail Team <qmail-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Johann Wallinger <j@4a57.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82089 depends on: Show dependency tree
Show dependency graph
Bug 82089 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-15 01:49 0000
When I try to emerge qmail-ldap-1.03-r4, I get errors about invalid options
passed to the "exec" command.

Reproducible: Always
Steps to Reproduce:
1.emerge qmail-ldap


Actual Results:  
> Makefile.cdb-p
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
cat auto-ccld.sh make-compile.sh > make-compile
head: `-1' option is obsolete; use `-n 1' since this will be removed in the
future
chmod 644 Makefile.cdb-p
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-compile
nroff -man qmail-getpw.8 > qmail-getpw.0
chmod 755 make-makelib
nroff -man qmail-send.8 > qmail-send.0
nroff -man qmail-start.8 > qmail-start.0
nroff -man qmail-newu.8 > qmail-newu.0
nroff -man qmail-pw2u.8 > qmail-pw2u.0
nroff -man qmail-newmrh.8 > qmail-newmrh.0
nroff -man qmail-limits.7 > qmail-limits.0
nroff -man qmail-control.5 > qmail-control.0
nroff -man qmail-users.5 > qmail-users.0
nroff -man dot-qmail.5 > dot-qmail.0
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 load
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 compile
chmod 755 makelib
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
./compile quote.c
./compile: line 3: exec: -m: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
make: *** [quote.o] Error 2
make: *** Waiting for unfinished jobs....
rm -f tryvfork.o tryvfork
make: *** Waiting for unfinished jobs....

!!! ERROR: mail-mta/qmail-ldap-1.03-r4 failed.
!!! Function src_compile, Line 87, Exitcode 2


Expected Results:  
Should have installed correctly, giving no error messages !

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005,
01:50:59)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
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/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 apache2 apm arts authdaemond avi berkdb bitmap-fonts crypt cups
curl dav doc encode f77 fam font-server foomaticdb fortran gd gdbm gif gpg gpm
gtk2 imap imlib innodb ipv6 jpeg ldap libg++ libwww mad mikmod motif mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png python qmail qmail-ldap
quicktime readline samba sample sasl sdl skey spamassassin spell ssl svga svn
tcpd tls truetype truetype-fonts type1-fonts unicode vhosts xml xml2 xmms xv
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Rob Reardon 2005-02-16 09:00:27 0000 -------
I'm having exactly the same problem. It seems it's being caused by "compile" in
the root folder of qmail-1.0.3 missing "gcc".

It's currently got:
exec  -march=pentium2 -O3 -pipe -funroll-loops -fexpensive-optimizations....
when it probably should be:
exec gcc -march=pentium2 -O3 -pipe -funroll-loops -fexpensive-optimizations....

------- Comment #2 From Rob Reardon 2005-02-16 09:49:58 0000 -------
As a temporary fix, you can do:

export CC=gcc
emerge qmail-ldap

This seemed to fix it for me!

------- Comment #3 From Johann Wallinger 2005-02-16 10:21:28 0000 -------
Thanks a lot, emerged like a charm.

------- Comment #4 From Benedikt Böhm 2007-06-16 13:50:29 0000 -------
fixed in qmail-ldap-1.03-r5

First Last Prev Next    No search results available      Search page      Enter new bug