ports/147853: [mail/ssmtp] setting TARGET_ARCH variable prevent to compile

Olivier Cochard-Labbé olivier at cochard.me
Mon Jun 14 15:30:03 UTC 2010


>Number:         147853
>Category:       ports
>Synopsis:       [mail/ssmtp] setting TARGET_ARCH variable prevent  to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 15:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        8.0-stable
>Organization:
>Environment:
FreeBSD d630.bsdrp.net 8.0-STABLE FreeBSD 8.0-STABLE #70: Wed May 12 13:00:32 CEST 2010     root at d630.bsdrp.net:/usr/obj/usr/src/sys/DellD630  amd64
>Description:
When using this make command line:
env TARGET_ARCH=amd64 make

or this command line:
env TARGET_ARCH=i386 make

The make process generate a bad compilation line and failed by displaying this message:

===>  Building for ssmtp-2.62.3
cc -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1  -DSSMTPCONFDIR=\"/usr/local/etc/ssmtp\" -DCONFIGURATION_FILE=\"/usr/local/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/usr/local/etc/ssmtp/revaliases\"  -O2 -pipe -march=native -I/usr/include -DUSERPREFS -fno-strict-aliasing  amd64 -c -o ssmtp.o ssmtp.c
cc: amd64: No such file or directory
gmake: *** [ssmtp.o] Erreur 1
*** Error code 1

We can notice that the value of the variable TARGET_ARCH is put just after the "-fno-strict-aliasing" and before the "-c -o ssmtp.o" options: Something missing.

>How-To-Repeat:
When using this make command line:
env TARGET_ARCH=amd64 make

or this command line:
env TARGET_ARCH=i386 make

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list