Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118685 - revdep-rebuild wants to rebuild ibm-jdk-bin-1.5.0
Summary: revdep-rebuild wants to rebuild ibm-jdk-bin-1.5.0
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 10:45 UTC by Ted
Modified: 2007-04-07 14:32 UTC (History)
3 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 Ted 2006-01-11 10:45:05 UTC
Have emerged ibm-jdk-bin with the following flags, installs clean:

dev-java/ibm-jdk-bin-1.5.0  USE="X browserplugin -javacomm -mozilla"

revdep-rebuild shows missing deps that are gtk related, but ebuild doesn't list gtk+-1.2.x, so the jdk will re-emerge every time revdep-rebuild is used.  Having gtk+-2.* will not satisfy the dependancy.  Installing gtk-1.2.10-r11 solves the revdep-rebuild.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-11 11:01:20 UTC
revdep-rebuild doesn't work correctly with binary packages. Noting that adding hard dependency on a obsolete gtk+ version would be an extremely annoying behaviour for me (and not just for me). 
Comment 2 Ted 2006-01-11 11:18:38 UTC
Since the package doesn't apparently recognize newer gtk+ versions and is linked against an older version, shouldn't there at least be a gtk flag for the package?  I realize that flag wouldn't stop revdep-rebuild from wanting to rebuild it if the older gtk libraries weren't present, but I'm wondering what happens if the jdk tries using gtk and it just isn't there.  
Comment 3 Paul Varner (RETIRED) gentoo-dev 2006-05-22 19:42:09 UTC
Since it is a binary package.  The appropriate solution is for the ibm-jdk-bin ebuild to drop a file into /etc/revdep-rebuild containing the appropriate SEARCH_DIRS_MASK entry
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-09-17 04:09:20 UTC
The plugin and alsa libraries are now removed if the use flags are not set.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-09-17 11:46:51 UTC
(In reply to comment #4)
> The plugin and alsa libraries are now removed if the use flags are not set.
> 

Seems my checkdeps.rb could use some improvement. REOPENing as long as the gtk stuff is sorted out.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2006-09-17 12:24:14 UTC
ppc: please check that the javaplugin still works on you when I have deleted the gtk2 libraries. Should also delete the X related libraries for this the be fixed. But at least the gtk problems with javaplugin should now be fixed.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2007-04-07 14:32:21 UTC
Seems okay to me, revdep-rebuild is happy now, thanks for taking care of this!