pkgsrc-Users archive

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

Re: 2017Q2 / git / perl5 difficulties



On 08/ 2/17 08:44 AM, Benny Siegert wrote:
I think you have a mixed version checkout of pkgsrc. Try doing a "cvs up -Pd" in the top level.
Wes Frazier <wes.frazier%members.fsf.org@localhost> schrieb am Di. 1. Aug. 2017 um 14:47:
Ive been having the worst time building anything that depends on Perl in
the 2017Q2 release and think ive done something wrong on my end, but I
am not entirely sure what.

I can build lang/perl5 fine and issue a "make replace" without error.
Executing "perl --version" works as expected and returns this as the
first line:

"This is perl 5, version 26, subversion 0 (v5.26.0) built for
x86_64-netbsd-thread-multi"

However when I try to build git, it eventually appears to rebuild perl5
for some reason. Its builds the binary package but fails to add it.
(Output below.)

=> Creating binary package
/usr/pkgsrc/lang/perl5/work/.packages/perl-5.26.0nb1.tgz
===> Building binary package for perl-5.26.0nb1
=> Creating binary package /usr/pkgsrc/packages/All/perl-5.26.0nb1.tgz
===> Installing binary package of perl-5.26.0nb1
pkg_add: package `perl-5.26.0nb1' already recorded as installed
ERROR: [depends.mk] A package matching ``perl<5.26.0'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../lang/perl5?
*** Error code 1

Ive purged the the work directory in /usr/pkgsrc/lang/perl and the
problem persists.

Any advice anyone could give would be appreciated.

- Wes


That worked, thanks. Not sure how I ended up with pkgsrc in a mixed state.


Home | Main Index | Thread Index | Old Index