NetBSD Problem Report #42703

From kre@munnari.OZ.AU  Sat Jan 30 09:42:07 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 4A7A763B886
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jan 2010 09:42:07 +0000 (UTC)
Message-Id: <201001300942.o0U9g0EM026261@jade.coe.psu.ac.th>
Date: Sat, 30 Jan 2010 16:42:00 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: time/ruby-tzinfo PLIST problem   (+FIX)
X-Send-Pr-Version: 3.95

>Number:         42703
>Category:       pkg
>Synopsis:       time/ruby-tzinfo PLIST problem   (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 30 09:45:00 +0000 2010
>Closed-Date:    Sat Jan 30 16:08:15 +0000 2010
>Last-Modified:  Sat Jan 30 16:08:15 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   (pkgsrc current 2010-01-30)
>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:
	ruby-tzinfo (ruby18-tzinfo-0.3.16) contains the Olson TZ data from
	the 2010a release (so I think I saw anyway - don't trust this PR
	for that information being correct).  That version of the Olson
	tz data file added a new zone, which this package (correctly)
	installs.   However the PLIST file was not updated to account
	for the new zone file.

>How-To-Repeat:
	I use pkg_comp with NetBSD 4.0 release sets installed (etc - none
	of that is relevant for this PR).

	Upon building time/ruby-tzinfo with PKG_DEVELOPER=yes
	expect to see (something like) ...

=> Generating post-install file lists
=> Checking file-check results for ruby18-tzinfo-0.3.16
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /pkg_comp/obj/pkgsrc/time/ruby-tzinfo/4x/.destdir/usr/pkg/lib/ruby/gems/1.8/gems/tzinfo-0.3.16/lib/tzinfo/definitions/Asia/Novokuznetsk.rb
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/time/ruby-tzinfo

>Fix:
	Apply the patch below that corrects the missing PLIST file entry.
	The patch also does a revbump, as any binary packages built from
	time/ruby-tzinfo after it became ruby18-tzinfo-0.3.16 (without
	having PKG_DEVELOPER set) would have built a package that's missing
	this file.

	After doing that, assassinate all pkgsrc developers who do not
	have PKG_DEVELOPER=yes in their mk.conf files!   This step is a
	critcal part of the fix, and this PR should not be closed until
	it is completed....

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/time/ruby-tzinfo/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	22 Jan 2010 15:30:32 -0000	1.11
+++ Makefile	30 Jan 2010 09:30:42 -0000
@@ -3,6 +3,7 @@
 DISTNAME=	tzinfo-0.3.16
 PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=	time
+PKGREVISION=	1

 MAINTAINER=	minskim@NetBSD.org
 HOMEPAGE=	http://tzinfo.rubyforge.org/
Index: PLIST
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/time/ruby-tzinfo/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- PLIST	14 Jun 2009 18:18:00 -0000	1.9
+++ PLIST	30 Jan 2010 09:31:52 -0000
@@ -283,6 +283,7 @@
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Manila.rb
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Muscat.rb
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Nicosia.rb
+${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Novokuznetsk.rb
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Novosibirsk.rb
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Omsk.rb
 ${GEM_LIBDIR}/lib/tzinfo/definitions/Asia/Oral.rb

>Release-Note:

>Audit-Trail:
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42703 CVS commit: pkgsrc/time/ruby-tzinfo
Date: Sat, 30 Jan 2010 16:04:29 +0000

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Sat Jan 30 16:04:29 UTC 2010

 Modified Files:
 	pkgsrc/time/ruby-tzinfo: Makefile PLIST

 Log Message:
 Fix PLIST problem reported as PR pkg/42703 by Robert Elz.


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/time/ruby-tzinfo/Makefile
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/time/ruby-tzinfo/PLIST

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

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@NetBSD.org
Responsible-Changed-When: Sat, 30 Jan 2010 16:08:15 +0000
Responsible-Changed-Why:
I've taken it.


State-Changed-From-To: open->closed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Sat, 30 Jan 2010 16:08:15 +0000
State-Changed-Why:
Patch was applied.  Thanks for your problem report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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