Summary: | emerge kde-base/kdegraphics-mobipocket-4.10.4 fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Josep <josepquintana> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge output
emerge --info |
Description
Josep
2013-07-23 10:26:39 UTC
Created attachment 354010 [details]
emerge --info
Please try to run: emerge @preserved-rebuild emerge @preserved-rebuild Calculating dependencies... done! >>> Auto-cleaning packages... >>> No outdated packages were found on your system. Please use sane CFLAGS for your system. O3 is not sane. > CFLAGS="-march=opteron -pipe -O3 -funroll-all-loops -fpeel-loops" -O3: This is the highest level of optimization possible, and also the riskiest. It will take a longer time to compile your code with this option, and in fact it should not be used system-wide with gcc 4.x. The behavior of gcc has changed significantly since version 3.x. In 3.x, -O3 has been shown to lead to marginally faster execution times over -O2, but this is no longer the case with gcc 4.x. Compiling all your packages with -O3 will result in larger binaries that require more memory, and will significantly increase the odds of compilation failure or unexpected program behavior (including errors). The downsides outweigh the benefits; remember the principle of diminishing returns. Using -O3 is not recommended for gcc 4.x. [1] [1] http://www.gentoo.org/doc/en/gcc-optimization.xml Changed for -O2. Same result You have to rebuild your entire world with sane flags. -funroll-all-loops -fpeel-loops looks strange to me also... Changed to the more classical ones CFLAGS="-march=opteron -pipe -O2" I will recomplile the system now. After emerge -e system and emerge -e world. The problem contiues with the same error. What is the output of emerge -pv okular ? emerge -pv okular These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] kde-base/okular-4.10.5:4 USE="crypt djvu handbook jpeg pdf postscript tiff (-aqua) -chm -debug -ebook" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Do you have mlocate (or similiar) installed - what is the output of locate -i "*okular*.cmake" ? locate -i "*okular*.cmake" /usr/lib64/cmake/Okular/OkularConfig.cmake /usr/lib64/cmake/Okular/OkularConfigVersion.cmake /usr/share/apps/cmake/modules/FindOkular.cmake (In reply to Josep from comment #12) > locate -i "*okular*.cmake" > /usr/lib64/cmake/Okular/OkularConfig.cmake > /usr/lib64/cmake/Okular/OkularConfigVersion.cmake > /usr/share/apps/cmake/modules/FindOkular.cmake Very interesting, which package owns FindOkular.cmake? (check with equery b) No package: equery b /usr/share/apps/cmake/modules/FindOkular.cmake * Searching for /usr/share/apps/cmake/modules/FindOkular.cmake ... for example for the other files: equery b /usr/lib64/cmake/Okular/OkularConfig.cmake * Searching for /usr/lib64/cmake/Okular/OkularConfig.cmake ... kde-base/okular-4.10.5 (/usr/lib64/cmake/Okular/OkularConfig.cmake) equery b /usr/lib64/cmake/Okular/OkularConfigVersion.cmake * Searching for /usr/lib64/cmake/Okular/OkularConfigVersion.cmake ... kde-base/okular-4.10.5 (/usr/lib64/cmake/Okular/OkularConfigVersion.cmake) Solved: I just: mv /usr/share/apps/cmake/modules/FindOkular.cmake /usr/share/apps/cmake/modules/FindOkular.cmake_ emerge okular emerge kdegraphics-mobipocket and now it compiles. Thank you !!! |