View previous topic :: View next topic |
Author |
Message |
darkseer n00b
Joined: 09 Aug 2005 Posts: 60
|
Posted: Mon Nov 05, 2012 3:14 am Post subject: gnome 3.6 overlay |
|
|
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 |
|
|
MikeTbob n00b
Joined: 28 Jul 2007 Posts: 18 Location: Texas, USA
|
Posted: Tue Jan 01, 2013 6:53 am Post subject: |
|
|
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 |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Jan 01, 2013 6:29 pm Post subject: |
|
|
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 |
|
|
MikeTbob n00b
Joined: 28 Jul 2007 Posts: 18 Location: Texas, USA
|
Posted: Sat Jan 05, 2013 1:12 am Post subject: |
|
|
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 |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Sat Jan 05, 2013 1:28 am Post subject: |
|
|
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 |
|
|
|