Subject: is mozilla-source-1.7.3.tar.bz2 corrupt and is the mozilla/distinfo file wrong?
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 11/07/2004 14:53:43
I'm having no luck extracting mozilla-source-1.7.3.tar.bz2 with the
version of "pax" from netbsd-current (as of Oct 10, 2004) however it
seems even GNU Tar 1.13.25nb2 can't extract it either.  Is the archive
corrupt but correctly signed by the distinfo file?

Note this is in the pkgsrc-2004Q3 branch, and I'm running on an Alpha....

15:27 [4522] $ make package
===> Checking for vulnerabilities in mozilla-gtk2-1.7.3
=> Checksum OK for mozilla-source-1.7.3.tar.bz2.
=> Checksum OK for mozilla-source-1.7.3-libart_lgpl.tar.bz2.
===> Extracting for mozilla-gtk2-1.7.3
===> Required runtime package libIDL-0.8.4 installed OK (need libIDL>=0.8.3nb1)
===> Required runtime package gtk2+-2.4.10 installed OK (need gtk2+>=2.4.0)
===> Required runtime package atk-1.6.1 installed OK (need atk>=1.6.0)
===> Required runtime package pango-1.4.1 installed OK (need pango>=1.4.0)
===> Required runtime package glib2-2.4.6 installed OK (need glib2>=2.4.0)
===> Required runtime package libiconv-1.9.1nb2 installed OK (need libiconv>=1.9.1)
===> Required runtime package pth-2.0.0nb1 installed OK (need pth>=2.0.0)
===> Required runtime package Xft2-2.1.6 installed OK (need Xft2>=2.1nb1)
===> Required runtime package fontconfig-2.2.96 installed OK (need fontconfig>=2.1nb2)
===> Required runtime package freetype2-2.1.9 installed OK (need freetype2>=2.1.8)
===> Required runtime package png-1.2.6 installed OK (need png>=1.2.4)
===> Required runtime package tiff-3.6.1nb4 installed OK (need tiff>=3.6.1)
===> Required runtime package jpeg-6bnb1 installed OK (need jpeg>=6b)
===> Required runtime package expat-1.95.8nb1 installed OK (need expat>=1.95.7)
===> Required runtime package xcursor-1.1.1nb1 installed OK (need xcursor>=1.1.1)
===> Required runtime package Xrender-0.8.4 installed OK (need Xrender>=0.8.2)
===> Required runtime package Xfixes-2.0.1 installed OK (need Xfixes>=2.0.0)
===> Required runtime package fixesext-2.0.1 installed OK (need fixesext>=2.0)
===> Required runtime package gtk2+-2.4.10 installed OK (need gtk2+>=2.4.10)
===> Required runtime package png-1.2.6 installed OK (need png>=1.2.6rc2)
===> Required runtime package expat-1.95.8nb1 installed OK (need expat>=1.95.8nb1)
===> Required build-only package zip-2.3nb2 installed OK (need zip>=2.3)
===> Required build-only package autoconf213-2.13 installed OK (need autoconf213>=2.13)
=====> WARNING:  perl-5.6.1nb10 should be upgraded -> perl-5.8.4nb1
===> Required build-only package perl-5.6.1nb10 installed OK (need {perl>=5.0,perl-thread>=5.0})
===> Required build-only package gmake-3.80nb3 installed OK (need gmake>=3.78)
===> Required build-only package x11-links-0.23 installed OK (need x11-links>=0.23)
===> Required build-only package pkgconfig-0.15.0nb1 installed OK (need pkgconfig>=0.15.0)
===> Required build-only package render-0.8 installed OK (need render>=0.8)
pax: Trying to read GNU tar archive with extensions off
pax: GNU Long File found in posix ustar archive.
pax:  has an unknown file type, skipping
pax: Invalid header, starting valid header search.
pax: GNU Long File found in posix ustar archive.
pax:  has an unknown file type, skipping
pax: Invalid header, starting valid header search.
pax: GNU Long File found in posix ustar archive.
pax:  has an unknown file type, skipping
pax: Invalid header, starting valid header search.
*** Error code 1

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla-gtk2
*** Error code 1

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla-gtk2
ksh: exit code: 1
15:31 [4523] $ cd - 
/usr/pkgsrc/www/mozilla
15:32 [4524] $ cvs status distinfo
===================================================================
File: distinfo          Status: Up-to-date

   Working revision:    1.66    Tue Sep 28 21:07:42 2004
   Repository revision: 1.66    /cvs/master/m-NetBSD/main/pkgsrc/www/mozilla/distinfo,v
   Sticky Tag:          pkgsrc-2004Q3 (branch: 1.66.2)
   Sticky Date:         (none)
   Sticky Options:      (none)

