Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome 3.6 overlay
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Mon Nov 05, 2012 3:14 am    Post subject: gnome 3.6 overlay Reply with quote

I was messing around in the gnome overlay and stumbled across the following problem when compiling gnome-online-accounts-3.6.1
Code:

In file included from goaidentityenumtypes.c:106:0:
goakerberosidentity.h:39:37: error: redefinition of typedef 'GoaKerberosIdentity'
goakerberosidentityinquiry.h:41:37: note: previous declaration of 'GoaKerberosIdentity' was here
In file included from goakerberosidentity.c:26:0:
goakerberosidentity.h:39:37: error: redefinition of typedef 'GoaKerberosIdentity'
goakerberosidentityinquiry.h:41:37: note: previous declaration of 'GoaKerberosIdentity' was here
make[4]: *** [libgoaidentity_la-goaidentityenumtypes.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from goakerberosidentityinquiry.c:25:0:
goakerberosidentityinquiry.h:41:37: error: redefinition of typedef 'GoaKerberosIdentity'
goakerberosidentity.h:39:37: note: previous declaration of 'GoaKerberosIdentity' was here
In file included from goakerberosidentitymanager.h:31:0,
                 from goakerberosidentitymanager.c:25:
goakerberosidentity.h:39:37: error: redefinition of typedef 'GoaKerberosIdentity'
goakerberosidentityinquiry.h:41:37: note: previous declaration of 'GoaKerberosIdentity' was here


My fix was to put a include guard around this struct:
Code:

#ifndef __GOA_KERBEROS_IDENTITY_H__GoaKerberosIdentity
#define __GOA_KERBEROS_IDENTITY_H__GoaKerberosIdentity
typedef struct _GoaKerberosIdentity GoaKerberosIdentity;
#endif

this is not a solution just a hack. Does anyone here know if this is a gentoo or upstream issue? Where do I submit a bug?

-darkseer
Back to top
View user's profile Send private message
MikeTbob
n00b
n00b


Joined: 28 Jul 2007
Posts: 18
Location: Texas, USA

PostPosted: Tue Jan 01, 2013 6:53 am    Post subject: Reply with quote

I seem to be having this issue also. Can you explain how you fixed it? This is the only hit I came up with on a Google search.
Did you edit the .ebuild?
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Tue Jan 01, 2013 6:29 pm    Post subject: Reply with quote

Why not try building from the main portage tree?
Gnome-3.6 is in there now.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
MikeTbob
n00b
n00b


Joined: 28 Jul 2007
Posts: 18
Location: Texas, USA

PostPosted: Sat Jan 05, 2013 1:12 am    Post subject: Reply with quote

I'm not trying to install from an overlay, at least I don't think I am. I'm just trying to get gnome-online-accounts to build via portage and I keep getting the error that OP mentioned.
Quote:
-I/usr/include/libdrm -I/usr/include/qt4/QtCore -O2 -march=i686 -pipe -c org.freedesktop.realmd.c -fPIC -DPIC -o .libs/libgoaidentity_la-org.freedesktop.realmd.o
In file included from goaidentityenumtypes.c:106:0:
goakerberosidentity.h:39:37: error: redefinition of typedef ‘GoaKerberosIdentity’
goakerberosidentityinquiry.h:41:37: note: previous declaration of ‘GoaKerberosIdentity’ was here
make[4]: *** [libgoaidentity_la-goaidentityenumtypes.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/net-libs/gnome-online-accounts-3.6.2/work/gnome-online-accounts-3.6.2/src/goaidentity'


Maybe I need to check if an overlay repo is enabled and causing this problem for me.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Sat Jan 05, 2013 1:28 am    Post subject: Reply with quote

Hello MikeTbob

The suspicious part of your out put is...
Code:
goakerberosidentity.h:39:37: error: redefinition of typedef ‘GoaKerberosIdentity’
goakerberosidentityinquiry.h:41:37: note: previous declaration of ‘GoaKerberosIdentity’ was here
make[4]: *** [libgoaidentity_la-goaidentityenumtypes.lo] Error 1


It may be kerberos that is causing the problem.

Could you make sure you have the following installed, before trying to build gnome-online-accounts again.
Code:
app-crypt/mit-krb5-1.10.3
virtual/krb5-0
app-crypt/gcr-3.6.2


Just an idea.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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