NetBSD Problem Report #43889
From www@NetBSD.org Mon Sep 20 12:45:41 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 85C2463B974
for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Sep 2010 12:45:41 +0000 (UTC)
Message-Id: <20100920124541.379BE63B970@www.NetBSD.org>
Date: Mon, 20 Sep 2010 12:45:41 +0000 (UTC)
From: daniel.vergien@googlemail.com
Reply-To: daniel.vergien@googlemail.com
To: gnats-bugs@NetBSD.org
Subject: packaging audio/ibcanberra-0.22nb3 fails on solaris
X-Send-Pr-Version: www-1.0
>Number: 43889
>Category: pkg
>Synopsis: packaging audio/ibcanberra-0.22nb3 fails on solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 20 12:50:00 +0000 2010
>Closed-Date: Mon Sep 27 05:46:29 +0000 2010
>Last-Modified: Mon Sep 27 05:46:29 +0000 2010
>Originator: Daniel Vergien
>Release: pkgsrc-current
>Organization:
>Environment:
SunOS nilfsik-ng 5.10 Generic_142901-15 i86pc i386 i86pc
>Description:
Packaging libcanbara in a bulkbuild fails with the following messages:
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /opt/pkgsrc-gcc-current/var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkgsrc-gcc-current/sbin/pkg_admin -K /opt/pkgsrc-gcc-current/var/db/pkg fetch-pkg-vulnerabilities'.
===> Building binary package for libcanberra-0.22nb3
=> Creating binary package /packages-pkgsrc-gcc-current/All/libcanberra-0.22nb3.tgz
pkg_create: can't stat `/opt/pkgsrc-gcc-current/lib/libcanberra-0.22/libcanberra-oss.la'
pkg_create: lstat failed for file lib/libcanberra-0.22/libcanberra-oss.la: No such file or directory
*** Error code 2
>How-To-Repeat:
Include audio/libcanberra in a bulkbuild on a solaris machine
>Fix:
Since there is no oss on solaris, there should be an extra PLIST.SunOS
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43889: packaging audio/ibcanberra-0.22nb3 fails on solaris
Date: Mon, 20 Sep 2010 22:29:16 +0900
Following patch should fix the issue:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libcanberra/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 14 Sep 2010 11:00:56 -0000 1.10
+++ Makefile 20 Sep 2010 13:26:43 -0000
@@ -32,6 +32,8 @@
# for more detail, see also PR#41475.
TOOLS_NOOP+= gtkdoc-rebase
+PLIST_VARS+= oss
+
#.include "../../devel/libltdl/convenience.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
@@ -39,4 +41,8 @@
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.if ${OSS_TYPE} != "none"
+PLIST.oss= yes
+.endif
.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libcanberra/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- PLIST 29 Oct 2009 17:51:09 -0000 1.5
+++ PLIST 20 Sep 2010 13:26:43 -0000
@@ -6,7 +6,7 @@
lib/${PKGNAME}/libcanberra-gstreamer.la
lib/${PKGNAME}/libcanberra-multi.la
lib/${PKGNAME}/libcanberra-null.la
-lib/${PKGNAME}/libcanberra-oss.la
+${PLIST.oss}lib/${PKGNAME}/libcanberra-oss.la
lib/libcanberra-gtk.la
lib/libcanberra.la
lib/pkgconfig/libcanberra-gtk.pc
--
OBATA Akio / obache@NetBSD.org
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Mon, 20 Sep 2010 20:13:03 +0000
Responsible-Changed-Why:
A Solaris issue.
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43889 CVS commit: pkgsrc/audio/libcanberra
Date: Tue, 21 Sep 2010 01:16:29 +0000
Module Name: pkgsrc
Committed By: obache
Date: Tue Sep 21 01:16:29 UTC 2010
Modified Files:
pkgsrc/audio/libcanberra: Makefile PLIST
Log Message:
oss module will be installed conditionally.
PR#43889 should be fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/audio/libcanberra/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libcanberra/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Sep 2010 21:15:54 +0000
State-Changed-Why:
Did that fix it?
From: Daniel Vergien <daniel.vergien@rrz.uni-hamburg.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/43889 (packaging audio/ibcanberra-0.22nb3 fails on solaris)
Date: Mon, 27 Sep 2010 07:00:58 +0200
Am 26.09.2010 23:15, schrieb dholland@NetBSD.org:
> Synopsis: packaging audio/ibcanberra-0.22nb3 fails on solaris
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sun, 26 Sep 2010 21:15:54 +0000
> State-Changed-Why:
> Did that fix it?
>
>
>
Yes, that fixes it.
State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 27 Sep 2010 05:46:29 +0000
State-Changed-Why:
Confirmed fixed.
>Unformatted:
(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.