Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27490 - emerge qmail-sumo and just qmail fail (qmail 1.03 r10)
Summary: emerge qmail-sumo and just qmail fail (qmail 1.03 r10)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 11:42 UTC by opello@opello.org
Modified: 2003-09-16 05:48 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 opello@opello.org 2003-08-28 11:42:13 UTC
While attempting to emerge qmail (qmail-sumo was also recommended so I also
tried that).  First the digest came back bad (fixed by removing the digest files
and ebuild qmail-1.03-r10.ebuld digest) but then the build failed with:

./load install fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a 
./load instcheck fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a error.a str.a fs.a 
./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o \
slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a \
lock.a fd.a wait.a env.a stralloc.a alloc.a strerr.a \
substdio.a error.a str.a fs.a datetime.a auto_qmail.o \
auto_patrn.o  `cat socket.lib`
./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o 
./load qmail-getpw case.a substdio.a error.a str.a fs.a \
auto_break.o auto_usera.o 
./compile trigger.c
./load qmail-send qsutil.o control.o constmap.o newfield.o \
prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_split.o 
./chkspawn
./compile spawn.c
spawn.c: In function `main':
spawn.c:185: warning: return type of `main' is not `int'
./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o \
sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o \
auto_spawn.o 
./load qmail-rspawn spawn.o tcpto_clean.o now.o coe.o \
sig.a open.a seek.a lock.a wait.a fd.a stralloc.a alloc.a \
substdio.a error.a str.a auto_qmail.o auto_uids.o \
auto_spawn.o 
qmail.o(.text+0x1bd): In function `qmail_open':
: undefined reference to `env_get'
collect2: ld returned 1 exit status
distcc[12961] ERROR: compile on localhost failed
make: *** [qmail-send] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-mail/qmail-1.03-r10 failed.
!!! Function src_compile, Line 95, Exitcode 2
!!! (no error message)
Comment 1 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-15 12:35:12 UTC
This is due to the qmailqueue-patch that adds the QMAILQUEUE env
variable, so that you can add filters etc into the pipeline.

This works on my systems, and since this bug hasn't gotten alot of
attention, I'm guessing it works for most people. Does this problem
still persist for you? If so, please show me your emerge info.

To get this working, you can try removing the qmailqueue-patch from
the ebuild. If you need the qmailqueue patch, can you try downloading
http://www.data.is/~hhg/qmailqueue-patch-hhg into /usr/portage/net-mail/qmail/files and replacing:

epatch ${DISTDIR}/qmailqueue-patch

with:

epatch ${FILESDIR}/qmailqueue-patch-hhg

At line ~65 in qmail-1.03-r10.ebuild
Comment 2 opello@opello.org 2003-09-16 05:48:56 UTC
I never closed this bug because I figured it would benefit someone, but now I am happily using exim :)

I'll close it I guess, or you can -- however the access structure is setup.

Thanks!

I set it to fixed in the choices below the comment box -- I guess that is appropriate if not many / nobody else had the problem.