Bug#886759: [java-package] oracle-java8-doc package creation fails when TMPDIR is overridden
Andrey ``Bass'' Shcheglov
andrewbass at gmail.com
Tue Jan 9 15:54:58 UTC 2018
Package: java-package
Version: 0.62
Severity: normal
--- Please enter the report below this line. ---
When TMPDIR is overridden, oracle-java8-doc package creation fails:
> $ TMPDIR=. make-jpkg jdk-8u152-docs-all.zip
> Creating temporary directory: ./make-jpkg.a07AYJSHcz
> 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) Development Kit (JDK) Documentation
> Standard Edition, Version 8 Update 152
> Oracle(TM)
> Is this correct [Y/n]:
>
> 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...du: cannot access
> './make-jpkg.a07AYJSHcz/extract': No such file or directory
> /usr/share/java-package/common.sh: line 104: [: : integer expression
> expected
> /usr/share/java-package/common.sh: line 115: cd:
> ./make-jpkg.a07AYJSHcz/extract: No such file or directory
>
> Aborted (./make-jpkg.a07AYJSHcz/extract).
The above seems odd, as my current working directory is actually a
subdir of /tmp, and my /tmp partition has enough free space (~4G).
The created make-jpkg.a07AYJSHcz working directory contains an extract/
subdirectory with the unpacked archive contents (so
./make-jpkg.a07AYJSHcz/extract actually *does* exist), and an empty
package/debian/ subdirectory.
--- System information. ---
Architecture:
Kernel: Linux 4.9.0-4-amd64
Debian Release: 9.3
500 xenial package.perforce.com
500 trusty package.perforce.com
500 stable-updates ftp.ru.debian.org
500 stable security.debian.org
500 stable ftp.ru.debian.org
500 precise package.perforce.com
500 jessie mirror.ppa.trinitydesktop.org
100 stretch-backports ftp.ru.debian.org
--- Package information. ---
Depends (Version) | Installed
==============================-+-===========
debhelper (>= 9) | 10.2.5
build-essential | 12.3
dpkg-dev | 1.18.24
fakeroot | 1.21-3.1
libasound2 | 1.1.3-5
libfontconfig1 |
libgl1-mesa-glx |
libgtk2.0-0 |
libx11-6 |
libxslt1.1 |
libxtst6 |
libxxf86vm1 |
unzip |
Package's Recommends field is empty.
Suggests (Version) | Installed
============================-+-===========
openjdk-7-jre |
More information about the pkg-java-maintainers
mailing list