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