git: 0f379164c78d - main - archivers/arj: Fix build inside ezjail
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 10:14:50 UTC
The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f379164c78d57e213a306f6a26d06a5cb07019e commit 0f379164c78d57e213a306f6a26d06a5cb07019e Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2022-08-31 09:57:25 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2022-08-31 10:14:45 +0000 archivers/arj: Fix build inside ezjail For yet unclear reason this port was failing to build inside a jail built using ezjail. It ended up producing a broken msgbind binary that crashes early with 'Abort trap' message. ezjail built jail uses lots of symlinks pointing to a nullfs mounted partition and this combination seems to be the cause of this issue. After many tests jsm@ figured out that removing LD_STRIP definition from gnu/configure script solves the case. There is still something wrong, maybe on nullfs code, that should be investigated, but at least it fixes this port build. PR: 235636 Reported by: Peter Putzer <freebsd@mnd.sc> Sponsored by: Rubicon Communications, LLC ("Netgate") --- archivers/arj/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index c552ddc316df..2b80eeec1840 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -1,6 +1,6 @@ PORTNAME= arj PORTVERSION= 3.10.22 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= archivers MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \ DEBIAN_POOL:patch @@ -58,7 +58,8 @@ post-patch: @${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \ ${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c @${REINPLACE_CMD} -e 's!-O2!!' -e 's!ALIGN_POINTERS!&,1,desc!' \ - -e 's!USE_COLORS!&,1,desc!' ${WRKSRC}/gnu/configure.in + -e 's!USE_COLORS!&,1,desc!' -e '/LD_STRIP=/d' \ + ${WRKSRC}/gnu/configure.in @${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c post-install: