Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305797 - =gnome-extra/sensors-applet-2.2.4 build failed with ccache
Summary: =gnome-extra/sensors-applet-2.2.4 build failed with ccache
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 21:11 UTC by Alexander Goomenyuk
Modified: 2010-03-02 23:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerg --info output (emerge.info,3.96 KB, text/plain)
2010-02-18 21:12 UTC, Alexander Goomenyuk
Details
config.log w/ ccache (config.log,55.32 KB, text/plain)
2010-02-18 21:13 UTC, Alexander Goomenyuk
Details
config.status w/ ccache (config.status,70.76 KB, text/plain)
2010-02-18 21:13 UTC, Alexander Goomenyuk
Details
build.log w/ ccache (build.log,35.85 KB, text/plain)
2010-02-18 21:14 UTC, Alexander Goomenyuk
Details
config.log w/o ccache (config.log,44.17 KB, text/plain)
2010-02-18 21:14 UTC, Alexander Goomenyuk
Details
config.status w/o ccache (config.status,70.67 KB, text/plain)
2010-02-18 21:15 UTC, Alexander Goomenyuk
Details
build.log w/o ccache (build.log,54.26 KB, text/plain)
2010-02-18 21:15 UTC, Alexander Goomenyuk
Details
config.log diff (config.log.diff,28.20 KB, text/plain)
2010-02-18 21:18 UTC, Alexander Goomenyuk
Details
config.log diff w/ & /wo ccache (config.log.unified.diff,35.83 KB, text/plain)
2010-02-22 21:19 UTC, Alexander Goomenyuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Goomenyuk 2010-02-18 21:11:27 UTC
When portage is configured to use ccache FEATURE the build failed because the configure script doesn't detect the GCC compiler (I guess so).

It might be the ccache problem also. But I couldn't figure out the root cause. For some reasons the test performed by configure scripts are failed when build ccache.

Please check the config log/status in attachment. I hope this should be easy to get the clue from these files if you are the expert in configure.
Comment 1 Alexander Goomenyuk 2010-02-18 21:12:13 UTC
Created attachment 220217 [details]
emerg --info output
Comment 2 Alexander Goomenyuk 2010-02-18 21:13:34 UTC
Created attachment 220219 [details]
config.log w/ ccache
Comment 3 Alexander Goomenyuk 2010-02-18 21:13:55 UTC
Created attachment 220221 [details]
config.status w/ ccache
Comment 4 Alexander Goomenyuk 2010-02-18 21:14:13 UTC
Created attachment 220223 [details]
build.log w/ ccache
Comment 5 Alexander Goomenyuk 2010-02-18 21:14:46 UTC
Created attachment 220225 [details]
config.log w/o ccache
Comment 6 Alexander Goomenyuk 2010-02-18 21:15:07 UTC
Created attachment 220227 [details]
config.status w/o ccache
Comment 7 Alexander Goomenyuk 2010-02-18 21:15:40 UTC
Created attachment 220229 [details]
build.log w/o ccache
Comment 8 Alexander Goomenyuk 2010-02-18 21:16:29 UTC
Here is the actual error:
libtool: link: i686-pc-linux-gnu-gcc -qlanglvl=extc89 -shared  .libs/sensors-applet-plugin.o   /usr/lib/libglib-2.0.so -lc  -qlanglvl=extc89 -march=k8 -O1   -soname libsensors-applet-plugin.so.0 -o .libs/libsensors-applet-plugin.so.0.0.0
i686-pc-linux-gnu-gcc: libsensors-applet-plugin.so.0: No such file or directory
i686-pc-linux-gnu-gcc: unrecognized option '-qlanglvl=extc89'
i686-pc-linux-gnu-gcc: unrecognized option '-qlanglvl=extc89'
i686-pc-linux-gnu-gcc: unrecognized option '-soname'
make[1]: *** [libsensors-applet-plugin.la] Error 1
make[1]: Leaving directory `/root/build/sensors-applet-2.2.4-portage/work/sensors-applet-2.2.4/lib'
make: *** [all-recursive] Error 1
Comment 9 Alexander Goomenyuk 2010-02-18 21:18:29 UTC
Created attachment 220231 [details]
config.log diff
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-02-22 10:10:25 UTC
Please use unified diffs when attaching to a bug report, it's easier to read.
Before doing any test with a clean cache, please back it up somewhere for further analysis pas ccache maintainers. Then please clean your cache and try building sensors applet again.
Comment 11 Alexander Goomenyuk 2010-02-22 21:15:44 UTC
(In reply to comment #10)
> Please use unified diffs when attaching to a bug report, it's easier to read.
> Before doing any test with a clean cache, please back it up somewhere for
> further analysis pas ccache maintainers. Then please clean your cache and try
> building sensors applet again.
> 
Thanks for feedback.

Seems to be I have found the root cause - corrupted ccache.
Before submitting the bug I have tried to clear cache and statistics with "ccache -C" & "ccache -z". But it was still failure in emerge.

I have tried to unmerge/emerge the ccache w/o success too.

The solution was to remove "/var/tmp/ccache" directory and emerge the sensors-applet again. I guess the ccache become corrupted once the power failure occured during the emerge of sensors-applet.

I believe that ccache maintain the cache integrity somehow.
I have backed the cache up, should I forward this bug to ccache maintainers?
Comment 12 Alexander Goomenyuk 2010-02-22 21:19:44 UTC
Created attachment 220765 [details]
config.log diff  w/ & /wo ccache 

diff between emerges w/ and /wo ccache features.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-03-02 23:56:01 UTC
(In reply to comment #11)
> Seems to be I have found the root cause - corrupted ccache.

Based on above, closing