Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 269109

Summary: x11-themes/crystal-2.0.3 fail to compile
Product: Gentoo Linux Reporter: Dominique Michel <dominique.c.michel>
Component: Current packagesAssignee: 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

Description Dominique Michel 2009-05-09 10:29:31 UTC
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
Comment 1 Dominique Michel 2009-05-09 10:30:14 UTC
Created attachment 190743 [details]
emerge --info
Comment 2 Dominique Michel 2009-05-09 10:31:42 UTC
Created attachment 190744 [details]
complete build log
Comment 3 Dominique Michel 2009-05-09 10:32:10 UTC
Created attachment 190745 [details]
environment file
Comment 4 Sebastian Luther (few) 2009-05-09 20:05:22 UTC
Please provide emerge -pvq kde-base/kwin.
Comment 5 Dominique Michel 2009-05-10 08:21:31 UTC
# emerge -pvq kde-base/kwin
[ebuild   R   ] kde-base/kwin-4.2.3  USE="opengl xcomposite -captury -debug -kdeprefix -xinerama"
Comment 6 Dominique Michel 2009-05-22 07:15:14 UTC
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"
Comment 7 Dominique Michel 2009-05-22 07:15:50 UTC
Created attachment 192080 [details]
New emerge.info
Comment 8 Dominique Michel 2009-05-22 07:18:44 UTC
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!
Comment 9 Nicholas J. Michalek 2009-05-25 11:23:50 UTC
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...
Comment 10 Cedric Laczny 2009-08-23 14:01:31 UTC
(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
Comment 11 Dominique Michel 2009-08-24 17:58:38 UTC
(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.
Comment 12 Bartosz Szreder 2009-08-27 10:03:36 UTC
This bug hits again with crystal-2.0.5. Attaching patch below...
Comment 13 Bartosz Szreder 2009-08-27 10:05:08 UTC
Created attachment 202382 [details, diff]
Add missing dependency on kde-base/kwin

Patch tested on ~amd64 machine. Please apply.
Comment 14 Bartosz Szreder 2009-09-16 01:30:19 UTC
Ping?
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2009-09-20 01:50:29 UTC
Fixed.