Revdep-rebuild always tries to rebuild GCC [solved]

Anything that pertains to Portage

Moderator: Moderators

Revdep-rebuild always tries to rebuild GCC [solved]

Postby Raqua » Mon Jul 23, 2007 20:14

Today I upgraded to gcc-4.2.0.
It seems to be working ok except that when I run revdep-rebuild it tries to recompile gcc. I had the same issue with previous version of gcc - 4.1.2.
If I let it recompile and run revdep-rebuild right after that, I get the same output :
Code: Select all
# revdep-rebuild -i
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgij.la (requires /usr/lib/libgcj.la)
  broken /usr/lib/gcj-4.2.0/libjvm.la (requires /usr/lib/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot  =sys-devel/gcc-4.2.0
...


/usr/lib/libgcj.la is not there. Compiling is working fine though.
Last edited by Raqua on Fri Aug 31, 2007 11:01, edited 1 time in total.
User avatar
Raqua
Growing Hen
 
Posts: 175
Joined: Sun Apr 22, 2007 10:17

Postby WarraWarra » Mon Jul 23, 2007 20:48

Gcc does that.
If it is there then ignore the error.

Have you run " etc-update " yet , I use the -3 when asked and y + enter on each question seems to work good for now.
"ect-update" might stop it from comoling gcc again, not sure have to check.

Most important is
emerge -uD system -p
then remove -p and run it to update the base / linux .
You might have to run this 3 or 4 times until it has nothing more to add.

emerge -u world -p also helps but stops the extra uneeded stuff from installing when doing -uD .

add --skipfirst of there is a block that stps it from completing.

Hope this helps.
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Postby wolfden » Mon Jul 23, 2007 21:53

it's because of one of the USE flags, gjc or something, it's related to java. Look and see if you have gjc use flag. Removing the use flag shoud do it as it worked for me.

I just can't remember it off the top of my head, c0nv1ct knows it for sure - catch him in irc or send him a message.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby navman » Mon Jul 23, 2007 22:10

gcj Enable building with gcj (The GNU Compiler for the Javatm Programming Language)

I've been wondering why it recompiles every world update. Another globle USE flag to get rid of in BE 1.0 is zeroconf. It keeps calling in mDNSResponder.
navman
Growing Hen
 
Posts: 147
Joined: Fri Oct 20, 2006 20:51

Postby WarraWarra » Mon Jul 23, 2007 22:23

Been looking for a way to kill mDNSresponder clashing with avahi on emerge -u world. 1.0 BE

TY guy's both will be used by many posting here.
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Postby wolfden » Mon Jul 23, 2007 22:36

navman wrote:gcj Enable building with gcj (The GNU Compiler for the Javatm Programming Language)

I've been wondering why it recompiles every world update. Another globle USE flag to get rid of in BE 1.0 is zeroconf. It keeps calling in mDNSResponder.


Thanks! I knew I was close to the name :P
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby totedati » Mon Jul 23, 2007 23:29

i step in the same thing when i upgrade from kde 3.5.6 to 3.5.7 ... and after many cicles of revdep-rebuild still claim that gcc is broken and need a recompile. My last log:

Code: Select all
sudo revdep-rebuild --ignore --pretend
Password:
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/home/totedati/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/home/totedati/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/openoffice/program/libucpftp1.so (requires  libcurl.so.3)
  broken /usr/local/lib/mplayer/vidix/cyberblade_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/mach64_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/mga_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/pm3_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/radeon_vid.so (requires  libdha.so.0.1)
  broken /usr/local/lib/mplayer/vidix/rage128_vid.so (requires  libdha.so.0.1)
  broken /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/libgij.la (requires /usr/lib/libgcj.la)
 done.


i just ignore it ... /usr/local/lib/mplayer is popping up only because of my laziness, and openoffice and gcc is both working, and in good shape ... well maybe when i have time i will recompile openoffice v2.2.1 again ...
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby wolfden » Mon Jul 23, 2007 23:30

openoffice-bin

openoffice isn't worth compiling for me.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby jimonyzangs » Tue Jul 24, 2007 0:29

I either try to repair the .la symlinks (e.g. libgij.la) manually and if i cant then i delete the file
they are mostly not needed (use caution)

for mDNSresponder i remove it then add its libraries as a USE flag to avahi, although one time after a world update both seemed to stop conflicting
jimonyzangs
Baby Hen
 
Posts: 14
Joined: Wed May 23, 2007 12:18

Postby navman » Tue Jul 24, 2007 1:23

the mDNSResponder problem is specific to the BE edition or perhaps a stable install of gentoo if useing the same make.conf file because of the stable arch. I understand that kde 3.5.6 r1 and newer versions no longer use mDNSResponder.
navman
Growing Hen
 
Posts: 147
Joined: Fri Oct 20, 2006 20:51

Next

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest