NetBSD Problem Report #51381

From  Sat Jul 30 21:04:31 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 708077A221
	for <>; Sat, 30 Jul 2016 21:04:31 +0000 (UTC)
Message-Id: <>
Date: Sat, 30 Jul 2016 22:46:54 +0300 (MSK)
Subject: samba4 do not compile with ads
X-Send-Pr-Version: 3.95

>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
>Release:        NetBSD 7.0_STABLE
System: NetBSD 7.0_STABLE NetBSD 7.0_STABLE (Amusing) #0: Wed Jul 20 21:15:01 MSK 2016 amd64
Architecture: x86_64
Machine: amd64
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/'
pkg_create: can't stat `/usr/pkgsrc/net/samba4/work/.destdir/usr/pkg/lib/samba/vfs/'
pkg_create: lstat failed for file lib/perl5/vendor_perl/5.22.0/Parse/Yapp/ 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

cd /usr/pkgsrc/net/samba4
make install
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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.