[Bug 226593] linux-c6-* ports fail to install on current
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 14 05:21:38 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226593
Bug ID: 226593
Summary: linux-c6-* ports fail to install on current
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: darius at dons.net.au
Hi,
The linux-c6-* ports fail on -current with errors like...
cpio: usr: Cannot extract through symlink
/tmp/work/usr/ports/devel/linux-c6-libgfortran/work/stage/compat/linux/usr
cpio: usr/lib: Cannot extract through symlink
/tmp/work/usr/ports/devel/linux-c6-libgfortran/work/stage/compat/linux/usr/lib
etc..
(This causes some errors later on in staging)
The following patch fixes it but I am not sure if that has any wider
ramifications.
--- /usr/ports/Mk/Uses/linux.mk.orig 2018-03-14 05:11:44.746867000 +0000
+++ /usr/ports/Mk/Uses/linux.mk 2018-03-14 05:11:54.686219000 +0000
@@ -267,7 +267,7 @@
.if !target(do-install)
do-install:
(cd ${WRKSRC} && \
- ${FIND} * | ${CPIO} -dumpl --quiet ${STAGEDIR}${PREFIX})
+ ${FIND} * | ${CPIO} --insecure -dumpl --quiet
${STAGEDIR}${PREFIX})
.for d in bin lib lib64 sbin
[ ! -e ${STAGEDIR}${PREFIX}/${d} -o -L ${STAGEDIR}${PREFIX}/${d} ] || \
(cd ${STAGEDIR}${PREFIX} && \
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list