pkgsrc-Bugs archive

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

Re: pkg/55217: devel/gobject-introspection breaks cwrappers LOCALBASE contains symlink



The following reply was made to PR pkg/55217; it has been noted by GNATS.

From: Jonathan Perkin <jperkin%joyent.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	triaxx%netbsd.org@localhost
Subject: Re: pkg/55217: devel/gobject-introspection breaks cwrappers
 LOCALBASE contains symlink
Date: Wed, 29 Apr 2020 15:54:30 +0100

 * On 2020-04-29 at 15:45 BST, Christos Zoulas wrote:
 
 >  I think this should be enforced though (i.e. the pkgsrc Makefiles
 >  should complain).  Otherwise some packages work, others don't which
 >  is puzzling and seems like a mistake.
 
 The bootstrap script does check, but it looks like it only checks when
 the user has specified paths, not when they are using the defaults.
 
 I'd recommend just adding a new $prefix check after setting
 prefix=${HOME}/pkg.
 
 The problem with the simple fix of just moving all the checks down to
 after $prefix is set is that varbase=/var will fail the checks on
 macOS where it is a symlink to /private/var.
 
 I don't think having VARBASE be a symlink is a problem in practice,
 the primary concerns are LOCALBASE and WRKOBJDIR.
 
 -- 
 Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
 


Home | Main Index | Thread Index | Old Index