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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 21:05:00 +0000 2016
>Closed-Date:    Tue Dec 25 12:35:35 +0000 2018
>Last-Modified:  Tue Dec 25 12:35:35 +0000 2018
>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.



State-Changed-From-To: open->feedback
State-Changed-When: Tue, 20 Feb 2018 05:26:54 +0000
Does this still happen? The perl dep (in USE_TOOLS) and the plist entry for
the item involved have been in place since -r1.1, so I'm guessing that the
real problem was that either the build of the perl module in question failed
(without stopping the overall build) or something failed at configure time so
it decided not to build that perl module. In which case we'll need to know
what actually went wrong in order to fix anything...

State-Changed-From-To: feedback->closed
State-Changed-When: Tue, 25 Dec 2018 12:35:35 +0000
This should be fixed.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.