NetBSD Problem Report #52391

From  Tue Jul 11 11:18:58 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (not verified))
	by (Postfix) with ESMTPS id 003417A209
	for <>; Tue, 11 Jul 2017 11:18:57 +0000 (UTC)
Message-Id: <>
Date: Tue, 11 Jul 2017 12:31:31 +0200 (CEST)
From: Hauke Fath <>
Reply-To: Hauke Fath <>
Cc: Hauke Fath <>
Subject: Bootstrapping pkgsrc from a readonly tree fails
X-Send-Pr-Version: 3.95

>Number:         52391
>Category:       pkg
>Synopsis:       Bootstrapping pkgsrc from a readonly tree fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 11 11:20:00 +0000 2017
>Last-Modified:  Tue Jul 11 12:31:17 +0000 2017
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_BETA
Technische Universitaet Darmstadt

System: NetBSD Gstoder 8.0_BETA NetBSD 8.0_BETA (MONOLITHIC) #0: Fri Jul 7 14:26:13 CEST 2017 hf@Hochstuhl:/var/obj/netbsd-builds/8/i386/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386

	Bootstrapping pkgsrc from a readonly pkgsrc tree
	(nfs-mounted on debian linux here, but could be anything)
	results in

=> Automatic manual page handling
=> Creating binary package /local/user/pkgsrc-bootstrap/workdir/wrk/pkgtools/cwrappers/work/.packages/cwrappers-20170611.tgz
===> Building binary package for cwrappers-20170611
=> Creating binary package /misc/pkgsrc/packages/All/cwrappers-20170611.tgz
/bin/mkdir: cannot create directory `/misc/pkgsrc/packages/All': Permission denied
*** Error code 1

	At this point, you'll have to find out which variable to tweak
	(PACKAGES) and where (bootstrap/bootstrap does not allow you
	to, "env PACKAGES=/more/siotable/dir ./bootstrap" will


	Bootstrap pkgsrc from a readonly nfs-mounted pkgsrc tree.


	Set and export WORKDIR in bootstrap script. The script should
	probably default PACKAGES to a directory below WORKDIR.




NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.