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:          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
>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.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 20 Feb 2018 05:26:54 +0000
State-Changed-Why:
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-By: adam@NetBSD.org
State-Changed-When: Tue, 25 Dec 2018 12:35:35 +0000
State-Changed-Why:
This should be fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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