pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53914: pkg_comp-2.1 (and pkg_comp-2.0) fail to build some packages



>Number:         53914
>Category:       pkg
>Synopsis:       pkg_comp-2.1 (and pkg_comp-2.0) fail to build some packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 27 20:40:00 +0000 2019
>Originator:     Bob Nestor
>Release:        NetBSD 8.0_STABLE (GENERIC) #0: Fri Jan 11 15:56:48 UTC 2019
>Organization:
>Environment:
NetBSD bandit 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #0: Fri Jan 11 15:56:48 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
pkg_comp doesn't build any package that use the X libraries
>How-To-Repeat:
pkg_comp auto geany
>Fix:
The following patch to sandboxctl seems to resolve the problem.

--- modules/netbsd_native.subr.orig	2019-01-27 20:18:36.623269326 +0000
+++ modules/netbsd_native.subr
@@ -37,6 +37,7 @@ shtk_import sandbox
 _netbsd_native_bindfs_mounts() {
     echo bin lib libdata libexec sbin
     echo usr/bin usr/include usr/lib usr/libdata usr/libexec usr/sbin usr/share
+    [ ! -d /usr/X11R7 ] || echo usr/X11R7
 
     # The distribution images for NetBSD/evbarm-earmv7hf 7.1 have /boot
     # directory containing the kernel (which is a separate partition) instead of


Home | Main Index | Thread Index | Old Index