On recent 12-CURRENT (FreeBSD 12.0-CURRENT #5 r319215: Tue May 30 16:44:52 CEST 2017 amd, WITH_LLD_IS_LD=yes), the port fails to build due to the error shown below: [...] ===> Building for arj-3.10.22_4 gmake[2]: Entering directory '/usr/ports/archivers/arj/work/arj-3.10.22' mkdir -p ./freebsd12.0/en/rs mkdir -p ./freebsd12.0/en/rs/tools mkdir -p ./freebsd12.0/en/rs/arjcrypt mkdir -p ./freebsd12.0/en/rs/sfxstub mkdir -p ./freebsd12.0/en/rs/arjsfxv mkdir -p ./freebsd12.0/en/rs/arjsfx mkdir -p ./freebsd12.0/en/rs/arjsfxjr mkdir -p ./freebsd12.0/en/rs/arj mkdir -p ./freebsd12.0/en/rs/rearj mkdir -p ./freebsd12.0/en/rs/register mkdir -p ./freebsd12.0/en/rs/arjdisp cc -DARJUTIL -c -Ifreebsd12.0 -I./freebsd12.0/en/rs -I. -O2 -pipe -O3 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX -O2 -pipe -O3 -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd12.0/en/rs/tools/filemode.o filemode.c cc -DARJUTIL -c -Ifreebsd12.0 -I./freebsd12.0/en/rs -I. -O2 -pipe -O3 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX -O2 -pipe -O3 -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd12.0/en/rs/tools/today.o today.c cc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX -O2 -pipe -O3 -fPIC -fstack-protector -fno-strict-aliasing -fstack-protector -s gnu/stripgcc.lnk -o freebsd12.0/en/rs/tools/today ./freebsd12.0/en/rs/tools/filemode.o ./freebsd12.0/en/rs/tools/today.o ./freebsd12.0/en/rs/tools/today en ./freebsd12.0/en/rs gmake[2]: *** [GNUmakefile:186: timestamp] Abort trap gmake[2]: Leaving directory '/usr/ports/archivers/arj/work/arj-3.10.22' *** Error code 1
Same is for building archivers/arj in poudriere.
(In reply to O. Hartmann from comment #0) Do you have any patch to fix this? I noted you changed it to ask a feedback from me but since I'm not seeing a patch on ticket I'm confused about it.
(In reply to O. Hartmann from comment #1) On a recent -CURRENT FreeBSD x230 12.0-CURRENT FreeBSD 12.0-CURRENT #5 r320097M: Tue Jun 20 11:32:25 -03 2017 root@x230:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 I could build it without any issue. Is it still failing for you?
Created attachment 185679 [details] archivers/arj: set LLD_UNSAFE
A commit references this bug: Author: garga Date: Mon Nov 13 12:12:09 UTC 2017 New revision: 454107 URL: https://svnweb.freebsd.org/changeset/ports/454107 Log: - Add LLD_UNSAFE to fix build with WITH_LLD_IS_LD [1] - Create OPTIONS to set possible languages to be used at build time instead of using LOCALE environment variable [2] - While here, pet portlint - Bump PORTREVISION PR: 219716 [1], 223259 [2] Submitted by: ed@ [1], Matt <fsbruva@yahoo.com> [2] Reported by: O. Hartmann <iohartmann@walstatt.org> [1] Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/archivers/arj/Makefile