Re: [package - 130i386-default][lang/linux-c7-tcl85] Failed for linux-c7-tcl85-8.5.13_1 in package
Date: Fri, 18 Mar 2022 20:32:41 UTC
## pkg-fallout@FreeBSD.org (pkg-fallout@FreeBSD.org): > [130i386-default-job-12] | `-- Installing libgpg-error-1.44... > [130i386-default-job-12] | `-- Extracting libgpg-error-1.44: .......... done > <snip> > pkg-static: Unable to access file /wrkdirs/usr/ports/lang/linux-c7-tcl85/work/stage/compat/linux/usr/share/tcl8.5/encoding/cp936.enc:No such file or directory The intersting part has been snipped... This fallout is caused by the recent update to archivers/rpm4 - since rpm 4.17 rpm2archive doesn't operate on stdin by default anymore, you have to explicitely specify "-" as input file. This fixes the problem: diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk index f1fbd6ca49fa..28ce77dc89b1 100644 --- a/Mk/Uses/linux.mk +++ b/Mk/Uses/linux.mk @@ -236,7 +236,7 @@ SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}:SOURCE .ifdef USE_LINUX_RPM_BAD_PERMS EXTRACT_DEPENDS+= rpm2archive:archivers/rpm4 EXTRACT_CMD= rpm2archive -EXTRACT_BEFORE_ARGS= < +EXTRACT_BEFORE_ARGS= - < EXTRACT_AFTER_ARGS= | ${TAR} xf - --no-same-owner --no-same-permissions .endif I'd commit this myself, but as it's infrastructure - any downvotes? Regards, Christoph -- Spare Space