Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 21:58:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244177] /devel/binutils (binutils-2.33.1_2, 1) will not build on 12.1-p2 amd64
Message-ID:  <bug-244177-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244177

            Bug ID: 244177
           Summary: /devel/binutils (binutils-2.33.1_2,1) will not build
                    on 12.1-p2 amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: freebsd@bengrimm.net
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

See full Poudriere output at https://pastebin.pl/view/652f7bb1

Note that the port builds fine on 12.1-p2 i386. I found the isssue because =
e.g.
MailScanner, ClaMAV suddenly showed up as orphaned. This proved to be the
common dependency (failure).

First and Last lines from Poudriere build:

=3D>> Building devel/binutils

build started at Sun Feb 16 20:29:34 CET 2020
port directory: /usr/ports/devel/binutils
package name: binutils-2.33.1_2,1
building for: FreeBSD Ben-FreeBSD12amd64-default-job-01 12.1-RELEASE-p2 Fre=
eBSD
12.1-RELEASE-p2 amd64
maintained by: bapt@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/binutils/Makefile 525129 2020-02-=
04
08:38:59Z manu $
Poudriere version: 3.3.99.20191210
Host OSVERSION: 1201000
Jail OSVERSION: 1201000
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1201000
UNAME_v=3DFreeBSD 12.1-RELEASE-p2
UNAME_r=3D12.1-RELEASE-p2
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20191210
MASTERMNT=3D/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
PWD=3D/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3DBen-FreeBSD12amd64-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3Dnative
DEPENDS_ARGS=3D
MAKE_ARGS=3D FLAVOR=3Dnative
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for binutils-2=
.33.1_2,1:
     NLS=3Don: Native Language Support
     RELRO=3Doff: enable -z relro in ELF linker by default
     STATIC=3Doff: Build static executables and/or libraries
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bapt@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-system-zlib  --with-gmp=3D/usr/local  --with-mpfr=3D/usr/local=20
--enable-targets=3Dall  --enable-threads=3Dyes --disable-werror=20
--enable-deterministic-archives  --with-sysroot=3D/=20
--enable-x86-relax-relocations=3Dno --enable-nls --enable-relro=3Dno --enab=
le-gold
--enable-plugins --prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=3Dgmake XDG_DATA_HOME=3D/wrkdirs/usr/ports/devel/binutils/work-native=
=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/devel/binutils/work-native=20
HOME=3D/wrkdirs/usr/ports/devel/binutils/work-native TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/devel/binutils/work-native/.bin:/sbin:/bin:/usr/s=
bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh CMAKE_PREFIX_PATH=3D"/usr/local"
CONFIG_SITE=3D/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=3D2621=
44
--End CONFIGURE_ENV--

--MAKE_ENV--
ac_cv_func_sbrk=3D0 XDG_DATA_HOME=3D/wrkdirs/usr/ports/devel/binutils/work-=
native=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/devel/binutils/work-native=20
HOME=3D/wrkdirs/usr/ports/devel/binutils/work-native TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/devel/binutils/work-native/.bin:/sbin:/bin:/usr/s=
bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"clang" CFLAGS=3D"-O2 -pi=
pe=20
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "=
=20
CPP=3D"clang-cpp" CPPFLAGS=3D"-isystem /usr/local/include"  LDFLAGS=3D"
-fstack-protector-strong " LIBS=3D"-L/usr/local/lib"  CXX=3D"clang++" CXXFL=
AGS=3D"-O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-alia=
sing
 -Wno-c++11-narrowing -isystem /usr/local/include "  MANPREFIX=3D"/usr/loca=
l"
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  -s =
-m 0644"
 BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INSTALL_DATA=3D"install  -m 06=
44"=20
BSD_INSTALL_MAN=3D"install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 NLS=3D"" NO_NLS=3D"@comment " RELRO=3D"@comment " NO_RELRO=3D"" STATIC=3D"=
@comment "
NO_STATIC=3D"" GOLD=3D"" OSREL=3D12.1 PREFIX=3D%D LOCALBASE=3D/usr/local=20
RESETPREFIX=3D/usr/local LIB32DIR=3Dlib DOCSDIR=3D"share/doc/binutils"=20
EXAMPLESDIR=3D"share/examples/binutils"  DATADIR=3D"share/binutils"=20
WWWDIR=3D"www/binutils"  ETCDIR=3D"etc/binutils"
--End PLIST_SUB--

--SUB_LIST--
 NLS=3D"" NO_NLS=3D"@comment " RELRO=3D"@comment " NO_RELRO=3D"" STATIC=3D"=
@comment "
NO_STATIC=3D"" PREFIX=3D/usr/local LOCALBASE=3D/usr/local=20
DATADIR=3D/usr/local/share/binutils DOCSDIR=3D/usr/local/share/doc/binutils
EXAMPLESDIR=3D/usr/local/share/examples/binutils  WWWDIR=3D/usr/local/www/b=
inutils
ETCDIR=3D/usr/local/etc/binutils
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs
PORTSDIR=3D/usr/ports
PACKAGES=3D/packages
DISTDIR=3D/distfiles
FORCE_PACKAGE=3Dyes
PACKAGE_BUILDING=3Dyes
PACKAGE_BUILDING_FLAVORS=3Dyes
#### /usr/local/etc/poudriere.d/Ben-FreeBSD12amd64-make.conf ####
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs

