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

Re: Debian pure-amd64 and sun-java (1.5.0 04)


I've just tried to build 1.5.0 update 4 JDK
so I download the appropriate file and used make-jpkg but it failed with
the following :

$ fakeroot make-jpkg jdk-1_5_0_04-linux-amd64.bin
Creating temporary directory: /tmp/make-jpkg.XXXXIwfRGK
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

No matching plugin was found.
Removing temporary directory: done

so after googling a little I found the solution :

DEB_BUILD_GNU_TYPE=x86_64-linux fakeroot make-jpkg jdk-1_5_0_04-linux-amd64.bin

but then, here is what I've got :

   creating: jdk1.5.0_04/include/linux/
  inflating: jdk1.5.0_04/include/linux/jawt_md.h
  inflating: jdk1.5.0_04/include/linux/jni_md.h
  inflating: jdk1.5.0_04/include/jvmdi.h
  inflating: jdk1.5.0_04/include/jvmpi.h
  inflating: jdk1.5.0_04/include/jvmti.h
  inflating: jdk1.5.0_04/include/jawt.h
  inflating: jdk1.5.0_04/include/jdwpTransport.h
  inflating: jdk1.5.0_04/COPYRIGHT
Creating jdk1.5.0_04/lib/tools.jar
Creating jdk1.5.0_04/jre/lib/rt.jar
Creating jdk1.5.0_04/jre/lib/jsse.jar
Creating jdk1.5.0_04/jre/lib/charsets.jar
Creating jdk1.5.0_04/jre/lib/ext/localedata.jar


Testing extracted archive... okay.

Create debian package:
xargs: chown: Argument list too long
dh_fixperms: command returned error code

Aborted (dh_fixperms).

Removing temporary directory: done

how can it be that xargs builds a list of parameters (i.e. command line)
that is too long ?
(isn't that the goal of xargs to build lists just long enough in order
not to fail ?)

as anyone seen this before ?

is there any way to circumvent this problem ?


	Cyril Chaboisseau

Reply to: