[Bug 214333] mail/milter-greylist on i386: 'configure: error: C compiler cannot create executables'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 8 18:30:28 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214333

            Bug ID: 214333
           Summary: mail/milter-greylist on i386: 'configure: error: C
                    compiler cannot create executables'
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Keywords: toolchain
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: freebsd at bengrimm.net
                CC: m.tsatsenko at gmail.com
             Flags: maintainer-feedback?(m.tsatsenko at gmail.com),
                    maintainer-feedback+
                CC: m.tsatsenko at gmail.com

This happens on FreeBSD 10/1386 and FreeBSD 11/i386, in Poudriere 32-bit build
jails, and on the 32-bit servers themselves. Output in Poudriere below (output
is the same for mail/milter-greylist-devel, and for FreeBSD 10 and 11; port
builds fine on amd64)

-------
====>> Building mail/milter-greylist
build started at Tue Nov  8 19:22:42 CET 2016
port directory: /usr/ports/mail/milter-greylist
building for: FreeBSD TB-FreeBSD11i386-default-job-01 11.0-RELEASE-p3 FreeBSD
11.0-RELEASE-p3 i386
maintained by: m.tsatsenko at gmail.com
Makefile ident:      $FreeBSD: head/mail/milter-greylist/Makefile 425616
2016-11-07 12:39:41Z robak $
Poudriere version: 3.2-pre
Host OSVERSION: 1100122
Jail OSVERSION: 1100122

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
UNAME_v=FreeBSD 11.0-RELEASE-p3
UNAME_r=11.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=i386
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/TB-FreeBSD11i386-default/ref
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=milter-greylist-4.6.1
OSREL=11.0
_OSRELEASE=11.0-RELEASE-p3
PYTHONBASE=/usr/local
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/TB-FreeBSD11i386-default/ref/.p/pool
MASTERNAME=TB-FreeBSD11i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.2-pre
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100122
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for
milter-greylist-4.6.1:
     CURL=off: curl support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GEOIP=off: GeoIP IP location support
     LDAP=off: LDAP protocol support
     P0F=off: P0F support
     POSTFIX=off: Use Postfix instead of Sendmail
     SPF=on: SPF support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--disable-p0f306 --disable-postfix --with-libspf2=/usr/local
--with-user=mailnull  --with-libmilter=/usr  --enable-dnsrbl 
--with-thread-safe-resolver  --with-dumpfile=/var/milter-greylist/greylist.db
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/milter-greylist/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/milter-greylist/work 
HOME=/wrkdirs/usr/ports/mail/milter-greylist/work TMPDIR="/tmp" SHELL=/bin/sh
CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site
lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/milter-greylist/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/milter-greylist/work 
HOME=/wrkdirs/usr/ports/mail/milter-greylist/work TMPDIR="/tmp" NO_PIE=yes
MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="clang"
CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="clang-cpp"
CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib
-fstack-protector" LIBS="-lsasl2 -lpthread"  CXX="clang++" CXXFLAGS="-O2 -pipe
-fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444" 
BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644" 
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/milter-greylist"
EXAMPLESDIR="share/examples/milter-greylist"
DATADIR="share/milter-greylist"
WWWDIR="www/milter-greylist"
ETCDIR="etc/milter-greylist"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/milter-greylist
DOCSDIR=/usr/local/share/doc/milter-greylist
EXAMPLESDIR=/usr/local/share/examples/milter-greylist
WWWDIR=/usr/local/www/milter-greylist
ETCDIR=/usr/local/etc/milter-greylist
--End SUB_LIST--

---Begin make.conf---
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/TB-FreeBSD11i386-make.conf ####
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs

WITHOUT_X11=yes
WITH_PKGNG=yes

MAKE_JOBS_NUMBER=4

CC=clang
CXX=clang++
CPP=clang-cpp

SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2

DEFAULT_VERSIONS= perl5=5.24 python=2.7 python2=2.7 php=56 apache=2.2 mysql=56
ssl=libressl

WITH_SSP_PORTS=yes
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===>  Found saved configuration for milter-greylist-4.4.3_6
===========================================================================
=======================<phase: pkg-depends    >============================
===>   milter-greylist-4.6.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.3.txz
[TB-FreeBSD11i386-default-job-01] Installing pkg-1.9.3...
[TB-FreeBSD11i386-default-job-01] Extracting pkg-1.9.3: .......... done
===>   milter-greylist-4.6.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of milter-greylist-4.6.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===>  Found saved configuration for milter-greylist-4.4.3_6
===> Fetching all distfiles required by milter-greylist-4.6.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===>  Found saved configuration for milter-greylist-4.4.3_6
===> Fetching all distfiles required by milter-greylist-4.6.1 for building
=> SHA256 Checksum OK for milter-greylist-4.6.1.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===>  Found saved configuration for milter-greylist-4.4.3_6
===> Fetching all distfiles required by milter-greylist-4.6.1 for building
===>  Extracting for milter-greylist-4.6.1
=> SHA256 Checksum OK for milter-greylist-4.6.1.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for milter-greylist-4.6.1
===>  Applying FreeBSD patches for milter-greylist-4.6.1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   milter-greylist-4.6.1 depends on shared library: libspf2.so - not found
===>   Installing existing package /packages/All/libspf2-1.2.10_2.txz
[TB-FreeBSD11i386-default-job-01] Installing libspf2-1.2.10_2...
[TB-FreeBSD11i386-default-job-01] Extracting libspf2-1.2.10_2: .......... done
===>   milter-greylist-4.6.1 depends on shared library: libspf2.so - found
(/usr/local/lib/libspf2.so)
===>   Returning to build of milter-greylist-4.6.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for milter-greylist-4.6.1
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in
`/wrkdirs/usr/ports/mail/milter-greylist/work/milter-greylist-4.6.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to m.tsatsenko at gmail.com [maintainer] and attach
the
"/wrkdirs/usr/ports/mail/milter-greylist/work/milter-greylist-4.6.1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/milter-greylist
====>> Cleaning up wrkdir
===>  Cleaning for milter-greylist-4.6.1
build of mail/milter-greylist ended at Tue Nov  8 19:22:48 CET 2016
build time: 00:00:06
!!! build failure encountered !!!
-------

For what it's worth: when 'make' creates the workdir, the ./configure command
works fine when run from that workdir.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list