Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 05:21:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226593] linux-c6-* ports fail to install on current
Message-ID:  <bug-226593-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226593

            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@FreeBSD.org
          Reporter: darius@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} && \

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226593-13>