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
Creating temporary directory: ./make-jpkg.a07AYJSHcz
Loading plugins: /usr/share/java-package/ /usr/share/java-package/ /usr/share/java-package/ /usr/share/java-package/ /usr/share/java-package/ /usr/share/java-package/ /usr/share/java-package/

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
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/ line 104: [: : integer expression expected /usr/share/java-package/ 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. ---
Kernel: Linux 4.9.0-4-amd64

Debian Release: 9.3
500 xenial
500 trusty
500 stable-updates
500 stable
500 stable
500 precise
500 jessie
100 stretch-backports

--- 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 |

This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to