I'm trying to make a deb package of Sun JDK 1.5 on Debian testing, with the java-package tool. Here's the output of
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXXHCc0sl
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
/usr/share/java-package/sun-j2sdk.sh: line 75: cannot create temp file for here document: Success
/usr/bin/make-jpkg: line 156: cannot create temp file for here document: Success
The script stops its executions here.
Some googling didn't point me to the right place, since the most common causes for the heredoc temp file failed creation refer to these:
- No space left on device (/tmp or /var/tmp). I've got a lot of it...
- Permissions. drwxrwxrwt seems to be correct for a tmp dir.
- Setting $TMP and/or $TMPDIR doesn't change the things.
It's also curious that the temp file is actually created, and after the error message a "Success" is reported. It leaves me quite unsettled
I may think it's a permissions' problem, anyway, because executing the (modified
) make-jpkg script as root (I shouldn't do it, I know...) I can create the package. But I really have not idea of what to do or where to search to solve the problem.
Thanks in advance.