Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34487 - net-mail/relay-ctrl fails due to syntax error in ./compile
Summary: net-mail/relay-ctrl fails due to syntax error in ./compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 23116
Blocks:
  Show dependency tree
 
Reported: 2003-11-26 19:02 UTC by Fluff
Modified: 2003-11-28 18:53 UTC (History)
0 users

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 Fluff 2003-11-26 19:02:07 UTC
When emerging relay-ctrl there seams to be an error in src_compile part of the 
ebuild. The source gets error from 'head' and later on from 'exec' as follows:



Reproducible: Always
Steps to Reproduce:
1. Installed portage -r17
2. Re-emerged portage -r15
3. Re-emerged coreutils

Actual Results:  

---- CUT --
) >compile 
head: `-1' option is obsolete; use `-n 1' 
Try `head --help' for more information. 
head: `-1' option is obsolete; use `-n 1' 
Try `head --help' for more information. 
chmod 755 load 
( echo '#!/bin/sh'; \ 
  echo 'main="$1"; shift';\ 
  echo 'rm -f "$main"';\ 
  echo 'ar cr "$main" ${1+"$@"}';\ 
  echo 'ranlib "$main"';\ 
) >makelib 
chmod 755 compile 
cat warn-auto.sh choose.sh >choose 
chmod 755 choose 
./compile iobuf/ibuf_getc.c 
chmod 755 makelib 
./compile iobuf/ibuf_gets.c 
./compile: line 4: exec: -I: invalid option 
exec: usage: exec [-cl] [-a name] file [redirection ...] 
make: *** [iobuf/ibuf_getc.o] Error 2 
make: *** Waiting for unfinished jobs.... 
./compile: line 4: exec: -I: invalid option 
exec: usage: exec [-cl] [-a name] file [redirection ...] 
make: *** [iobuf/ibuf_gets.o] Error 2


Expected Results:  
A nice compilation? :)
Comment 1 Fluff 2003-11-26 19:03:41 UTC
The moderator Brandy had an solution:
http://forums.gentoo.org/viewtopic.php?t=109807
Comment 2 Fluff 2003-11-26 19:05:26 UTC
Gah. Sorry pals, I'm new at this...


The qmail-autoresponder could use the same fix. :)
Comment 3 Fluff 2003-11-28 05:28:59 UTC
Don't know if I made the right thing here :]
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-28 18:53:03 UTC
fixed in CVS.