NetBSD Problem Report #47221

From izaac@fire.hq.fogcreek.com  Mon Nov 19 20:07:20 2012
Return-Path: <izaac@fire.hq.fogcreek.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 5C0F463CD3D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 19 Nov 2012 20:07:20 +0000 (UTC)
Message-Id: <20121119184722.EDEAFCD5C1@fire.hq.fogcreek.com>
Date: Mon, 19 Nov 2012 13:47:22 -0500 (EST)
From: izaac@setec.org
Reply-To: izaac@setec.org
To: gnats-bugs@gnats.NetBSD.org
Subject: samba35 requires cyrus-sasl
X-Send-Pr-Version: 3.95

>Number:         47221
>Category:       pkg
>Synopsis:       samba25 won't build without cyrus-sasl
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 19 20:10:00 +0000 2012
>Closed-Date:    Sun Jul 27 08:37:24 +0000 2014
>Last-Modified:  Sun Jul 27 08:37:24 +0000 2014
>Originator:     Izaac
>Release:        NetBSD 6.0
>Organization:
>Environment:
n/a
>Description:
	samba35 will not build without cyrus-sasl
>How-To-Repeat:
	cd /usr/pkgsrc/net/samba35 && make
>Fix:
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/samba35/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile    23 Oct 2012 17:19:07 -0000      1.24
+++ Makefile    19 Nov 2012 18:39:27 -0000
@@ -163,4 +163,5 @@
 .include "../../devel/readline/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
+.include "../../security/cyrus-sasl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
cvs diff: Diffing patches

>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47221: samba35 requires cyrus-sasl
Date: Mon, 19 Nov 2012 21:14:29 +0100

 On Mon, Nov 19, 2012 at 08:10:01PM +0000, izaac@setec.org wrote:
 > 	samba35 will not build without cyrus-sasl
 > >How-To-Repeat:
 > 	cd /usr/pkgsrc/net/samba35 && make

 Works for me?

 Joerg

