pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/openjdk7 build problems



On Saturday 23 February 2013 03:34:09 Mayuresh wrote:
> > >> > I get the following errors when trying to build lang/openjdk7 on
> > >> > NetBSD 6.0 on i386.
     [....]

In the last couple of days I've just rebuilt a lot of packages on two 
6.0_STABLE/i386 systems including openjdk7.  The systems are fairly 
similar other than one is a STABLE from early December and the other is 
one from last week.  On the December system openjdk7 built fine whereas 
on the other system I hit the same problem as Mayuresh.

So the error is:
        [...]
( cd  ../../src/share/demo && /usr/bin/tar -cf - \
  `/usr/bin/find nbproject \( -name .hg -o -name .svn -o -name CVS -o -
name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files -o 
-name .hgignore -o -name .hgtags -o -name \*.orig \) -prune -o -type f -
print` ) | \
  ( cd  /local/scratch/pkgsrc/lang/openjdk7/work.i386/openjdk/build/bsd-
i586/demo && /usr/bin/tar -xf - )
tar: Ustar UID header field is too small for nbproject/README.txt
        [...]
tar: Ustar UID header field is too small for 
nbproject/scripting/jconsole-plugin/nbproject/project.xml
tar: Cannot identify format. Searching...
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.

and if I look at the directory its trying to tar up:

turakirae# dirs
/src/work/pkgsrc/lang/openjdk7/work.i386/openjdk/jdk/src/share/demo 
/src/work/pkgsrc/lang/openjdk7 /var/tmp 
turakirae# ls -l
total 26
drwxr-xr-x  17 3149818880  100   512 Aug 11  2011 applets
-rwxr-xr-x   1 3149818880  100  8668 Jun 28  2011 applets.html
drwxr-xr-x   3 3149818880  100   512 Aug 11  2011 java2d
drwxr-xr-x  11 3149818880  100   512 Aug 11  2011 jfc
drwxr-xr-x  13 3149818880  100   512 Aug 11  2011 jvmti
drwxr-xr-x   6 3149818880  100   512 Aug 11  2011 management
drwxr-xr-x   5 3149818880  100   512 Aug 11  2011 nbproject
drwxr-xr-x   3 3149818880  100   512 Aug 11  2011 nio
drwxr-xr-x   3 3149818880  100   512 Aug 11  2011 scripting


If I recursively chown the files to root (or some other low numbered 
user) the build will then complete.

On the system that did build successfully, the ownership of those files 
was
test# ls -ln work.i386/openjdk/jdk/src/share/demo/
total 26
drwxr-xr-x  17 1001  100   512 Aug 11  2011 applets
-rwxr-xr-x   1 1001  100  8668 Jun 28  2011 applets.html
drwxr-xr-x   3 1001  100   512 Aug 11  2011 java2d
drwxr-xr-x  11 1001  100   512 Aug 11  2011 jfc
drwxr-xr-x  13 1001  100   512 Aug 11  2011 jvmti
drwxr-xr-x   6 1001  100   512 Aug 11  2011 management
drwxr-xr-x   5 1001  100   512 Aug 11  2011 nbproject
drwxr-xr-x   3 1001  100   512 Aug 11  2011 nio
drwxr-xr-x   3 1001  100   512 Aug 11  2011 scripting


Still don't know whats causing the difference in the original unpacking.

cheers
mark


Home | Main Index | Thread Index | Old Index