Subject: pkg/25194: pkg_add gnustep-base (current) doesn't work (quick-patch included)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: pkgsrc-bugs
Date: 04/15/2004 16:38:13
>Number:         25194
>Category:       pkg
>Synopsis:       pkg_add gnustep-base (current) doesn't work (quick-patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 15 16:39:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        2.0_BETA
>Organization:
none
>Environment:
NetBSD host006 2.0_BETA NetBSD 2.0_BETA (GENERIC.MP) #0: Fri Apr  9 11:08:19 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC.MP i386

>Description:
host016# pkg_add /usr/pkgsrc/packages/All/gnustep-base-1.9.1.tgz
tar: Invalid header, starting valid header search.
tar: Cannot link to share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Indiana/Kno from share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Knox_IN (No such file or directory)
tar: Invalid header, starting valid header search.
tar: Cannot link to share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Kentucky/Lo from share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Louisville (No such file or directory)
tar: Cannot rename share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/North_Dakota to share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/North_Dakota/Center (Not a directory)
tar: Invalid header, starting valid header search.
tar: Cannot link to share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/Broken_Hi from share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/Yancowinna (No such file or directory)
tar: Invalid header, starting valid header search.
tar: Cannot link to share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Indiana/Kno from share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Indiana-Starke (No such file or directory)
pkg_add: extract of /usr/pkgsrc/packages/All/gnustep-base-1.9.1.tgz failed
pkg_add: unable to extract `/usr/pkgsrc/packages/All/gnustep-base-1.9.1.tgz'!
pkg_add: 1 package addition failed
host016#

btw
named files are installed after "make install":

host006# ls -l /usr/pkg/share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Indiana-Starke
-rw-r--r--  3 root  wheel  549 Sep 30  2002 /usr/pkg/share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Indiana-Starke
host006#

>How-To-Repeat:
get and install
releng.netbsd.org/pub/NetBSD-daily/current/200404090000/i386
pkgsrc from Apr 13 2004
cd /usr/pkgsrc/devel/gnustep-base;make package;make deinstall
cd /usr/pkgsrc/packages/All; pkg_add gnustep-base-1.9.1.tgz
>Fix:
quick-fix excluding mungled(?) files:

--- PLIST  2004-04-15 18:09:54.000000000 +0200
+++ PLIST.new       2004-04-15 18:10:39.000000000 +0200
@@ -277,11 +277,9 @@
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Juneau
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Kentucky/Louisville
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Kentucky/Monticello
-share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Knox_IN
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/La_Paz
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Lima
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Los_Angeles
-share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Louisville
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Maceio
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Managua
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Manaus
@@ -301,7 +299,6 @@
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Nipigon
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Nome
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Noronha
-share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/North_Dakota/Center
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Panama
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Pangnirtung
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/America/Paramaribo
@@ -467,7 +464,6 @@
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/Tasmania
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/Victoria
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/West
-share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Australia/Yancowinna
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Brazil/Acre
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Brazil/DeNoronha
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/Brazil/East
@@ -714,7 +710,6 @@
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/East-Indiana
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Eastern
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Hawaii
-share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Indiana-Starke
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Michigan
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Mountain
 share/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zones/US/Pacific

>Release-Note:
>Audit-Trail:
>Unformatted: