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.
Created attachment 220217 [details] emerg --info output
Created attachment 220219 [details] config.log w/ ccache
Created attachment 220221 [details] config.status w/ ccache
Created attachment 220223 [details] build.log w/ ccache
Created attachment 220225 [details] config.log w/o ccache
Created attachment 220227 [details] config.status w/o ccache
Created attachment 220229 [details] build.log w/o ccache
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
Created attachment 220231 [details] config.log diff
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.
(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?
Created attachment 220765 [details] config.log diff w/ & /wo ccache diff between emerges w/ and /wo ccache features.
(In reply to comment #11) > Seems to be I have found the root cause - corrupted ccache. Based on above, closing