Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild always needs rebuilding sun-jdk [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Wed Nov 30, 2005 4:42 am    Post subject: revdep-rebuild always needs rebuilding sun-jdk [solved] Reply with quote

Dear all:

This is the only old problem that I didnt' solved on gentoo for ages:

Code:

 # revdep-rebuild

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot --nodeps  =dev-java/sun-jdk-1.5.0.04
..........
Calculating dependencies
emerge: there are no ebuilds to satisfy "=dev-java/sun-jdk-1.5.0.04".


Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (try to rebuild package, not exact
  ebuild - ignores SLOT!)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*



I had this jdk installed b4 for eclipse, each time revdep-rebuild rebuilds it, and after I emerge -C all the java related stuff (still have "java" as the USE flag in make.conf, since some ebuilds requires so), revdep-rebuild still complains about it, and showed the above stuff.


please advice on how to eliminate this annoying stuff, since it also makes other packages which requires revdep-rebuilding cannot be rebuilt successfully using revdep-rebuild.


thanks a lot!! :cry: :cry: :cry: :cry:
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer


Last edited by dundas on Mon Dec 05, 2005 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Wed Nov 30, 2005 10:09 am    Post subject: Reply with quote

I think it's not your fault, or I have the same problem :wink:
Revdep-rebuild rebuilds java everytime you run it, same with azureus-bin
I think, this is caused by java binary packages.

But try ( I don't know if it's working )
Code:
revdep-rebuild --dev-java/sun-jdk
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Nov 30, 2005 10:09 pm    Post subject: Reply with quote

On my system, it's not java, but Opera, that's always being rebuilt, because of two libfiles it apparently doesn't find... *shrug*

Opera works just dandy as far as I'm concerned, and it's binary too, so I'm not too dimpled about this. Would be nice to know what's causing it, though...
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
dwblas
Guru
Guru


Joined: 14 Jul 2003
Posts: 525
Location: Southern California (No jokes please)

PostPosted: Thu Dec 01, 2005 3:04 am    Post subject: Reply with quote

Yes, revdep-rebuild thinks those files are compiled against the wrong library because they are binaries, that is they have their own, different library version. There is no way to solve this unless you compile from source, that is there isn't any way to exclude binaries. Mozilla-firefox doesn't like amd64 machines so I use the bin which means that revdep-rebuild tries to rebuild it every time. And "rebuild" means download the same binary.
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Thu Dec 01, 2005 7:07 pm    Post subject: Reply with quote

dwblas wrote:
And "rebuild" means download the same binary.

With Opera it's even better. Since it's closed source, you can't compile it, but have to download it. :) Mebbe it could be wise to exclude such cases of binary hickups from revdep-rebuild?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Fri Dec 02, 2005 1:18 am    Post subject: Reply with quote

dwblas wrote:
Yes, revdep-rebuild thinks those files are compiled against the wrong library because they are binaries, that is they have their own, different library version. There is no way to solve this unless you compile from source, that is there isn't any way to exclude binaries. Mozilla-firefox doesn't like amd64 machines so I use the bin which means that revdep-rebuild tries to rebuild it every time. And "rebuild" means download the same binary.


really?all kinda libraries?I also got some binaries versions there but didn't receive similar rebuilt warnings, like openoffice-bin.

thx to all your informations guys.
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
makomk
n00b
n00b


Joined: 15 Jul 2005
Posts: 46
Location: Not all there

PostPosted: Sun Dec 04, 2005 8:45 pm    Post subject: Reply with quote

You should do what it says, and "rm /root/.revdep-rebuild*.?_*". That ought to stop it trying to rebuild stuff that isn't even installed.

As for revdep-rebuild trying to rebuild binary packages, I don't think there's a lot that can be done. Sorry. It's probably simplest to "revdep-rebuild -p" and then manually re-emerge the packages it reckons need rebuilding (it should print out a suitable emerge command - be sure to use "--oneshot" and specify the versions).
Back to top
View user's profile Send private message
drphibes
Guru
Guru


Joined: 30 Nov 2004
Posts: 432

PostPosted: Sun Dec 04, 2005 8:56 pm    Post subject: Reply with quote

makomk wrote:
You should do what it says, and "rm /root/.revdep-rebuild*.?_*". That ought to stop it trying to rebuild stuff that isn't even installed.

As for revdep-rebuild trying to rebuild binary packages, I don't think there's a lot that can be done. Sorry. It's probably simplest to "revdep-rebuild -p" and then manually re-emerge the packages it reckons need rebuilding (it should print out a suitable emerge command - be sure to use "--oneshot" and specify the versions).


The way to deal with this issue is to use a more recent gentoolkit, in which a solution exists. I am using 0.2.1_rc2 at the moment (~x86). There is a new variable you place in your /etc/make.conf: SEARCH_DIRS_MASK. Use it to exclude problem directories from the search path of revdep-rebuild. There are several (binary) packages which exhibit this problem: openoffice-bin, azureus-bin, java, etc.

---/etc/make.conf-----add, for example, this at the end:

Code:
#revdep-rebuild uses SEARCH_DIRS_MASK to ignore specified directories
SEARCH_DIRS_MASK="/opt/sun-jdk-1.5.0.05"


That's all you need and it works well.
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Mon Dec 05, 2005 1:07 am    Post subject: Reply with quote

drphibes wrote:


---/etc/make.conf-----add, for example, this at the end:

Code:
#revdep-rebuild uses SEARCH_DIRS_MASK to ignore specified directories
SEARCH_DIRS_MASK="/opt/sun-jdk-1.5.0.05"


That's all you need and it works well.


that sounds like a plan, thank you drphibes


[edit] also, I tried to
rm -rf /opt/sun-jdk-1.5.0.04

which also solved this prob.
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum