[MacPorts] #14676: postfix +pcre build error
#14676: postfix +pcre build error ------------------------------+--------------------------------------------- Reporter: furio.mf@spin.it | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: postfix pcre | ------------------------------+--------------------------------------------- Environment: OSX 10.5.2 on PowerMac G5 # uname -a Darwin powermac.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC Power Macintosh It looks like the pcre variant of postfix generates a make with DHAS_PCRE instead of -DHAS_PCRE. ======================================================================== # port install postfix +pcre ---> Building postfix Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_postfix/work/postfix-2.4.6" && make " returned error 2 Command output: make: DHAS_PCRE: Command not found make: [format_tv.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c allspace.c make: DHAS_PCRE: Command not found make: [allspace.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c allascii.c make: DHAS_PCRE: Command not found make: [allascii.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c load_file.c make: DHAS_PCRE: Command not found make: [load_file.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c killme_after.c make: DHAS_PCRE: Command not found make: [killme_after.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c vstream_tweak.c make: DHAS_PCRE: Command not found make: [vstream_tweak.o] Error 127 (ignored) ar rv libutil.a ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] make: *** [libutil.a] Error 1 make: *** [update] Error 1 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: postfix pcre -------------------------------+-------------------------------------------- Comment (by furio.mf@spin.it): I apologize for the horrendous formatting. This should be more readable: {{{ # port install postfix +pcre ---> Building postfix Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_postfix/work/postfix-2.4.6" && make " returned error 2 Command output: make: DHAS_PCRE: Command not found make: [format_tv.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c allspace.c make: DHAS_PCRE: Command not found make: [allspace.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c allascii.c make: DHAS_PCRE: Command not found make: [allascii.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c load_file.c make: DHAS_PCRE: Command not found make: [load_file.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c killme_after.c make: DHAS_PCRE: Command not found make: [killme_after.o] Error 127 (ignored) DHAS_PCRE -I/opt/local/include -DBIND_8_COMPAT -DNO_NETINFO -g -O -I. -DMACOSX -c vstream_tweak.c make: DHAS_PCRE: Command not found make: [vstream_tweak.o] Error 127 (ignored) ar rv libutil.a ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] make: *** [libutil.a] Error 1 make: *** [update] Error 1 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: postfix pcre -------------------------------+-------------------------------------------- Comment (by jmr@macports.org): Replying to [ticket:14676 furio.mf@spin.it]:
It looks like the pcre variant of postfix generates a make with DHAS_PCRE instead of -DHAS_PCRE.
It also looks like it has an empty `$CC`. I'm unable to reproduce this error on Leopard, though the destroot did fail, which I fixed in r35058. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: wsiegrist@apple.com Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: postfix pcre -------------------------------+-------------------------------------------- Changes (by wsiegrist@apple.com): * owner: macports-tickets@lists.macosforge.org => wsiegrist@apple.com -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: wsiegrist@apple.com Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: postfix pcre -------------------------------+-------------------------------------------- Changes (by wsiegrist@apple.com): * status: new => closed * resolution: => fixed Comment: The lack of a $CC value was the problem. The steps that fail should be "cc -DHAS_PCRE" and was getting run as just "DHAS_PCRE" since $CC wasnt set. Seems like this ticket was completely fixed by r35058. Thanks jmr! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: wsiegrist@apple.com Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: postfix pcre -------------------------------+-------------------------------------------- Comment (by jmr@macports.org): Replying to [comment:4 wsiegrist@apple.com]:
Seems like this ticket was completely fixed by r35058.
I don't see how it could have been. I think this may be something like #13930, where CC needs to be set in build.env and not just configure.env. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14676: postfix +pcre build error -------------------------------+-------------------------------------------- Reporter: furio.mf@spin.it | Owner: wsiegrist@apple.com Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: postfix pcre -------------------------------+-------------------------------------------- Comment (by wsiegrist@apple.com): If someone still gets this error, please reopen the ticket. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14676#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts