NetBSD Problem Report #41987
From kre@munnari.OZ.AU Thu Sep 3 15:53:14 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 465EB63B842
for <gnats-bugs@gnats.NetBSD.org>; Thu, 3 Sep 2009 15:53:14 +0000 (UTC)
Message-Id: <200909031553.n83Fr8hG017038@jade.coe.psu.ac.th>
Date: Thu, 3 Sep 2009 22:53:08 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
X-Send-Pr-Version: 3.95
>Number: 41987
>Category: pkg
>Synopsis: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jnemeth
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 03 15:55:00 +0000 2009
>Closed-Date: Sat May 08 00:11:08 +0000 2010
>Last-Modified: Sat May 08 00:11:08 +0000 2010
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 pkgsrc -current
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
The PLIST for comms/asterisk16 (asterisk-1.6.1.4nb1) expects
the file lib.asterisk/modules/res_config_ldap.so to be installed,
but it isn't ...)
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 release sets installed
(except the x* sets, I use pkgsrc modular xorg istead).
Most probably none of that is relevant here.
In that environment, I see ...
=> Checking file-check results for asterisk-1.6.1.4nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/lib/asterisk/modules/res_config_ldap.so
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/comms/asterisk16
*** Error code 1
Earlier there was also ...
pkg_create: can't stat `/usr/pkg/lib/asterisk/modules/res_config_ldap.so'
pkg_admin: asterisk-1.6.1.4nb1: File `/usr/pkg/lib/asterisk/modules/res_config_ldap.so' is in +CONTENTS but not on filesystem!
that is, th etyocal set of messages when a file the PLIST
expects isn't installed by the package.
Those 3 lines are the only references to res_config_ldap
(with or without the trailing .so) I can find in the build
log.
I have no mk.conf entries that could affect asterisk
that I can imagine - I cannot see any particular reason
that anything relating to LDAP would exist in this
environment (and the config output does say ...
checking for ldap_initialize in -lldap... no
The older asterisk (1.2.34) builds OK, or did when it
was last needed to be done, a little over a wek ago.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jnemeth
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 03 Sep 2009 16:31:50 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/41987: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
Date: Wed, 16 Sep 2009 22:01:29 +0700
This problem remains in he latest (updated) version of asterisk16 ....
=> Checking file-check results for asterisk-1.6.1.6
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/lib/asterisk/modules/res_config_ldap.so
*** Error code 1
kre
From: jnemeth@cornerstoneservice.ca (John Nemeth)
To: gnats-bugs@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org,
kre@munnari.OZ.AU
Cc:
Subject: Re: pkg/41987: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
Date: Wed, 16 Sep 2009 14:02:10 -0700
On Sep 16, 3:05pm, Robert Elz wrote:
}
} The following reply was made to PR pkg/41987; it has been noted by GNATS.
}
} From: Robert Elz <kre@munnari.OZ.AU>
} To: gnats-bugs@NetBSD.org
} Subject: Re: pkg/41987: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
} Date: Wed, 16 Sep 2009 22:01:29 +0700
}
} This problem remains in he latest (updated) version of asterisk16 ....
}
} => Checking file-check results for asterisk-1.6.1.6
} ERROR: ************************************************************
} ERROR: The following files are in the PLIST but not in /usr/pkg:
} ERROR: /usr/pkg/lib/asterisk/modules/res_config_ldap.so
} *** Error code 1
Yes, I know. The update wasn't intended to fix it. I need
to give some thought to how to deal with this without dragging in
LDAP stuff when it's unwanted, but allow it to be available when
LDAP is built-in to a system (or the user specifically enables an
ldap option).
}-- End of excerpt from Robert Elz
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/41987: comms/asterisk16 PLIST problem (file-check test fails) (NetBSD 4.0/i386)
Date: Thu, 17 Sep 2009 04:39:59 +0700
Date: Wed, 16 Sep 2009 21:05:04 +0000 (UTC)
From: jnemeth@cornerstoneservice.ca (John Nemeth)
Message-ID: <20090916210504.54AFC63C2E4@www.NetBSD.org>
| Yes, I know. The update wasn't intended to fix it. I need
| to give some thought to how to deal with this without dragging in
| LDAP stuff when it's unwanted, but allow it to be available when
| LDAP is built-in to a system (or the user specifically enables an
| ldap option).
That's fine, it's just that when I see a package updated, I like to
test it again to see if the problem has just "magically" vanished...
(it happens not infrequently).
kre
From: John Nemeth <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41987 CVS commit: pkgsrc/comms/asterisk16
Date: Fri, 7 May 2010 23:57:56 +0000
Module Name: pkgsrc
Committed By: jnemeth
Date: Fri May 7 23:57:56 UTC 2010
Modified Files:
pkgsrc/comms/asterisk16: Makefile PLIST options.mk
Log Message:
Add an "ldap" option which defaults to enabled, since most modern
systems come with LDAP support built-in. This has no effect on
such systems. However, on older systems, it will pull in
openldap-client. But, a builder may still disable the option if
they wish. This fixes:
PR pkg/41987 - Robert Elz -- comms/asterisk16 PLIST problem
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/comms/asterisk16/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/comms/asterisk16/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/comms/asterisk16/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: jnemeth@NetBSD.org
State-Changed-When: Sat, 08 May 2010 00:11:08 +0000
State-Changed-Why:
Fixed, thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.