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:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 19 20:10:00 +0000 2012
>Closed-Date:    
>Last-Modified:  Fri Dec 07 06:42:20 +0000 2012
>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.


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