NetBSD Problem Report #42898

From kre@munnari.OZ.AU  Sun Feb 28 14:40:44 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 B8E8D63B873
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 28 Feb 2010 14:40:44 +0000 (UTC)
Message-Id: <201002281440.o1SEebOP018831@jade.coe.psu.ac.th>
Date: Sun, 28 Feb 2010 21:40:37 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: math/gnumeric110 PLIST problem (missed dependency) (+FIX)
X-Send-Pr-Version: 3.95

>Number:         42898
>Category:       pkg
>Synopsis:       math/gnumeric110 PLIST problem (missed dependency) (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    drochner
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 28 14:45:01 +0000 2010
>Closed-Date:    Wed Mar 03 15:45:43 +0000 2010
>Last-Modified:  Wed Mar 03 15:50:02 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   (pkgsrc current 2010-02-28)
>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:
	math/gnumeric110 fails to produce a binary package when
	compiled in an empty sandbox (or in an empty system)
	with PKG_DEVELOPER=yes because of a PLIST problem detected
	by the file-check test.

	The problem is caused by a missing dependency on
	graphics/hicolor-icon-theme (seen this one before...)

	Most people building the package wouldn't notice, as
	graphics/hicolor-icon-theme is likely to already be installed.

>How-To-Repeat:
	I use pkg_comp with NetBSD 4.0 release sets installed
	(and libkver to get a pure appearing 4.0 release environment).
	I use X11_TYPE=modular instead of the x* sets.

	Of all of that, the only thing relevant is the use of pkg_comp
	and only because that's an easy way to achieve both an empty
	(no packages installed) environment, and PKG_DEVELOPER=yes
	all in one bang...

	Expect to see:

=> Registering installation for gnumeric-1.10.0
gnumeric-1.10.0 requires installed package GConf-2.28.0
gnumeric-1.10.0 requires installed package ORBit2-2.14.17
gnumeric-1.10.0 requires installed package desktop-file-utils-0.15
gnumeric-1.10.0 requires installed package goffice0.8-0.8.0
gnumeric-1.10.0 requires installed package gtk2+-2.18.7
gnumeric-1.10.0 requires installed package libbonobo-2.24.2
gnumeric-1.10.0 requires installed package libbonoboui-2.24.2nb1
gnumeric-1.10.0 requires installed package libglade-2.6.4nb1
gnumeric-1.10.0 requires installed package libgnomeui-2.24.2nb3
gnumeric-1.10.0 requires installed package libgsf-1.14.17
gnumeric-1.10.0 requires installed package libxml2-2.7.6
gnumeric-1.10.0 requires installed package perl-5.10.1
gnumeric-1.10.0 requires installed package py26-gobject-2.18.0
gnumeric-1.10.0 requires installed package python26-2.6.4nb4
gnumeric-1.10.0 requires installed package rarian-0.8.1
=> Checking file-check results for gnumeric-1.10.0
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/icons/hicolor/icon-theme.cache
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/gnumeric110
*** Error code 1

Stop.

>Fix:
	Apply the following patch to math/gnumeric110/Makefile

	I do not believe that a revbump is needed for this change.

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/math/gnumeric110/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	18 Feb 2010 21:00:44 -0000	1.1.1.1
+++ Makefile	28 Feb 2010 14:15:45 -0000
@@ -41,6 +41,7 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libglade/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/perl5/buildlink3.mk"
 .include "../../misc/goffice0.8/buildlink3.mk"
 .include "../../net/ORBit2/buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->drochner
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 03 Mar 2010 11:07:59 +0000
Responsible-Changed-Why:
Over to packager.
(I don't see this problem btw, on -current).


State-Changed-From-To: open->closed
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Wed, 03 Mar 2010 15:45:43 +0000
State-Changed-Why:
applied, thanks


From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42898 CVS commit: pkgsrc/math/gnumeric110
Date: Wed, 3 Mar 2010 15:44:35 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Wed Mar  3 15:44:35 UTC 2010

 Modified Files:
 	pkgsrc/math/gnumeric110: Makefile

 Log Message:
 deal with hicolor-item-theme cache, from Robert Elz per PR pkg/42898


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/math/gnumeric110/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.