View previous topic :: View next topic |
Author |
Message |
sjorna n00b
Joined: 29 Nov 2006 Posts: 71 Location: New South Wales, Australia
|
Posted: Wed Aug 07, 2013 10:07 am Post subject: unity-gentoo compile failure - unity-base/signon-8.49_p0_p02 |
|
|
Greetings;
I've been toying with getting unity to compile in a virtual machine prior to committing several hours of build time for my primary machine, and while I have come across quite a few irritating issues, I'm not sure what I can do with this one.
From what I can tell, it actually looks to be the source file is broken, but I'm not sure if I'm missing something.
The errors from the broken compile are below, and if you need more information feel free to ask: any help would be greatly appreciated!
Cheers;
-S
Code: |
g++ -c -pipe -fno-exceptions -fno-rtti -fvisibility=hidden -O2 -Wall -W -D_REENTRANT -fPIC -DDEBUG_ENABLED -DNO_SIGNON_USER
-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DLIBSIGNON_TRACE -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr
/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I../../lib -I. -I/v
ar/tmp/portage/unity-base/signon-8.49_p0_p02/work/signon-8.49-build_qt4/include -I. -o moc_authsessionimpl.o moc_authsession
impl.cpp
In file included from identityimpl.h:38:0,
from moc_identityimpl.cpp:10:
dbusinterface.h:34:1: error: expected class-name before ‘{’ token
dbusinterface.h:39:25: error: ‘QDBusConnection’ does not name a type
dbusinterface.h:39:42: error: ISO C++ forbids declaration of ‘connection’ with no type [-fpermissive]
In file included from moc_identityimpl.cpp:10:0:
identityimpl.h:76:27: error: ‘QDBusError’ does not name a type
identityimpl.h:76:39: error: ISO C++ forbids declaration of ‘err’ with no type [-fpermissive]
identityimpl.h:101:30: error: ‘QDBusObjectPath’ does not name a type
identityimpl.h:101:47: error: ISO C++ forbids declaration of ‘objectPath’ with no type [-fpermissive]
identityimpl.h:103:30: error: ‘QDBusObjectPath’ does not name a type
identityimpl.h:103:47: error: ISO C++ forbids declaration of ‘objectPath’ with no type [-fpermissive]
moc_identityimpl.cpp: In static member function ‘static void SignOn::IdentityImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
moc_identityimpl.cpp:98:58: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
moc_identityimpl.cpp:98:58: error: expected ‘>’ before ‘QDBusError’
moc_identityimpl.cpp:98:58: error: expected ‘(’ before ‘QDBusError’
moc_identityimpl.cpp:98:70: error: expected primary-expression before ‘)’ token
moc_identityimpl.cpp:98:70: error: ‘QDBusError’ was not declared in this scope
moc_identityimpl.cpp:125:62: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
moc_identityimpl.cpp:125:62: error: expected ‘>’ before ‘QDBusObjectPath’
moc_identityimpl.cpp:125:62: error: expected ‘(’ before ‘QDBusObjectPath’
moc_identityimpl.cpp:125:79: error: expected primary-expression before ‘)’ token
moc_identityimpl.cpp:125:79: error: ‘QDBusObjectPath’ was not declared in this scope
moc_identityimpl.cpp:126:62: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
moc_identityimpl.cpp:126:62: error: expected ‘>’ before ‘QDBusObjectPath’
moc_identityimpl.cpp:126:62: error: expected ‘(’ before ‘QDBusObjectPath’
moc_identityimpl.cpp:126:79: error: expected primary-expression before ‘)’ token
make[3]: *** [moc_identityimpl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/unity-base/signon-8.49_p0_p02/work/signon-8.49-build_qt4/lib/SignOn'
make[2]: *** [sub-libsignon-qt-shared-pro-make_default-ordered] Error 2
make[2]: Leaving directory `/var/tmp/portage/unity-base/signon-8.49_p0_p02/work/signon-8.49-build_qt4/lib/SignOn'
make[1]: *** [sub-SignOn-make_default-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/unity-base/signon-8.49_p0_p02/work/signon-8.49-build_qt4/lib'
make: *** [sub-lib-make_default-ordered] Error 2
* ERROR: unity-base/signon-8.49_p0_p02 failed (compile phase):
* emake failed
|
|
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
Posted: Thu Aug 08, 2013 9:23 am Post subject: |
|
|
Hi sjorna!
Can you pastebin a full build.log ?
What is your current GCC profile set to (gcc-config -l) ?
What is the output of: |
|
Back to top |
|
|
sjorna n00b
Joined: 29 Nov 2006 Posts: 71 Location: New South Wales, Australia
|
Posted: Sat Aug 10, 2013 12:39 pm Post subject: |
|
|
shiznix wrote: | Hi sjorna!
Can you pastebin a full build.log ?
What is your current GCC profile set to (gcc-config -l) ?
What is the output of: |
Sorry for the late reply - I've been a bit busy of late...
In the end, I'm not sure what caused this - it was a day or two before I could get back to look at this, and when I did the machine had been rebooted and I resync'd portage, so it could have been a particular lib that hadn't loaded, or a fresh view of portage, or something else...
Dealing with other issues now, but slowly (slowly) progressing...
Thanks for the reply though! |
|
Back to top |
|
|
|
|
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
|
|