15:32 [4525] $ cvs diff distinfo
15:48 [4526] $ ls -l /most/distfiles/mozilla-source-1.7.3.tar.bz2 
-rw-r--r--  1 woods  wheel  29716200 Sep 13 23:48 /most/distfiles/mozilla-source-1.7.3.tar.bz2

[[ After modifying Makefile.common to use ${GTAR} in ${EXTRACT_CMD} ]]

15:37 [4528] $ make clean
===> Cleaning for mozilla-1.7.3
*** Error code 1 (ignored)
15:37 [4529] $ make package
===> Checking for vulnerabilities in mozilla-1.7.3
=> Checksum OK for mozilla-source-1.7.3.tar.bz2.
=> Checksum OK for mozilla-source-1.7.3-libart_lgpl.tar.bz2.
===> Extracting for mozilla-1.7.3
===> Required runtime package freetype2-2.1.9 installed OK (need freetype2>=2.1.8)
===> Required runtime package gdk-pixbuf-0.22.0nb2 installed OK (need gdk-pixbuf>=0.22.0nb2)
===> Required runtime package png-1.2.6 installed OK (need png>=1.2.4)
===> Required runtime package tiff-3.6.1nb4 installed OK (need tiff>=3.6.1)
===> Required runtime package jpeg-6bnb1 installed OK (need jpeg>=6b)
===> Required runtime package ORBit-0.5.15nb6 installed OK (need ORBit>=0.5.15nb5)
===> Required runtime package gtk+-1.2.10nb7 installed OK (need gtk+>=1.2.10)
===> Required runtime package glib-1.2.10nb6 installed OK (need glib>=1.2.10nb5)
===> Required runtime package pth-2.0.0nb1 installed OK (need pth>=2.0.0)
===> Required runtime package png-1.2.6 installed OK (need png>=1.2.6rc2)
===> Required runtime package gtk+-1.2.10nb7 installed OK (need gtk+>=1.2.10nb6)
===> Required build-only package gtar-1.13.25nb2 installed OK (need gtar>=1.13.25)
===> Required build-only package zip-2.3nb2 installed OK (need zip>=2.3)
===> Required build-only package autoconf213-2.13 installed OK (need autoconf213>=2.13)
=====> WARNING:  perl-5.6.1nb10 should be upgraded -> perl-5.8.4nb1
===> Required build-only package perl-5.6.1nb10 installed OK (need {perl>=5.0,perl-thread>=5.0})
===> Required build-only package gmake-3.80nb3 installed OK (need gmake>=3.78)
===> Required build-only package x11-links-0.23 installed OK (need x11-links>=0.23)
/usr/pkg/bin/gtar: ./mozilla/other-licenses/libart_lgpl: Cannot unlink: Directory not empty
/usr/pkg/bin/gtar: ./mozilla/other-licenses/libart_lgpl/CVS: Cannot unlink: Directory not empty
/usr/pkg/bin/gtar: Error exit delayed from previous errors
*** Error code 2

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla
*** Error code 1

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla
ksh: exit code: 1
===> Required build-only package x11-links-0.23 installed OK (need x11-links>=0.23)
/usr/pkg/bin/gtar: ./mozilla/other-licenses/libart_lgpl: Cannot unlink: Directory not empty
/usr/pkg/bin/gtar: ./mozilla/other-licenses/libart_lgpl/CVS: Cannot unlink: Directory not empty
/usr/pkg/bin/gtar: Error exit delayed from previous errors
*** Error code 2


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>