| Summary: | x11-themes/crystal-2.0.3 fail to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
| Component: | Current packages | Assignee: | Konstantin Arkhipov (RETIRED) <voxus> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | djphazer, rhill, zgredder |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
complete build log environment file New emerge.info Add missing dependency on kde-base/kwin |
||
Created attachment 190743 [details]
emerge --info
Created attachment 190744 [details]
complete build log
Created attachment 190745 [details]
environment file
Please provide emerge -pvq kde-base/kwin. # emerge -pvq kde-base/kwin [ebuild R ] kde-base/kwin-4.2.3 USE="opengl xcomposite -captury -debug -kdeprefix -xinerama" New emerge world, and portage is working fine today with this package. emerge -pvq kde-base/kwin [ebuild R ] kde-base/kwin-4.2.3 USE="opengl xcomposite -captury -debug -kdeprefix -xinerama" Created attachment 192080 [details]
New emerge.info
When this error was appearing, I was in the middle of an update to ~amd64. x11-themes/crystal did install fine now, so I consider that this bug is closed for me. Thank you! I stumbled on this same bug today while updating from x86 to ~x86. The circumstance that produced it on my machine was that kwin:3.5 was installed, kwin:4 was not, and crystal-2.0.3 failed to compile (kdecoration.h not found, etc.). When I manually installed kwin:4, crystal compiled fine. The error I see is that although kwin:4 is required to compile this package, the dependencies do not seem to reflect it. However, I am still baffled about how it failed for Dominique if kwin-4.2.3 was already installed... (In reply to comment #6) > New emerge world, and portage is working fine today with this package. > > emerge -pvq kde-base/kwin > [ebuild R ] kde-base/kwin-4.2.3 USE="opengl xcomposite -captury -debug > -kdeprefix -xinerama" > Hi, I encountered the same problem and fix with kde-base/kwin-4.3.0 and x11-themes/crystal-2.0.3. On a new install I had first to emerge kwin by hand and then the emerge of crystal went through wituhout any problem (In reply to comment #9) > I stumbled on this same bug today while updating from x86 to ~x86. The > circumstance that produced it on my machine was that kwin:3.5 was installed, > kwin:4 was not, and crystal-2.0.3 failed to compile (kdecoration.h not found, > etc.). When I manually installed kwin:4, crystal compiled fine. > > The error I see is that although kwin:4 is required to compile this package, > the dependencies do not seem to reflect it. However, I am still baffled about > how it failed for Dominique if kwin-4.2.3 was already installed... > Like I said, I was in the middle of a world update from amd64 to ~amd64. So maybe that, at the time of crystal-2.0.3 merging, kwin was not updated to kwin-4.2.3. This bug hits again with crystal-2.0.5. Attaching patch below... Created attachment 202382 [details, diff]
Add missing dependency on kde-base/kwin
Patch tested on ~amd64 machine. Please apply.
Ping? Fixed. |
I just updated to ~amd64 and x11-themes/crystal-2.0.3 fail with (this is the only package from "emerge --update --deep --newuse" that I was not able to install): ilding CXX object client/CMakeFiles/kwin3_crystal.dir/buttonimage.o [ 92%] Building CXX object client/CMakeFiles/kwin3_crystal.dir/crystalbutton.o [100%] Building CXX object client/CMakeFiles/kwin3_crystal.dir/crystalclient.o In file included from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3_build/client/../../crystal-2.0.3/client/crystalbutton.h:27, from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3_build/client/moc_crystalbutton.cpp:10, from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3_build/client/kwin3_crystal_automoc.cpp:4: /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:31:25: error: kdecoration.h: No such file or directory /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:32:32: error: kdecorationfactory.h: No such file or directory In file included from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.cpp:43: /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:31:25: error: kdecoration.h: No such file or directory /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:32:32: error: kdecorationfactory.h: No such file or directory In file included from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/buttonimage.h:27, from /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/buttonimage.cpp:25: /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:31:25: error: kdecoration.h: No such file or directory /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.h:32:32: error: kdecorationfactory.h: No such file or directory ... /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.cpp:88: error: expected constructor, destructor, or type conversion before ‘*’ token /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.cpp:103: error: ‘bool CrystalFactory::supports’ is not a static member of ‘class CrystalFactory’ /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.cpp:103: error: ‘Ability’ was not declared in this scope /var/tmp/portage/x11-themes/crystal-2.0.3/work/crystal-2.0.3/client/crystalclient.cpp:103: error: expected ‘,’ or ‘;’ before ‘const’ make[2]: *** [client/CMakeFiles/kwin3_crystal.dir/crystalclient.o] Error 1 make[1]: *** [client/CMakeFiles/kwin3_crystal.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared module ../../lib/kwin_crystal_config.so [100%] Built target kwin_crystal_config make: *** [all] Error 2 * * ERROR: x11-themes/crystal-2.0.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3154: Called kde4-base_src_compile * environment, line 2353: Called cmake-utils_src_compile * environment, line 798: Called cmake-utils_src_make * environment, line 877: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! Reproducible: Always Steps to Reproduce: 1. emerge x11-themes/crystal 2. 3. Actual Results: emerge failed to compile it. Expected Results: That emerge did it