NetBSD Problem Report #51381

From kab00m@labma.ru  Sat Jul 30 21:04:31 2016
Return-Path: <kab00m@labma.ru>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 708077A221
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jul 2016 21:04:31 +0000 (UTC)
Message-Id: <20160730194654.C41BD19DF3B@pilot.labma.ru>
Date: Sat, 30 Jul 2016 22:46:54 +0300 (MSK)
From: kab00m@labma.ru
Reply-To: kab00m@labma.ru
To: gnats-bugs@NetBSD.org
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
>Originator:     kab00m@labma.ru
>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:/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.

NetBSD Home
NetBSD PR Database Search

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