Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9260 - re-emerge kills env.d files
Summary: re-emerge kills env.d files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-17 11:14 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
2 users (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 Peter Ruskin 2002-10-17 11:14:50 UTC
On re-emerging sun-jdk and blackdown-jdk I ended up 
with an empty /etc/env.d/java folder.  At the end of 
a re-emerge the appropriate file is created in 
/etc/env.d/java and then deleted when previous 
version is cleaned.  I had to unmerge and emerge 
each in order to have `java-config` work.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-10-17 11:30:43 UTC
What version of portage are you using?
emerge -V

What versions of the jdk's are you using?
emerge -p sun-jdk blackdown-jdk
Comment 2 Peter Ruskin 2002-10-17 11:46:15 UTC
# emerge -V 
Portage 2.0.38 
[17:44 root@penguin: ~] 
# emerge -p sun-jdk blackdown-jdk 
 
These are the packages that I would merge, in order. 
 
Calculating dependencies ...done! 
[ebuild   R  ] dev-java/sun-jdk-1.4.0-r6 
[ebuild   R  ] dev-java/blackdown-jdk-1.3.1-r7 
 
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-10-17 13:37:23 UTC
Can you try this on portage-2.0.40 please?
I'll be looking into it in the meantime.
Comment 4 Peter Ruskin 2002-10-17 15:42:09 UTC
portage-2.0.40 still does the same :-( ... 
# emerge sun-jdk 
<snip> 
--- !empty dir /opt 
--- !empty dir /etc/env.d/java 
--- !empty dir /etc/env.d 
--- !empty dir /etc 
--- !targe sym /usr/lib/mozilla/plugins/libjavaplugin_oji.so 
--- !targe sym /opt/sun-jdk-1.4.0/jre/lib/i386/server/libjsig.so 
--- !targe sym /opt/sun-jdk-1.4.0/jre/lib/i386/client/libjsig.so 
>>> original instance of package unmerged safely. 
 * The Mozilla browser plugin has been installed as 
/usr/lib/mozilla/plugins/libjavaplugin_oji140.so 
>>> Regenerating /etc/ld.so.cache... 
>>> dev-java/sun-jdk-1.4.0-r6 merged. 
>>> Recording dev-java/sun-jdk in "world" favorites file... 
 
 * GNU info directory index is up-to-date. 
 * IMPORTANT: 2 config files in /etc need updating. 
 * Type emerge --help config to learn how to update config files. 
 
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2002-10-25 02:55:48 UTC
This is/should-be fixed in >=2.0.41
2.0.42 will be public.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2002-11-19 23:25:45 UTC
carpaski, if this is now fixed, I'll assign it to you to resolve it.