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: John Marino <netbsd%marino.st@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 07:55:06 +0200

 On 10/12/2011 3:35 AM, OBATA Akio wrote:
 > 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
 >
 >   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
 >
 
 Hmm, I'm not see seeing an issue like that and I've been putting the 
 work dirs on /usr/obj/usr/pkgsrc for 6 months now.  I have not seen many 
 relative links that outright break like p5-pkgsrc-Dewey did, but I do 
 agree that any others like this one should have their relative path fixed.
 John
 


Home | Main Index | Thread Index | Old Index