Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139909 - Add check to java-check-environment to find stale PROVIDE files
Summary: Add check to java-check-environment to find stale PROVIDE files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 139870
  Show dependency tree
 
Reported: 2006-07-10 11:45 UTC by Josh Nichols (RETIRED)
Modified: 2006-07-17 18:46 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 Josh Nichols (RETIRED) gentoo-dev 2006-07-10 11:45:45 UTC
We should add a check for stale PROVIDE files, since we are now using new style virtuals.

The following snippet was suggested in bug #139870 :

find /var/db/pkg -name PROVIDE | xargs egrep -l 'virtual/jdk|virtual/jre'

All the files found by this should be deleted.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-17 03:10:53 UTC
Since this bug is still open, I will post it here:


>>> Merging dev-java/java-config-wrapper-0.10 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/java-check-environment.orig
>>> /usr/bin/java-config
>>> /usr/bin/java-1.5-fixer
>>> /usr/bin/java-check-environment

Note the .orig file, I don't think it was meant to be there :)

Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-07-17 18:46:10 UTC
The check is in the latest version.

Caster, please don't bring up different issues on already established bugs. It's easy to let issues fall through the cracks.if a bug has more than one.