Bug#843172: java-package: creating jre packages using --jce-policy fails

Jan Vansteenkiste jan at vstone.eu
Fri Nov 4 14:49:05 UTC 2016


Package: java-package
Version: 0.62
Severity: normal
Tags: patch

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  build-essential  11.7
ii  debhelper        9.20150101+deb8u2
ii  dpkg-dev         1.17.27
ii  fakeroot         1.20.2-1
ii  libasound2       1.0.28-1
ii  libfontconfig1   2.11.0-6.3+deb8u1
ii  libgl1-mesa-glx  10.3.2-1+deb8u1
ii  libgtk2.0-0      2.24.25-3+deb8u1
ii  libx11-6         2:1.6.2-3
ii  libxslt1.1       1.1.28-2+deb8u1
ii  libxtst6         2:1.2.2-1+b1
ii  libxxf86vm1      1:1.1.3-1+b1
ii  unzip            6.0-16+deb8u2

java-package recommends no packages.

Versions of packages java-package suggests:
ii  openjdk-7-jre  7u111-2.6.7-1~deb8u1

-- no debconf information

*** /home/vagrant/output.txt
~$ fakeroot make-jpkg --full-name 'Test Bug' --email
'jan+debian at vstone.eu' --jce-policy /vagrant/
BACKPORTS.md                     java-package_0.62_amd64.changes  results/
.git/                            java-package_0.62.dsc            scripts/
.gitignore                       java-package_0.62.tar.xz         .vagrant/
java/                            packages/
Vagrantfile
java-package/                    puppet/
java-package_0.62_all.deb        README.md
vagrant at jessie-x64:~$ fakeroot make-jpkg --full-name 'Test Bug' --email
'jan+debian at vstone.eu' --jce-policy /vagrant/java/jce_policy-8.zip
/vagrant/java/jre-8u
jre-8u112-linux-x64.tar.gz  jre-8u92-linux-x64.tar.gz
vagrant at jessie-x64:~$ fakeroot make-jpkg --full-name 'Test Bug' --email
'jan+debian at vstone.eu' --jce-policy /vagrant/java/jce_policy-8.zip
/vagrant/java/jre-8u112-linux-x64.tar.gz
Creating temporary directory: /tmp/make-jpkg.S5RpVqa9Xa
Loading plugins: /usr/share/java-package/common.sh
/usr/share/java-package/javase.sh /usr/share/java-package/jdk-doc.sh
/usr/share/java-package/oracle-jdk-doc.sh
/usr/share/java-package/oracle-jdk.sh
/usr/share/java-package/oracle-jre.sh
/usr/share/java-package/oracle-server-jre.sh

Detected Debian build architecture: amd64
Detected Debian GNU type: x86_64-linux-gnu

Detected product:
    Java(TM) Runtime Environment (JRE)
    Standard Edition, Version 8 Update 112
    Oracle(TM)
Is this correct [Y/n]: y

Checking free diskspace: done.

In the next step, the binary file will be extracted. Probably a
license agreement will be displayed. Please read this agreement
carefully. If you do not agree to the displayed license terms, the
package will not be built.

Press [Return] to continue:



Testing extracted archive... okay.

Installing unlimited strength cryptography files using
/vagrant/java/jce_policy-8.zip
Archive:  /vagrant/java/jce_policy-8.zip
checkdir:  cannot create extraction directory:
/tmp/make-jpkg.S5RpVqa9Xa/package/oracle-java8-jre-amd64/jre/lib/security
           No such file or directory

Aborted (*/US_export_policy.jar).

Removing temporary directory: done



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Find-the-path-to-the-security-policy-files.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161104/b66f5526/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161104/b66f5526/attachment.sig>


More information about the pkg-java-maintainers mailing list