OPTIONS_UNSET=3DX11

WITH_PKGNG=3Dyes

CC=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp

#DEFAULT_VERSIONS=3D  perl5=3D5.28 python=3D2.7 python2=3D2.7 php=3D72 apac=
he=3D2.6
mysql=3D56 ssl=3Dopenssl
#DEFAULT_VERSIONS=3D  perl5=3D5.30 python=3D2.7 python2=3D2.7 php=3D73 apac=
he=3D2.6
mysql=3D56 ssl=3Dopenssl
DEFAULT_VERSIONS=3D  perl5=3D5.30 python=3D3.6 python3=3D3.6 php=3D73 apach=
e=3D2.6 mysql=3D56
ssl=3Dopenssl

WITH_SSP_PORTS=3Dyes

SENDMAIL_CF_DIR=3D /usr/local/share/sendmail/cf
WITH_CCACHE_BUILD=3Dyes

# aanzetten voor bijv. DCC
DISABLE_LICENSES=3Dyes
WITH_CCACHE_BUILD=3Dyes
CCACHE_DIR=3D/root/.ccache
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_00792546=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/final 3=
66581)
(based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model: posix
InstalledDir: /usr/bin
_ALTCCVERSION_00792546=3Dnone
_CXXINTERNAL_bf0c4528=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/final
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread mod=
el:
posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linke=
r"
"/libexec/ld-elf.so.1" "--hash-style=3Dboth" "--enable-new-dtags" "-o" "a.o=
ut"
"/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib"
"/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
"-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o"
"/usr/lib/crtn.o"
CC_OUTPUT_00792546_58173849=3Dyes
CC_OUTPUT_00792546_9bdba57c=3Dyes
CC_OUTPUT_00792546_6a4fe7f5=3Dyes
CC_OUTPUT_00792546_6bcac02b=3Dyes
CC_OUTPUT_00792546_67d20829=3Dyes
CC_OUTPUT_00792546_bfa62e83=3Dyes
CC_OUTPUT_00792546_f0b4d593=3Dyes
CC_OUTPUT_00792546_308abb44=3Dyes
CC_OUTPUT_00792546_f00456e5=3Dyes
CC_OUTPUT_00792546_65ad290d=3Dyes
CC_OUTPUT_00792546_f2776b26=3Dyes
CC_OUTPUT_00792546_b2657cc3=3Dyes
CC_OUTPUT_00792546_380987f7=3Dyes
CC_OUTPUT_00792546_160933ec=3Dyes
CC_OUTPUT_00792546_fb62803b=3Dyes
_OBJC_CCVERSION_00792546=3DFreeBSD clang version 8.0.1 (tags/RELEASE_801/fi=
nal
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread mod=
el:
posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_00792546=3Dnone
ARCH=3Damd64
OPSYS=3DFreeBSD
_OSRELEASE=3D12.1-RELEASE-p2
OSREL=3D12.1
OSVERSION=3D1201000
PYTHONBASE=3D/usr/local
HAVE_COMPAT_IA32_KERN=3DYES
_SMP_CPUS=3D12
CONFIGURE_MAX_CMD_LEN=3D262144
HAVE_PORTS_ENV=3D1
#### Misc Poudriere ####
GID=3D0
UID=3D0
---End make.conf---

ranlib libgold.a
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
-frandom-seed=3Ddwp  -pthread -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isystem
/usr/local/include   -fstack-protector-strong  -o dwp dwp.o libgold.a
../libiberty/libiberty.a  /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib   -lz -L/usr/local/lib
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
-frandom-seed=3Dld-new  -pthread -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isystem
/usr/local/include   -fstack-protector-strong  -o ld-new main.o i386.o x86_=
64.o
sparc.o powerpc.o arm.o arm-reloc-property.o tilegx.o mips.o aarch64.o
aarch64-reloc-property.o s390.o libgold.a ../libiberty/libiberty.a=20
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib   -lz -L/usr/local/=
lib
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
-frandom-seed=3Dincremental-dump  -pthread -O2 -pipe -fstack-protector-stro=
ng
-isystem /usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isy=
stem
/usr/local/include  -pthread -fstack-protector-strong  -o incremental-dump
incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-proper=
ty.o
tilegx.o mips.o aarch64.o aarch64-reloc-property.o s390.o libgold.a
../libiberty/libiberty.a /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib   -lz -L/usr/local/lib
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1'
gmake[1]: *** [Makefile:851: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/binutils
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for binutils-2.33.1_2,1
build of devel/binutils | binutils-2.33.1_2,1 ended at Sun Feb 16 20:30:23 =
CET
2020
build time: 00:00:49
!!! build failure encountered !!!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244177-7788>