ports/184489: make INSTALL_AS_USER=1 check-orphans fails as regular user

Gerald Pfeifer gerald at pfeifer.com
Wed Dec 4 07:50:01 UTC 2013


>Number:         184489
>Category:       ports
>Synopsis:       make INSTALL_AS_USER=1 check-orphans fails as regular user
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 04 07:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 10.0-BETA4 i386
>Organization:
>Environment:
>Description:
	I am doing most of my tests as a regular user.  Before pkg-NG
	this has been working just fine for many years.

	Now this became more tricky.  One issue I am running into is
	that `make INSTALL_AS_USER=1 check-orphans` does not work.
>How-To-Repeat:
	Build and install/deinstall a port/package as a regular user
	overriding PKGDB_DIR.

	Then run `make INSTALL_AS_USER=1 check-orphans` and observe

make: stopped in /shscratch/tmp/gerald/4portmgr/lang/gcc
===> Cannot create /var/db/ports/lang_gcc, check permissions
*** Error code 1

	Apparently this is related to it trying to access
	/var/db/ports/lang_gcc -- which I did not for all the
	installation, deinstallation, package creation,...
Stop.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list