Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

kde-apps/umbrello-18.08.3 build failure: what is wrong?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
hujuice
Guru
Guru
User avatar
Posts: 354
Joined: Tue Oct 16, 2007 12:57 pm
Location: Nicosia, Cyprus

kde-apps/umbrello-18.08.3 build failure: what is wrong?

  • Quote

Post by hujuice » Mon Feb 11, 2019 6:58 pm

The full (pretty big) build log is at https://gist.github.com/hujuice/67058f8 ... 55b064e56c
(You can also find there a grep -n filter for error and warning, to move in the 2517 lines.)

The failure(s) depend on namespaces or undeclared variables, but I don't understand how to investigate.

The first error is at line 2375 (and following). The line is huge and the error itself is too much to be reported here. Here's the initial part:

Code: Select all

In file included from /usr/include/qt5/QtCore/qobject.h:54:0,
                 from /usr/include/qt5/QtCore/qiodevice.h:45,
                 from /usr/include/qt5/QtCore/qtextstream.h:43,
                 from /usr/include/qt5/QtCore/qdebug.h:49,
                 from /usr/include/qt5/QtCore/qloggingcategory.h:44,
                 from /usr/include/qt5/QtCore/QLoggingCategory:1,
                 from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/debug/debug_utils.h:32,
                 from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/main.cpp:12:
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: specialization of ‘template<class T> struct QMetaTypeId’ in different namespace [-
fpermissive]
 Q_DECLARE_METATYPE(KAboutData)
 ^
/usr/include/qt5/QtCore/qmetatype.h:1626:8: note:   from definition of ‘template<class T> struct QMetaTypeId’
 struct QMetaTypeId : public QMetaTypeIdQObject<T>
        ^~~~~~~~~~~
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: explicit specialization of ‘template<class T> struct QMetaTypeId’ outside its namespace must use a nested-name-specifier [-fpermissive]
 Q_DECLARE_METATYPE(KAboutData)
 ^
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: definition of ‘static int QMetaTypeId<dummy::KAboutData>::qt_metatype_id()’ is not in namespace enclosing ‘QMetaTypeId<dummy::KAboutData>’ [-fpermissive]
 Q_DECLARE_METATYPE(KAboutData)
 ^
/usr/include/KF5/KCoreAddons/kaboutdata.h: In static member function ‘static int QMetaTypeId<dummy::KAboutData>::qt_metatype_id()’:
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: error: ‘KAboutData’ was not declared in this scope
 Q_DECLARE_METATYPE(KAboutData)
 ^
/usr/include/KF5/KCoreAddons/kaboutdata.h:1173:1: note: suggested alternative:
In file included from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/main.cpp:23:0:
/usr/include/KF5/KCoreAddons/kaboutdata.h:408:26: note:   ‘dummy::KAboutData’
 class KCOREADDONS_EXPORT KAboutData
                          ^~~~~~~~~~
The first warning, before and with a similar "flavour", is at 1743. Again, the line is huge and the message is :

Code: Select all

/var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp: In member function ‘QString CodeGenerator::findFileName(CodeDocument*)’:
/var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp:607:22: warning: ignoring return value of ‘QString QString::simplified() const &’, declared with attribute nodiscard [-Wunused-result]
     name.simplified();
                      ^
In file included from /usr/include/qt5/QtGui/qfont.h:45:0,
                 from /usr/include/qt5/QtGui/QFont:1,
                 from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/basictypes.h:24,
                 from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.h:15,
                 from /var/tmp/portage/kde-apps/umbrello-18.08.3/work/umbrello-18.08.3/umbrello/codegenerators/codegenerator.cpp:13:
/usr/include/qt5/QtCore/qstring.h:439:31: note: declared here
     Q_REQUIRED_RESULT QString simplified() const &
                               ^~~~~~~~~~
Is anyone able to understand what's happening?

Thanks to everybody,
HUjuice
Those who lack character must at least have a method.
Chi non ha carattere, deve pur avere un metodo.
Top
hujuice
Guru
Guru
User avatar
Posts: 354
Joined: Tue Oct 16, 2007 12:57 pm
Location: Nicosia, Cyprus

  • Quote

Post by hujuice » Sat Feb 16, 2019 8:59 am

Resolved by attempt building again kde-frameworks/kcoreaddons, dev-qt/qtcore and dev-qt/qtgui
Not the best way to understand a problem. No idea about the reasons.
HUjuice
Those who lack character must at least have a method.
Chi non ha carattere, deve pur avere un metodo.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Feb 16, 2019 9:02 am

This was fixed in umbrello itself. https://bugs.gentoo.org/677868
Top
hujuice
Guru
Guru
User avatar
Posts: 354
Joined: Tue Oct 16, 2007 12:57 pm
Location: Nicosia, Cyprus

  • Quote

Post by hujuice » Sat Feb 16, 2019 10:57 am

asturm wrote:This was fixed in umbrello itself. https://bugs.gentoo.org/677868
Well, I didn't check the bugzilla anymore, and I should.

Thanks,
HUjuice
Those who lack character must at least have a method.
Chi non ha carattere, deve pur avere un metodo.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic