Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16547 - postfix-2.0.3.ebuild: Makefile bug: $(CC) wrongly set
Summary: postfix-2.0.3.ebuild: Makefile bug: $(CC) wrongly set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 06:05 UTC by M3Dlor
Modified: 2003-04-18 21:51 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 M3Dlor 2003-02-28 06:05:25 UTC
Hello

postfix-2.0.3.ebuild dont compile: 

log:
>>> Checking postfix-2.0.3.tar.gz's mtime...
>>> Checking pfixtls-0.8.13-2.0.3-0.9.7.tar.gz's mtime... 
>>> Checking tls+ipv6-1.12-pf-2.0.3.patch.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
set -e; for i in src/util src/global src/dns src/master src/postfix
src/smtpstone src/sendmail src/error src/pickup
 src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp
src/bounce src/pipe src/showq src/p
ostalias src/postcat src/postconf src/postdrop src/postkick src/postlock
src/postlog src/postmap src/postqueue src/
postsuper src/nqmgr src/qmqpd src/spawn src/flush src/virtual src/proxymap
src/tlsmgr; do \
 (set -e; echo "[$i]"; cd $i; make 'CC=-DHAS_SSL -DHAS_PCRE' update MAKELEVEL=)
|| exit 1; \
done
[src/util]
DHAS_SSL -DHAS_PCRE  -march=i386 -mcpu=i386 -O3 -pipe -I. -DLINUX2 -c alldig.c
make: [alldig.o] Error 127 (ignored)
make: DHAS_SSL: Command not found
DHAS_SSL -DHAS_PCRE  -march=i386 -mcpu=i386 -O3 -pipe -I. -DLINUX2 -c argv.c
..

Problem is "CC=-DHAS_SSL -DHAS_PCRE". Missing executable!

Makefile:
..
CC      = -DHAS_SSL -DHAS_PCRE // Error !!
..
OPTS    = 'CC=$(CC)' // ??

After changes to Makefile (added gcc) wroks flawless.


Greets
Comment 1 Miles Barr 2003-03-22 10:27:12 UTC
If the CC environment variable is set the build works fine. 
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-03-29 14:37:08 UTC
I can confirm the problem and the workaround with gcc-2.95.3-r5
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2003-04-18 21:51:44 UTC
Fixed in postfix-2.0.9.ebuild (to be committed in minutes)