I had the same a few weeks ago, ended up manually creating the softlink to Yapp/Driver.pm in perl's library (which was present) into the work tree as presented.
Chavdar On Thu, 16 Mar 2017 at 22:56 Riccardo Mottola <riccardo.mott...@libero.it> wrote: > Hi, > > I updated pkgsrc and did run pkg_rolling-replace. All packages did > upgrade except samba which fails repeatedly with the same error: > > => Automatic manual page handling > pkg_create: can't stat > > `/usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.24.0/Parse/Yapp/Driver.pm' > => Creating binary package > /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.11nb6.tgz > pkg_create: can't stat > > `/usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.24.0/Parse/Yapp/Driver.pm' > pkg_create: lstat failed for file > lib/perl5/vendor_perl/5.24.0/Parse/Yapp/Driver.pm: No such file or > directory > mv: rename /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.11nb6.tmp.tgz > to /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.11nb6.tgz: No such > file or directory > *** Error code 1 > > > What is going wrong? Is it failing against a self-contained perl file? I > do wonder. Samba4 did build for me about a month ago on the same machine. > > Riccardo >