NetBSD Problem Report #44181

From kre@munnari.OZ.AU  Wed Dec  1 10:26:02 2010
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 D0F4C63B95F
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  1 Dec 2010 10:26:02 +0000 (UTC)
Message-Id: <201012011025.oB1APraa027517@jade.coe.psu.ac.th>
Date: Wed, 1 Dec 2010 17:25:53 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: x11/gnome-panel PLIST problem (+FIX)
X-Send-Pr-Version: 3.95

>Number:         44181
>Category:       pkg
>Synopsis:       x11/gnome-panel PLIST problem (+FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 01 10:30:01 +0000 2010
>Closed-Date:    Tue Dec 07 02:56:21 +0000 2010
>Last-Modified:  Tue Dec 07 11:55:01 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 5.0    (pkgsrc current 2010-12-01)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed Nov 17 05:30:55 ICT 2010 kre@jade.coe.psu.ac.th:/usr/obj/5.1/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
	x11/gnome-panel has the same giomodule.cache PLIST problem as
	previously reported for devel/GConf and sysutils/gio-fam
	(now closed PRs pkg/44104 and pkg/43578 resp).

>How-To-Repeat:
	I use pkg_comp with NetBSD 5.0 release sets installed, and
	libkver to simulate a pure NetBSD 5.0 enviornment.  This is
	irrelevant to this problem.

	When building, when starting with a claen environment (sandbox
	in this case), expect to see ...

=> Checking file-check results for gnome-panel-2.32.1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/gnome-panel/modules/giomodule.cache
*** Error code 1

Stop.

>Fix:
	This is (an approximate copy of) the fix drochner@ applied to
	devel/GConf and sysutils/gio-fam to fix the two earlier PRs (and
	to a few other packages as well).   This one was just missed.

	The fix works here (ie: for x11/gnome-panel) as well as it did
	for them.

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/x11/gnome-panel/Makefile,v
retrieving revision 1.125
diff -u -r1.125 Makefile
--- Makefile	24 Nov 2010 20:26:20 -0000	1.125
+++ Makefile	1 Dec 2010 09:54:04 -0000
@@ -46,6 +46,7 @@

 .include "../../devel/GConf/schemas.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/modules.mk"
 .include "../../devel/libbonobo/buildlink3.mk"
 .include "../../devel/libbonoboui/buildlink3.mk"
 .include "../../devel/libgnome/buildlink3.mk"

>Release-Note:

>Audit-Trail:
From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44181 CVS commit: pkgsrc/x11/gnome-panel
Date: Wed, 1 Dec 2010 20:21:48 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Wed Dec  1 20:21:48 UTC 2010

 Modified Files:
 	pkgsrc/x11/gnome-panel: Makefile

 Log Message:
 deal with the PLIST problem reported in PR pkg/44181 by Robert Elz,
 in this case it is not as easy as it looks, see the comment added
 to the Makefile -- just avoid creation of the useless cache file for now


 To generate a diff of this commit:
 cvs rdiff -u -r1.125 -r1.126 pkgsrc/x11/gnome-panel/Makefile

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

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44181
Date: Mon, 6 Dec 2010 19:04:40 -0600 (CST)

 For x11/gnome-panel PLIST problem 
 Is the workaround okay?

 Okay to close ticket?

 http://gnats.netbsd.org/44181

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44181
Date: Tue, 07 Dec 2010 09:20:54 +0700

     Date:        Tue,  7 Dec 2010 01:05:05 +0000 (UTC)
     From:        "Jeremy C. Reed" <reed@reedmedia.net>
     Message-ID:  <20101207010505.440EE63B9D5@www.NetBSD.org>

   |  For x11/gnome-panel PLIST problem 
   |  Is the workaround okay?

 Yes, that one looks fine.

   |  Okay to close ticket?
   |  http://gnats.netbsd.org/44181

 Yes, please do.    Thanks.

 kre

State-Changed-From-To: open->closed
State-Changed-By: reed@NetBSD.org
State-Changed-When: Tue, 07 Dec 2010 02:56:21 +0000
State-Changed-Why:
Workaround was committed/
Thanks for the report.


From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44181 CVS commit: pkgsrc/x11/gnome-panel
Date: Tue, 7 Dec 2010 11:51:26 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Tue Dec  7 11:51:26 UTC 2010

 Modified Files:
 	pkgsrc/x11/gnome-panel: Makefile

 Log Message:
 the problem leading to PR pkg/44181 (PLIST problem) is understood
 and reported upstream -- adjust comments


 To generate a diff of this commit:
 cvs rdiff -u -r1.126 -r1.127 pkgsrc/x11/gnome-panel/Makefile

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

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