pkgsrc-Bugs archive

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

pkg/52391: Bootstrapping pkgsrc from a readonly tree fails



>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
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_BETA
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
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
>Description:

	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
	do).

	
>How-To-Repeat:

	Bootstrap pkgsrc from a readonly nfs-mounted pkgsrc tree.

	
>Fix:

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

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index