LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-02-2006, 07:58 PM   #1
giancarlo76
LQ Newbie
 
Registered: May 2006
Location: Lucca, Italy
Distribution: Arch, Debian, Ubuntu
Posts: 12

Rep: Reputation: 0
cannot create temp file for here document


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
Code:
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
Code:
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.
Any idea?
Thanks in advance.
 
Old 05-04-2006, 05:44 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Quote:
Originally Posted by giancarlo76
But I really have not idea of what to do or where to search to solve the problem.
Any idea?
Thanks in advance.
Maybe more info on http://bugs.debian.org/cgi-bin/pkgre...g=java-package
like this one?:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280707
 
Old 05-04-2006, 02:03 PM   #3
giancarlo76
LQ Newbie
 
Registered: May 2006
Location: Lucca, Italy
Distribution: Arch, Debian, Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
I couldn't find an answer there (thanks for the suggestions). I reported the problem as a bug, even though I don't think it's related with this package in particular. I hope, anyway, someone can give me a hint. I'll post here any useful answer they can give me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail: Couldn't create or rename temp file "/var/spool/mail/tmp/.... paul_mat Linux - Software 0 05-02-2006 06:16 PM
how do i create a document, then a directory and save the document in it. jtdodge Linux - Newbie 9 06-15-2005 11:03 AM
how to catch the return value of dialog without temp file ? doublehp Linux - Software 1 05-20-2005 10:52 PM
mkinitrd: Can't create temp dir, exiting...?? tfricke Linux - General 4 11-01-2003 05:53 PM
temp file, somewhere? florestan Linux - Software 9 04-14-2003 04:20 PM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration