pkgsrc-Bugs archive

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

pkg/51381: samba4 do not compile with ads



>Number:         51381
>Category:       pkg
>Synopsis:       samba4 won't build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 21:05:00 +0000 2016
>Originator:     kab00m%labma.ru@localhost
>Release:        NetBSD 7.0_STABLE
>Organization:
LMA
>Environment:
System: NetBSD pilot.labma.ru 7.0_STABLE NetBSD 7.0_STABLE (Amusing) #0: Wed Jul 20 21:15:01 MSK 2016 kab00m%almaz.labma.ru@localhost:/usr/obj/sys/arch/amd64/compile/Amusing amd64
Architecture: x86_64
Machine: amd64
>Description:
samba4 package need perl5 libraries for some reason (missing buildlink?).
Problem persists on pkgsrc-2016Q2 and -current

[root@pilot samba4]$ grep samba /etc/mk.conf 
PKG_OPTIONS.samba4=ads fam ldap pam winbind

[root@pilot samba4]$ make package install
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Checking for vulnerabilities in samba-4.3.9
=> Creating binary package /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.9.tgz
pkg_create: can't stat `/usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.22.0/Parse/Yapp/Driver.pm'
pkg_create: can't stat `/usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/samba/vfs/notify_fam.so'
pkg_create: lstat failed for file lib/perl5/vendor_perl/5.22.0/Parse/Yapp/Driver.pm: No such file or directory
mv: rename /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.9.tmp.tgz to /usr/pkgsrc/net/samba4/work/.packages/samba-4.3.9.tgz: No such file or directory
*** Error code 1

>How-To-Repeat:
cd /usr/pkgsrc/net/samba4
make install
>Fix:
cp -r /usr/pkgsrc/devel/p5-Parse-Yapp/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.24.0/Parse/Yapp /usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.24.0/Parse/

For fam I just removed fam option.


Home | Main Index | Thread Index | Old Index