Subject: pkg/15553: failed make package for www/mozilla
To: None <gnats-bugs@gnats.netbsd.org, taya@netbsd.org>
From: OGATA <ogata@isp.qix.org>
List: netbsd-bugs
Date: 02/10/2002 06:00:29
>Number:         15553
>Category:       pkg
>Synopsis:       failed make package for www/mozilla
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 09 13:01:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     OGATA Hiroshi
>Release:        NetBSD 1.5.2
>Organization:
>Environment:

System: NetBSD BB630 1.5.2 NetBSD 1.5.2 (GENERIC-1.5.2-raid) #0: Thu Sep 20 00:10:30 JST 2001 ogata@BB630:/export/syssrc-1.5.2/sys/arch/i386/compile/GENERIC-1.5.2-raid i386


>Description:

	I was get pkgsrc-current from anoncvs.netbsd.org.
	I was try 'make package', but it's failed. X-<
	error message:
	> ===> Packaging mozilla-0.9.8
	> ===> Building binary package for mozilla-0.9.8
	> Creating package /usr/pkgsrc/packages/All/mozilla-0.9.8.tgz
	> Registering depends: ORBit>=0.5.12 gdk-pixbuf>=0.8.0nb1 gettext-lib>=0.10.35nb1 gindent-[0-9]* glib>=1.2.8 gtk+>=1.2.8 jpeg-6b png>=1.0.11 pth>=1.3.2 tiff>=3.5.4.
	> Using SrcDir value of /usr/X11R6
	> pkg_create: can't stat `/usr/X11R6/lib/mozilla/chrome/chromelist.txt'
	> Creating gzip'd tar ball in '/usr/pkgsrc/packages/All/mozilla-0.9.8.tgz'
	> tar: can't add file lib/mozilla/chrome/chromelist.txt : No such file or directory
	> pkg_create: tar command failed with code 256
	> *** Error code 1
	>
	> Stop.
	> *** Error code 1
	>
	> Stop.
	> *** Error code 1
	>
	> Stop.

	> % pkg_info -L mozilla | grep chromelist.txt
	> /usr/X11R6/lib/mozilla/chrome/chromelist.txt

	but

	> % ls -l /usr/X11R6/lib/mozilla/chrome/chromelist.txt
	> ls: /usr/X11R6/lib/mozilla/chrome/chromelist.txt: No such file or directory

	X-<


>How-To-Repeat:

	try 'make package'.


>Fix:
diff -u PLIST-ELF.orig PLIST-ELF
--- PLIST-ELF.orig      Sat Feb  9 12:54:47 2002
+++ PLIST-ELF   Sun Feb 10 05:33:29 2002
@@ -136,7 +136,6 @@
 lib/mozilla/TestGtkEmbedSocket
 lib/mozilla/bloaturls.txt
 lib/mozilla/chrome/US.jar
-lib/mozilla/chrome/chromelist.txt
 lib/mozilla/chrome/classic.jar
 lib/mozilla/chrome/comm.jar
 lib/mozilla/chrome/content-packs.jar

 > % sudo make package
 > Password:
 > ===> Packaging mozilla-0.9.8
 > ===> Building binary package for mozilla-0.9.8
 > Creating package /usr/pkgsrc/packages/All/mozilla-0.9.8.tgz
 > Registering depends: ORBit>=0.5.12 gdk-pixbuf>=0.8.0nb1 gettext-lib>=0.10.35nb1 gindent-[0-9]* glib>=1.2.8 gtk+>=1.2.8 jpeg-6b png>=1.0.11 pth>=1.3.2 tiff>=3.5.4.
 > Using SrcDir value of /usr/X11R6
 > Creating gzip'd tar ball in '/usr/pkgsrc/packages/All/mozilla-0.9.8.tgz'
>Release-Note:
>Audit-Trail:
>Unformatted: