Bug#297868: java-package: make-jpkg fails to copy some files under package creation with Sun JRE 1.5
Rasmus Bøg Hansen
Rasmus Bøg Hansen , 297868@bugs.debian.org
Thu Mar 3 03:56:03 2005
Package: java-package
Version: 0.20
Severity: normal
make-jpkg fails to copy the files below to their correct destination.
Instead of the install tree they are copied to somewhere under /etc and
/usr.
The resulting package is fully usable, but is missing the files.
----
Creating jre1.5.0_01/lib/deploy.jar
mkdir: cannot create directory `/etc/.java': Permission denied
mkdir: cannot create directory `/etc/.java/.systemPrefs': No such file or directory
touch: cannot touch `/etc/.java/.systemPrefs/.system.lock': No such file or directory
chmod: cannot access `/etc/.java/.systemPrefs/.system.lock': No such file or directory
touch: cannot touch `/etc/.java/.systemPrefs/.systemRootModFile': No such file or directory
chmod: cannot access `/etc/.java/.systemPrefs/.systemRootModFile': No such file or directory
/tmp/jre-1_5_0_01-linux-i586.bin: line 285: /etc/mailcap: Permission denied
mkdir: cannot create directory `/usr/share/icons/HighContrast': Permission denied
mkdir: cannot create directory `/usr/share/icons/HighContrastInverse': Permission denied
mkdir: cannot create directory `/usr/share/icons/LowContrast': Permission denied
cp: cannot create regular file `/usr/share/pixmaps/sun-java.png': Permission denied
cp: cannot create regular file `/usr/share/icons/HighContrast/48x48/apps/sun-java.png': No such file or directory
cp: cannot create regular file `/usr/share/icons/HighContrastInverse/48x48/apps/sun-java.png': No such file or directory
cp: cannot create regular file `/usr/share/icons/LowContrast/48x48/apps/sun-java.png': No such file or directory
/tmp/jre-1_5_0_01-linux-i586.bin: line 433: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 434: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 435: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 436: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 437: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 438: /usr/share/mime-info/java-archive.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 441: /usr/share/mime-info/java-archive.mime: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 442: /usr/share/mime-info/java-archive.mime: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 445: /usr/share/application-registry/java-archive.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 446: /usr/share/application-registry/java-archive.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 447: /usr/share/application-registry/java-archive.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 448: /usr/share/application-registry/java-archive.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 449: /usr/share/application-registry/java-archive.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 450: /usr/share/application-registry/java-archive.applications: Permission denied
mkdir: cannot create directory `/usr/share/icons/HighContrast': Permission denied
mkdir: cannot create directory `/usr/share/icons/HighContrastInverse': Permission denied
mkdir: cannot create directory `/usr/share/icons/LowContrast': Permission denied
cp: cannot create regular file `/usr/share/pixmaps/sun-java.png': Permission denied
cp: cannot create regular file `/usr/share/icons/HighContrast/48x48/apps/sun-java.png': No such file or directory
cp: cannot create regular file `/usr/share/icons/HighContrastInverse/48x48/apps/sun-java.png': No such file or directory
cp: cannot create regular file `/usr/share/icons/LowContrast/48x48/apps/sun-java.png': No such file or directory
/tmp/jre-1_5_0_01-linux-i586.bin: line 433: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 434: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 435: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 436: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 437: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 438: /usr/share/mime-info/java-web-start.keys: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 441: /usr/share/mime-info/java-web-start.mime: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 442: /usr/share/mime-info/java-web-start.mime: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 445: /usr/share/application-registry/java-web-start.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 446: /usr/share/application-registry/java-web-start.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 447: /usr/share/application-registry/java-web-start.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 448: /usr/share/application-registry/java-web-start.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 449: /usr/share/application-registry/java-web-start.applications: Permission denied
/tmp/jre-1_5_0_01-linux-i586.bin: line 450: /usr/share/application-registry/java-web-start.applications: Permission denied
Done.
----
Regards
/Rasmus
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1) (ignored: LC_ALL set to da_DK)
Versions of packages java-package depends on:
ii coreutils 5.2.1-2 The GNU core utilities
ii debhelper 4.2.31 helper programs for debian/rules
ii fakeroot 1.2.4 Gives a fake root environment
-- no debconf information