View previous topic :: View next topic |
Author |
Message |
szensz-siempre Tux's lil' helper
Joined: 04 Dec 2006 Posts: 103 Location: South Africa
|
Posted: Fri Aug 17, 2007 9:58 am Post subject: Emerging digikam fails [SOLVED] |
|
|
Greetings all...
I have just upgraded from gcc 3.3.6 to gcc 4.2.0, during emerge -eav world it flies through about 400 packages but then crashed while emerging digikam. If I try to emerge digikam it goes smoothly through configure but when it gets to make I get the following:
Code: |
In file included from cmslm.cpp:37:
lcmsprf.h:79: error: 'BOOL' does not name a type
lcmsprf.h:96: error: 'BOOL' does not name a type
lcmsprf.h:98: error: 'BOOL' does not name a type
lcmsprf.h:100: error: 'BOOL' does not name a type
lcmsprf.h:101: error: 'BOOL' does not name a type
lcmsprf.h:106: error: 'BOOL' does not name a type
lcmsprf.h:108: error: 'BOOL' does not name a type
lcmsprf.h:110: error: 'BOOL' does not name a type
lcmsprf.h:114: error: 'BOOL' does not name a type
lcmsprf.h:116: error: 'BOOL' does not name a type
lcmsprf.h:120: error: 'BOOL' does not name a type
lcmsprf.h:180: error: expected initializer before '*' token
lcmsprf.h:188: error: 'SETOFPATCHES' does not name a type
lcmsprf.h:194: error: 'SETOFPATCHES' does not name a type
lcmsprf.h:196: error: 'BOOL' does not name a type
lcmsprf.h:201: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:202: error: 'BOOL' does not name a type
lcmsprf.h:204: error: 'BOOL' does not name a type
lcmsprf.h:205: error: 'BOOL' does not name a type
lcmsprf.h:214: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:222: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:224: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:225: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:227: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:228: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:230: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:231: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:233: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:234: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:236: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:237: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:241: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:242: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:243: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:270: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:274: error: 'BOOL' does not name a type
lcmsprf.h:277: error: 'BOOL' does not name a type
lcmsprf.h:280: error: 'BOOL' does not name a type
lcmsprf.h:300: error: 'BOOL' does not name a type
lcmsprf.h:301: error: 'BOOL' does not name a type
lcmsprf.h:308: error: 'BOOL' does not name a type
lcmsprf.h:309: error: 'BOOL' does not name a type
lcmsprf.h:311: error: 'BOOL' does not name a type
lcmsprf.h:327: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:342: error: 'BOOL' does not name a type
lcmsprf.h:401: error: 'BOOL' does not name a type
lcmsprf.h:415: error: 'BOOL' does not name a type
lcmsprf.h:416: error: 'BOOL' does not name a type
lcmsprf.h:417: error: 'BOOL' does not name a type
lcmsprf.h:419: error: 'BOOL' has not been declared
lcmsprf.h:420: error: 'BOOL' has not been declared
lcmsprf.h:423: error: 'BOOL' does not name a type
lcmsprf.h:446: error: 'BOOL' does not name a type
lcmsprf.h:447: error: 'BOOL' does not name a type
lcmsprf.h:462: error: 'BOOL' does not name a type
lcmsprf.h:470: error: 'BOOL' does not name a type
lcmsprf.h:471: error: 'BOOL' does not name a type
cmslm.cpp:72: error: 'BOOL' does not name a type
cmslm.cpp:73: error: 'BOOL' does not name a type
In file included from cmshull.cpp:38:
lcmsprf.h:79: error: 'BOOL' does not name a type
lcmsprf.h:96: error: 'BOOL' does not name a type
lcmsprf.h:98: error: 'BOOL' does not name a type
lcmsprf.h:100: error: 'BOOL' does not name a type
lcmsprf.h:101: error: 'BOOL' does not name a type
lcmsprf.h:106: error: 'BOOL' does not name a type
lcmsprf.h:108: error: 'BOOL' does not name a type
lcmsprf.h:110: error: 'BOOL' does not name a type
lcmsprf.h:114: error: 'BOOL' does not name a type
lcmsprf.h:116: error: 'BOOL' does not name a type
lcmsprf.h:120: error: 'BOOL' does not name a type
lcmsprf.h:180: error: expected initializer before '*' token
lcmsprf.h:188: error: 'SETOFPATCHES' does not name a type
lcmsprf.h:194: error: 'SETOFPATCHES' does not name a type
lcmsprf.h:196: error: 'BOOL' does not name a type
lcmsprf.h:201: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:202: error: 'BOOL' does not name a type
lcmsprf.h:204: error: 'BOOL' does not name a type
lcmsprf.h:205: error: 'BOOL' does not name a type
lcmsprf.h:214: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:222: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:224: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:225: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:227: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:228: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:230: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:231: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:233: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:234: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:236: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:237: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:241: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:242: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:243: error: 'SETOFPATCHES' has not been declared
cmslm.cpp:215: error: 'BOOL' does not name a type
cmslm.cpp:226: error: 'BOOL' does not name a type
lcmsprf.h:270: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:274: error: 'BOOL' does not name a type
lcmsprf.h:277: error: 'BOOL' does not name a type
lcmsprf.h:280: error: 'BOOL' does not name a type
lcmsprf.h:300: error: 'BOOL' does not name a type
lcmsprf.h:301: error: 'BOOL' does not name a type
lcmsprf.h:308: error: 'BOOL' does not name a type
lcmsprf.h:309: error: 'BOOL' does not name a type
lcmsprf.h:311: error: 'BOOL' does not name a type
lcmsprf.h:327: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:342: error: 'BOOL' does not name a type
lcmsprf.h:401: error: 'BOOL' does not name a type
lcmsprf.h:415: error: 'BOOL' does not name a type
lcmsprf.h:416: error: 'BOOL' does not name a type
lcmsprf.h:417: error: 'BOOL' does not name a type
lcmsprf.h:419: error: 'BOOL' has not been declared
lcmsprf.h:420: error: 'BOOL' has not been declared
lcmsprf.h:423: error: 'BOOL' does not name a type
lcmsprf.h:446: error: 'BOOL' does not name a typemake[4]: *** [liblprof_la-cmslm.lo] Error 1
lcmsprf.h:447: error: 'BOOL' does not name a type
make[4]: *** Waiting for unfinished jobs....
lcmsprf.h:462: error: 'BOOL' does not name a type
lcmsprf.h:470: error: 'BOOL' does not name a type
lcmsprf.h:471: error: 'BOOL' does not name a type
cmshull.cpp:44: error: 'BOOL' does not name a type
cmshull.cpp:45: error: 'BOOL' does not name a type
cmshull.cpp:47: error: 'BOOL' does not name a type
cmshull.cpp:105: error: 'BOOL' does not name a type
cmshull.cpp:114: error: 'BOOL' does not name a type
cmshull.cpp:124: error: 'BOOL' does not name a type
cmshull.cpp:125: error: 'BOOL' does not name a type
cmshull.cpp: In function '_vertex_struct* MakeNullVertex(HULL*)':
cmshull.cpp:180: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp:181: error: 'struct _vertex_struct' has no member named 'mark'
cmshull.cpp: In function '_edge_struct* MakeNullEdge(HULL*)':
cmshull.cpp:203: error: 'struct _edge_struct' has no member named 'DoDelete'
cmshull.cpp: In function '_face_struct* MakeNullFace(HULL*)':
cmshull.cpp:226: error: 'struct _face_struct' has no member named 'Visible'
cmshull.cpp: At global scope:
cmshull.cpp:274: error: 'BOOL' does not name a type
cmshull.cpp: In function 'void CleanEdges(HULL*)':
cmshull.cpp:338: error: 'struct _face_struct' has no member named 'Visible'
cmshull.cpp:351: error: 'struct _edge_struct' has no member named 'DoDelete'
cmshull.cpp:361: error: 'struct _edge_struct' has no member named 'DoDelete'
cmshull.cpp: In function 'void CleanFaces(HULL*)':
cmshull.cpp:382: error: 'struct _face_struct' has no member named 'Visible'
cmshull.cpp:391: error: 'struct _face_struct' has no member named 'Visible'
cmshull.cpp: In function 'void CleanVertices(HULL*)':
cmshull.cpp:419: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp:419: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp:428: error: 'struct _vertex_struct' has no member named 'mark'
cmshull.cpp:428: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp:437: error: 'struct _vertex_struct' has no member named 'mark'
cmshull.cpp:437: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp:453: error: 'struct _vertex_struct' has no member named 'onhull'
cmshull.cpp: In function 'void MakeCcw(_face_struct*, _edge_struct*, _vertex_struct*)':
cmshull.cpp:482: error: 'struct _face_struct' has no member named 'Visible'
cmshull.cpp: At global scope:
cmshull.cpp:568: error: 'BOOL' does not name a type
cmshull.cpp:637: error: 'BOOL' does not name a type
cmshull.cpp: In function 'void ConstructHull(HULL*)':
cmshull.cpp:696: error: 'BOOL' was not declared in this scope
cmshull.cpp:696: error: expected `;' before 'changed'
cmshull.cpp:703: error: 'changed' was not declared in this scope
cmshull.cpp:705: error: 'struct _vertex_struct' has no member named 'mark'
cmshull.cpp:707: error: 'struct _vertex_struct' has no member named 'mark'
cmshull.cpp:708: error: 'AddOne' was not declared in this scope
cmshull.cpp: At global scope:
cmshull.cpp:1311: error: 'BOOL' does not name a type
cmshull.cpp:1326: error: 'BOOL' does not name a type
cmshull.cpp:1351: error: 'BOOL' does not name a type
make[4]: *** [liblprof_la-cmshull.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/digikam-0.9.2/work/digikam-0.9.2/digikam/libs/lprof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/digikam-0.9.2/work/digikam-0.9.2/digikam/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/digikam-0.9.2/work/digikam-0.9.2/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/digikam-0.9.2/work/digikam-0.9.2'
make: *** [all] Error 2
*
* ERROR: media-gfx/digikam-0.9.2 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* digikam-0.9.2.ebuild, line 79: Called kde_src_compile
* kde.eclass, line 170: Called kde_src_compile 'all'
* kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make'
* kde.eclass, line 336: Called die
*
* died running emake, kde_src_compile:make
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-gfx/digikam-0.9.2/temp/build.log'.
|
It seems as though make fails when it works in /var/tmp/portage/media-gfx/digikam-0.9.2/work/digikam-0.9.2/digikam/libs/lprof'
Anyone know how I can resolve this?
Thanx
Last edited by szensz-siempre on Sun Aug 19, 2007 4:59 pm; edited 1 time in total |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
|
Back to top |
|
|
APolozov Apprentice
Joined: 28 Sep 2006 Posts: 189 Location: Voronezh, Russia
|
Posted: Fri Aug 17, 2007 5:08 pm Post subject: Re: Emerging digikam fails |
|
|
remove string media-libs/lcms ~x86
from /etc/portage/package.keywords
and
emerge lcms digikam |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sat Aug 18, 2007 12:39 am Post subject: |
|
|
Ahh, I see someone has mentioned this on the bug as well. Turns out, it's lcms-1.17 that triggers it. _________________ Thomas S. Howard |
|
Back to top |
|
|
szensz-siempre Tux's lil' helper
Joined: 04 Dec 2006 Posts: 103 Location: South Africa
|
Posted: Sun Aug 19, 2007 4:58 pm Post subject: Solved |
|
|
Thanks Didymos and APolozov for your replies.
It turns out that lcms was the problem in my case as well. This solved the problem for me.
emerge -av =media-libs/lcms-1.16
thereafter digikam emerges normally.
A big thumbs up to all those out there putting in their time to help others solve their mess! |
|
Back to top |
|
|
old_al n00b
Joined: 08 Apr 2005 Posts: 22 Location: Switzerland_TI
|
Posted: Mon Aug 20, 2007 11:11 am Post subject: Re: Solved |
|
|
szensz-siempre wrote: | Thanks Didymos and APolozov for your replies.
It turns out that lcms was the problem in my case as well. This solved the problem for me.
emerge -av =media-libs/lcms-1.16
thereafter digikam emerges normally.
A big thumbs up to all those out there putting in their time to help others solve their mess! |
Hi,
it works also for me. The problem now is that Digikam crashes. I try to downgrade to version 0.9.1 but crashes also!
Any ideas?
Thanks |
|
Back to top |
|
|
APolozov Apprentice
Joined: 28 Sep 2006 Posts: 189 Location: Voronezh, Russia
|
Posted: Tue Aug 21, 2007 6:00 pm Post subject: Re: Solved |
|
|
old_al wrote: |
Hi,
it works also for me. The problem now is that Digikam crashes. I try to downgrade to version 0.9.1 but crashes also!
Any ideas?
Thanks |
CFLAGS ? |
|
Back to top |
|
|
old_al n00b
Joined: 08 Apr 2005 Posts: 22 Location: Switzerland_TI
|
Posted: Tue Aug 21, 2007 6:29 pm Post subject: Re: Solved |
|
|
APolozov wrote: | old_al wrote: |
Hi,
it works also for me. The problem now is that Digikam crashes. I try to downgrade to version 0.9.1 but crashes also!
Any ideas?
Thanks |
CFLAGS ? :D |
Here my CFLAGS
Code: | CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
ACCEPT_KEYWORDS="~amd64"
|
|
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Aug 22, 2007 2:38 am Post subject: |
|
|
You should set -march to something appropriate for your CPU. _________________ Thomas S. Howard |
|
Back to top |
|
|
old_al n00b
Joined: 08 Apr 2005 Posts: 22 Location: Switzerland_TI
|
Posted: Thu Aug 23, 2007 6:42 am Post subject: |
|
|
didymos wrote: | You should set -march to something appropriate for your CPU. |
Thanks.
Done with
Code: | CFLAGS="-march=nocona -O2 -pipe"
|
I try to re-emerge Digikam but it continues to crash.
I have this problem since my last emerge -Du world from last week, before it always works. |
|
Back to top |
|
|
szensz-siempre Tux's lil' helper
Joined: 04 Dec 2006 Posts: 103 Location: South Africa
|
Posted: Thu Aug 23, 2007 6:58 am Post subject: |
|
|
old_al, if you don't mind, post your build error so that readers can see which errors are popping up |
|
Back to top |
|
|
old_al n00b
Joined: 08 Apr 2005 Posts: 22 Location: Switzerland_TI
|
Posted: Thu Aug 23, 2007 7:10 am Post subject: |
|
|
szensz-siempre wrote: | old_al, if you don't mind, post your build error so that readers can see which errors are popping up |
SOLVED!
After changing CFLAGS
and
Code: | emerge --newuse world |
Digikam (0.9.2)runs!
Thanks to all |
|
Back to top |
|
|
|