From: Izaac <izaac@setec.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47221: samba35 requires cyrus-sasl
Date: Mon, 19 Nov 2012 17:50:06 -0500

 On Mon, Nov 19, 2012 at 08:15:05PM +0000, Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/47221; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/47221: samba35 requires cyrus-sasl
 > Date: Mon, 19 Nov 2012 21:14:29 +0100
 > 
 >  On Mon, Nov 19, 2012 at 08:10:01PM +0000, izaac@setec.org wrote:
 >  > 	samba35 will not build without cyrus-sasl
 >  > >How-To-Repeat:
 >  > 	cd /usr/pkgsrc/net/samba35 && make
 >  
 >  Works for me?

 fire# mksandbox --without-x /sandbox
 WARNING: LOCALPATCHES directory does not exist - ignoring
 Copying the kernel
 Checking package hierarchy in /usr/pkg and package database in /var/db/pkg exist
 Make and populate /sandbox/dev
 Make and populate /sandbox/etc
 Make empty dirs upon which to mount the null mounts
 Making /tmp in /sandbox
 Making /var/games in /sandbox
 Making /var/run in /sandbox
 Making /var/log in /sandbox
 Making /var/spool/lock in /sandbox
 Making /var/run/utmp in /sandbox
 Making /var/run/utmpx in /sandbox
 Making /var/log/wtmp in /sandbox
 Making /var/log/wtmpx in /sandbox
 Making /var/log/lastlog in /sandbox
 Making /var/log/lastlogx in /sandbox
 Mount /usr/src from /sandbox
 Mount /usr/pkgsrc from /sandbox
 Mounting /usr/pkgsrc/packages/netbsd-6.0-x86_64 and /usr/pkgsrc/distfiles from /sandbox
 Sandbox creation is now complete
 fire# /sandbox/sandbox
 # cd /usr/pkgsrc/net/samba35 && make
 => Bootstrap dependency digest>=20010302: NOT found
 => Verifying install package clean for ../../pkgtools/digest
 ===> Installing dependencies for digest-20111104

 [...]

 => Returning to build of samba-3.5.16nb2
 ===> Overriding tools for samba-3.5.16nb2
 ===> Extracting for samba-3.5.16nb2
 /bin/cp /usr/pkgsrc/net/samba35/../../net/samba/files/adduser.sh /usr/pkgsrc/net/samba35/../../net/samba/files/deluser.sh /tmp/pkgwork/net/samba35/work
 ===> Patching for samba-3.5.16nb2
 => Applying pkgsrc patches for samba-3.5.16nb2
 => Fixing paths.
 ===> Creating toolchain wrappers for samba-3.5.16nb2
 ERROR: cyrus-sasl>=2.1.12 is not installed; can't buildlink files.
 *** Error code 1

 Stop.
 make: stopped in /usr/pkgsrc/net/samba35
 *** Error code 1

 Stop.
 make: stopped in /usr/pkgsrc/net/samba35
 # echo ':('
 :(
 # 

 -- 
 . ___ ___  .   .  ___
 .  \    /  |\  |\ \
 .  _\_ /__ |-\ |-\ \__

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47221: samba35 requires cyrus-sasl
Date: Tue, 4 Dec 2012 06:20:34 +0000

 On Mon, Nov 19, 2012 at 10:55:03PM +0000, Izaac wrote:
  >  >  Works for me?
  >  
  >  fire# mksandbox --without-x /sandbox
  >  WARNING: LOCALPATCHES directory does not exist - ignoring
  >  Copying the kernel
  >  Checking package hierarchy in /usr/pkg and package database in /var/db/pkg exist
  >  Make and populate /sandbox/dev
  >  Make and populate /sandbox/etc
  >  Make empty dirs upon which to mount the null mounts
  >  Making /tmp in /sandbox
  >  Making /var/games in /sandbox
  >  Making /var/run in /sandbox
  >  Making /var/log in /sandbox
  >  Making /var/spool/lock in /sandbox
  >  Making /var/run/utmp in /sandbox
  >  Making /var/run/utmpx in /sandbox
  >  Making /var/log/wtmp in /sandbox
  >  Making /var/log/wtmpx in /sandbox
  >  Making /var/log/lastlog in /sandbox
  >  Making /var/log/lastlogx in /sandbox
  >  Mount /usr/src from /sandbox
  >  Mount /usr/pkgsrc from /sandbox
  >  Mounting /usr/pkgsrc/packages/netbsd-6.0-x86_64 and /usr/pkgsrc/distfiles from /sandbox
  >  Sandbox creation is now complete
  >  fire# /sandbox/sandbox
  >  # cd /usr/pkgsrc/net/samba35 && make
  >  => Bootstrap dependency digest>=20010302: NOT found
  >  => Verifying install package clean for ../../pkgtools/digest
  >  ===> Installing dependencies for digest-20111104
  >  
  >  [...]
  >  
  >  => Returning to build of samba-3.5.16nb2

 In there, the part you snipped, is where it should have installed
 cyrus-sasl, and presumably either didn't or got an out of date
 version.

  >  ===> Overriding tools for samba-3.5.16nb2
  >  ===> Extracting for samba-3.5.16nb2
  >  /bin/cp /usr/pkgsrc/net/samba35/../../net/samba/files/adduser.sh /usr/pkgsrc/net/samba35/../../net/samba/files/deluser.sh /tmp/pkgwork/net/samba35/work
  >  ===> Patching for samba-3.5.16nb2
  >  => Applying pkgsrc patches for samba-3.5.16nb2
  >  => Fixing paths.
  >  ===> Creating toolchain wrappers for samba-3.5.16nb2
  >  ERROR: cyrus-sasl>=2.1.12 is not installed; can't buildlink files.
  >  *** Error code 1

 The most common cause of this is having an old already-built workdir
 for the "missing" package which contains a version older than the one
 pkgsrc expects to be current.

 Inconsistent updates of the pkgsrc tree can also cause it.

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 07 Dec 2012 06:42:20 +0000
State-Changed-Why:
cannot reproduce - please provide additional information as suggested in
my previous mail. or, if it's working now, let us know so the PR can be
closed.


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47221 CVS commit: pkgsrc/databases/openldap-client
Date: Mon, 21 Jul 2014 12:57:20 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Jul 21 12:57:20 UTC 2014

 Modified Files:
 	pkgsrc/databases/openldap-client: buildlink3.mk

 Log Message:
 Prevent unsupported build option detection for the case using builtin one.
 Fixes PR pkg/47221.


 To generate a diff of this commit:
 cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/openldap-client/buildlink3.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47221
Date: Sun, 27 Jul 2014 05:21:49 +0000

 not sent to gnats
    ------

 From: Izaac <izaac@setec.org>
 To: pkgsrc-bugs@netbsd.org
 Subject: Re: pkg/47221
 Date: Thu, 24 Jul 2014 16:50:37 -0400

 Fixed.  Well done.

 -- 
 . ___ ___  .   .  ___
 .  \    /  |\  |\ \
 .  _\_ /__ |-\ |-\ \__

State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 08:37:24 +0000
State-Changed-Why:
Confirmed fixed, thanks.


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.