pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45450: pkgtools/p5-pkgsrc-Dewey fails to build with non-standard $WRKOBJDIR
The following reply was made to PR pkg/45450; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/45450: pkgtools/p5-pkgsrc-Dewey fails to build with
non-standard $WRKOBJDIR
Date: Wed, 12 Oct 2011 10:33:10 +0900
On Wed, 12 Oct 2011 05:15:04 +0900, John Marino <netbsd%marino.st@localhost>
wrote:
> I'd like to have the p5-pkgsrc-Dewey package work in all cases though.
> Is there a real problem with the patch I suggested?
It will not resolve all problems.
We need to change all relative path reference in pkgsrc,
or prevent bmake to "cd /usr/obj/${.CURDIR}" even if it exists.
For example,
(I already have /usr/obj/pkgsrc/pkgtools/p5-pkgsrc-Dewey)
% make
===> Skipping vulnerability checks.
===> Installing dependencies for p5-pkgsrc-Dewey-1.1nb2
ERROR: [reduce-depends.awk] ../../sysutils/checkperms does not exist.
*** Error code 1
Curiously, try again, and it will not happen anymore,
but...
% make
===> Installing dependencies for p6-pkgsrc-Dewey-1.1nb2
===> Overriding tools for p5-pkgsrc-Dewey-1.1.nb2
===> Extracting for p5-pkgsrc-Dewey-1.1nb2
(snip)
===> Unwrapping files-to-be-installed.
sed: ../../mk/pkginstall/usergroup: No such file or directory
sed: ../../mk/pkginstall/perms: No such file or directory
*** Error code 1
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index