Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging digikam fails [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
szensz-siempre
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 103
Location: South Africa

PostPosted: Fri Aug 17, 2007 9:58 am    Post subject: Emerging digikam fails [SOLVED] Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Aug 17, 2007 11:14 am    Post subject: Reply with quote

Looks you hit a shiny new bug:
media-gfx/digikam-0.9.2 doesn't compile (anymore)

No solution as of now.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
APolozov
Apprentice
Apprentice


Joined: 28 Sep 2006
Posts: 189
Location: Voronezh, Russia

PostPosted: Fri Aug 17, 2007 5:08 pm    Post subject: Re: Emerging digikam fails Reply with quote

remove string media-libs/lcms ~x86
from /etc/portage/package.keywords
and
emerge lcms digikam
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Aug 18, 2007 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
szensz-siempre
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 103
Location: South Africa

PostPosted: Sun Aug 19, 2007 4:58 pm    Post subject: Solved Reply with quote

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
View user's profile Send private message
old_al
n00b
n00b


Joined: 08 Apr 2005
Posts: 22
Location: Switzerland_TI

PostPosted: Mon Aug 20, 2007 11:11 am    Post subject: Re: Solved Reply with quote

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
View user's profile Send private message
APolozov
Apprentice
Apprentice


Joined: 28 Sep 2006
Posts: 189
Location: Voronezh, Russia

PostPosted: Tue Aug 21, 2007 6:00 pm    Post subject: Re: Solved Reply with quote

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
Back to top
View user's profile Send private message
old_al
n00b
n00b


Joined: 08 Apr 2005
Posts: 22
Location: Switzerland_TI

PostPosted: Tue Aug 21, 2007 6:29 pm    Post subject: Re: Solved Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Aug 22, 2007 2:38 am    Post subject: Reply with quote

You should set -march to something appropriate for your CPU.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
old_al
n00b
n00b


Joined: 08 Apr 2005
Posts: 22
Location: Switzerland_TI

PostPosted: Thu Aug 23, 2007 6:42 am    Post subject: Reply with quote

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
View user's profile Send private message
szensz-siempre
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 103
Location: South Africa

PostPosted: Thu Aug 23, 2007 6:58 am    Post subject: Reply with quote

old_al, if you don't mind, post your build error so that readers can see which errors are popping up
Back to top
View user's profile Send private message
old_al
n00b
n00b


Joined: 08 Apr 2005
Posts: 22
Location: Switzerland_TI

PostPosted: Thu Aug 23, 2007 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum