Bug 219716 - archivers/arj: build error: Abort trap
Summary: archivers/arj: build error: Abort trap
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks: 214864
  Show dependency treegraph
 
Reported: 2017-06-02 05:01 UTC by O. Hartmann
Modified: 2017-11-13 12:13 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments
archivers/arj: set LLD_UNSAFE (735 bytes, patch)
2017-08-22 20:18 UTC, Ed Maste
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2017-06-02 05:01:14 UTC
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
Comment 1 O. Hartmann 2017-06-10 12:57:28 UTC
Same is for building archivers/arj in poudriere.
Comment 2 Renato Botelho freebsd_committer 2017-06-10 14:46:33 UTC
(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.
Comment 3 Renato Botelho freebsd_committer 2017-06-27 15:50:59 UTC
(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?
Comment 4 Ed Maste freebsd_committer 2017-08-22 20:18:35 UTC
Created attachment 185679 [details]
archivers/arj: set LLD_UNSAFE
Comment 5 commit-hook freebsd_committer 2017-11-13 12:12:31 UTC
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