View previous topic :: View next topic |
Author |
Message |
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Tue Oct 31, 2006 8:00 am Post subject: Why gcc is always recompiled after revdep-rebuild? [solved] |
|
|
Why gcc is always recompiled after revdep-rebuild? I find it happens even if I run revdep-rebuild consecutively. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Last edited by dmvianna on Sun Dec 10, 2006 8:40 pm; edited 1 time in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Oct 31, 2006 11:59 am Post subject: |
|
|
Show the output of revdep-rebuild. It should be listing the broken files. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Tue Oct 31, 2006 12:07 pm Post subject: |
|
|
Code: | [ebuild R ] sys-devel/gcc-4.1.1
[ebuild R ] media-gfx/fontforge-20061014
|
It's always like that. It's never satisfied. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Tue Oct 31, 2006 12:12 pm Post subject: |
|
|
OK, the whole thing:
Code: | # revdep-rebuild -p
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/xmms/Input/libxmms-mac.so (requires libxmms.so.1)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
broken /usr/lib/libgdraw.la (requires /lib/libgunicode.la)
broken /usr/lib/xmms/Input/libxmms-mac.la (requires /usr/lib/libxmms.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 -p =sys-devel/gcc-4.1.1 =media-gfx/fontforge-20061014
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.1.1
[ebuild R ] media-gfx/fontforge-20061014
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
| Of course I don't have xmms anymore. So what's the problem, and how can I unmerge it for good? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Oct 31, 2006 12:19 pm Post subject: |
|
|
dmvianna wrote: | broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la |
This should work to fix gcc - move those 2 files to your temp directory (i.e. ~/temp/), then:
Code: | emerge gcc
rm /root/.revdep*
revdep-rebuild |
|
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Tue Oct 31, 2006 12:25 pm Post subject: |
|
|
Re XMMS, do you have any xmm use flags in your /etc/make.conf or /etc/portage/packages.use ?
If you don't (or once you've removed them) you could try an
followed by a
and see if that clears the problem.
I would suggest backup up your system before you do this, just in case....
Cheers,
jcat |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Fri Nov 10, 2006 5:58 am Post subject: |
|
|
xmms-mac was a package I compiled myself, outside of portage. Just found its source tree inside /root.
revdep-rebuild still wants media-gfx/fontforge-20061014 and sys-devel/gcc-4.1.1 in every pass.
Code: | petral ~ # cat .revdep-rebuild.3_rebuild
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la
/usr/lib/libgdraw.la
|
Now what could be the problem with those files which never get fixed? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Fri Nov 10, 2006 9:19 am Post subject: |
|
|
Do this give you any results?
Code: | equery belongs /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la /usr/lib/libgdraw.la |
If ithe above command can't find any packages the files belong too, you can just delete them. Probably...
Cheers,
jcat |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Fri Nov 10, 2006 9:40 am Post subject: |
|
|
Code: | [ Searching for file(s) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la,/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la,/usr/lib/libgdraw.la in *... ]
media-gfx/fontforge-20061014 (/usr/lib/libgdraw.la)
sys-devel/gcc-4.1.1 (/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la)
sys-devel/gcc-4.1.1 (/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la)
| I have moved them to /tmp, and am recompiling gcc and fontforge. Let's see what happens then. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Fri Nov 10, 2006 9:45 am Post subject: |
|
|
Sounds like a plan!
Let us know how it goes.
Cheers,
jcat |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Fri Nov 10, 2006 11:17 am Post subject: |
|
|
Quote: |
Checking dynamic linking consistency...
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
broken /usr/lib/libgdraw.la (requires /lib/libgunicode.la)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
| What the fuck??? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Fri Nov 10, 2006 11:23 am Post subject: |
|
|
Have you tried doing an emerge --depclean before you revdep-rebuild?
Cheers,
jcat |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Fri Nov 10, 2006 2:07 pm Post subject: |
|
|
Remove the gcj use flag from gcc if you have it active, then recompile gcc. _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Nov 11, 2006 9:42 am Post subject: |
|
|
Sachankara wrote: | Remove the gcj use flag from gcc if you have it active, then recompile gcc. | Well, it does fix the problem with revdep-rebuild, but then I get problems emerging applications which rely on a java compiler! _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Nov 11, 2006 10:05 pm Post subject: |
|
|
jcat wrote: | Have you tried doing an emerge --depclean before you revdep-rebuild? |
No. Last time it gave me many obvious mistakes, and I'm actually going through an emerge -e world right now for other reasons. But I will do it at some point, if nothing else comes up. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Sun Nov 12, 2006 12:30 pm Post subject: |
|
|
There always seem to be obvious mistakes in --depclean, that's why you always have to do a revdep-rebuild afterwards.
Hopefully your -e will iron out the wrinkles first.
Cheers,
jcat |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sun Nov 12, 2006 8:00 pm Post subject: |
|
|
OK, now I ran emerge --depclean, and let it clean everything, then revdep-rebuild:
Code: | Checking dynamic linking consistency...
broken /usr/bin/scigraphica (requires libgtkextra-0.99.so.17 libxml.so.1)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
done.
(/root/.revdep-rebuild.3_rebuild)
| I had emerge -C scigraphica, so I moved the executable to /tmp, and moved again the same gcc files. Did not rebuild gcc this time. Should I?
Wow, emerge --depclean wasn't as painful as I expected. I though I would have to go through an emerge -e world right after. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
harivolker n00b
Joined: 02 Apr 2006 Posts: 10 Location: Stuttgart, Germany
|
Posted: Fri Nov 17, 2006 12:45 am Post subject: |
|
|
Hi,
I don't know if you already sorted things out.
I ran partly into the same problem as you did, but a
Code: | # locate java-awt-peer-gtk.la libgcj.la | returned
Code: | /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/lib-gnu-java-awt-peer-gtk.la
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcj.la | so, why not just symlinking those two files?
For me, a Code: |
# ln -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcj.la /usr/lib/libgcj.la
# ln -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/lib-gnu-java-awt-peer-gtk.la /usr/lib/lib-gnu-java-awt-peer-gtk.la | did the trick. Revdep-rebuild works again with no errors or broken files and nothing to re-emerge.
I can't say anything about SciGraphica. I'm not using this.
Hope that helps, Volker |
|
Back to top |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|