Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573122 - dev-java/netbeans-cnd: spams /tmp full with files
Summary: dev-java/netbeans-cnd: spams /tmp full with files
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 13:43 UTC by Toralf Förster
Modified: 2019-08-15 06:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-01-27 13:43:36 UTC
eg.:

-rw-r--r-- 1 portage portage 1074349 Jan 27 12:08 /tmp/nb-scan-cache-6388c2d1-full.ser
-rw-r--r-- 1 portage portage 1077103 Jan 27 12:08 /tmp/nb-scan-cache-6388c2d1-standard.ser
-rw-r--r-- 1 portage portage 1089309 Jan 27 12:06 /tmp/nb-scan-cache-a0c5b5f5-full.ser
-rw-r--r-- 1 portage portage 1091927 Jan 27 12:06 /tmp/nb-scan-cache-a0c5b5f5-standard.ser

during emerge.
I do wonder why these files lands into /tmp instead of the portage tmp directory and if thay should be removed after installation.
Comment 1 James Le Cuirot gentoo-dev 2016-01-27 13:56:59 UTC
Java doesn't honour TMPDIR like most things do. I recently had to add -Djava.io.tmpdir="${T}/" to the ejunit function because of this. I hope that gives you a clue, fordfrog.
Comment 2 Toralf Förster gentoo-dev 2016-01-28 13:16:51 UTC
dev-java/netbeans-javadoc seems to spam too
Comment 3 Miroslav Šulc gentoo-dev 2016-01-28 14:35:12 UTC
i will try to put what james suggests to all netbeans ebuilds once i get to it as all netbeans ebuilds use the same build system. but it's around 60 ebuilds (8,0, 8.1 and the latest in my repo) so i need to find more time for that.
Comment 4 Miroslav Šulc gentoo-dev 2016-01-31 16:42:23 UTC
(In reply to James Le Cuirot from comment #1)
> Java doesn't honour TMPDIR like most things do. I recently had to add
> -Djava.io.tmpdir="${T}/" to the ejunit function because of this. I hope that
> gives you a clue, fordfrog.

i tried to add ANT_OPTS="-Djava.io.tmpdir=${T}" to all netbeans ebuilds but with no effect so the path is probably hardcoded somewhere in the netbeans build system.
Comment 5 James Le Cuirot gentoo-dev 2016-01-31 17:05:19 UTC
Isn't EANT_EXTRA_ARGS the one you want?
Comment 6 Miroslav Šulc gentoo-dev 2019-08-15 06:56:16 UTC
it's obsolete now as netbeans is being removed from the main tree. if you need netbeans, see bug #685782.