public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Compilation failed: qtwidgets-5.9.2
@ 2017-10-08  9:28 tuxic
  2017-10-09 10:23 ` David Haller
  2017-10-09 13:22 ` [gentoo-user] " Michael Palimaka
  0 siblings, 2 replies; 3+ messages in thread
From: tuxic @ 2017-10-08  9:28 UTC (permalink / raw
  To: Gentoo

Hi,

compilation of qtwidgets failed.
Is there a dependency currently missing in the ebuild?


x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -shared -o libqgtk3.so .obj/main.o .obj/qgtk3dialoghelpers.o .obj/qgtk3menu.o .obj/qgtk3theme.o .obj/moc_qgtk3dialoghelpers.o .obj/moc_qgtk3menu.o  -lQt5ThemeSupport -lQt5Gui -lQt5Core -lGL -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -lX11 -lm
.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformMenuBar() const'
.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformSystemTrayIcon() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function ResourceHelper::clear(): error: undefined reference to 'operator delete(void*, unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function ResourceHelper::clear(): error: undefined reference to 'operator delete(void*, unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function QtMetaTypePrivate::IteratorOwnerCommon<QList<QSize>::const_iterator>::destroy(void**): error: undefined reference to 'operator delete(void*, unsigned long)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function QGnomeThemePrivate::~QGnomeThemePrivate(): error: undefined reference to 'operator delete(void*, unsigned long)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:138: ../../../../plugins/platformthemes/libqgtk3.so] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2/src/plugins/platformthemes/gtk3'
make: *** [Makefile:45: sub-gtk3-make_first] Error 2
 * ERROR: dev-qt/qtwidgets-5.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwidgets-5.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwidgets-5.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2/src/plugins/platformthemes'
 * S: '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2'

Cheers
Meino




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Compilation failed: qtwidgets-5.9.2
  2017-10-08  9:28 [gentoo-user] Compilation failed: qtwidgets-5.9.2 tuxic
@ 2017-10-09 10:23 ` David Haller
  2017-10-09 13:22 ` [gentoo-user] " Michael Palimaka
  1 sibling, 0 replies; 3+ messages in thread
From: David Haller @ 2017-10-09 10:23 UTC (permalink / raw
  To: gentoo-user

Hello,

On Sun, 08 Oct 2017, tuxic@posteo.de wrote:
>compilation of qtwidgets failed.
>Is there a dependency currently missing in the ebuild?

Nope. Broken code from upstream. The usual thinking: "nobody will
compile stuff without dbus". But I do. And you seem to as well. I
guess it's actually dev-qt/qtgui with "-dbus" useflag.

>x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -shared -o libqgtk3.so .obj/main.o .obj/qgtk3dialoghelpers.o .obj/qgtk3menu.o .obj/qgtk3theme.o .obj/moc_qgtk3dialoghelpers.o .obj/moc_qgtk3menu.o  -lQt5ThemeSupport -lQt5Gui -lQt5Core -lGL -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -lX11 -lm
>.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformMenuBar() const'
>.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformSystemTrayIcon() const'
[..]

There's some #ifdefs lacking around that stuff, as the code where
e.g. 'QGnomeTheme::createPlatformMenuBar' is implemented, is inside
#ifndef QT_NO_DBUS.

Easy way out if you're not depend on gtk-themes in Qt:

    USE="-gtk" emerge dev-qt/qtwidgets

(and/or put that useflag in /etc/portage/package.use)

Actually, 5.6.2 had a 'gtkstyle' useflag and no "*gtk*" is in
the 5.7.1.ebuild.

Also, it'll probably work if you reemerge dev-qt/qtgui with "dbus"
useflag.

HTH,
-dnh

-- 
"Microsoft admitted its Vista operating system was a 'less good
product' in what IT experts have described as the most ambitious
understatement since the captain of the Titanic reported some
slightly damp tablecloths." http://www.thedailymash.co.uk/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Compilation failed: qtwidgets-5.9.2
  2017-10-08  9:28 [gentoo-user] Compilation failed: qtwidgets-5.9.2 tuxic
  2017-10-09 10:23 ` David Haller
@ 2017-10-09 13:22 ` Michael Palimaka
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Palimaka @ 2017-10-09 13:22 UTC (permalink / raw
  To: gentoo-user

Hi,

Thanks for testing 5.9.2, it's definitely appreciated. I'm sorry you ran
into a build failure.

On 10/08/2017 08:28 PM, tuxic@posteo.de wrote:
> Hi,
> 
> compilation of qtwidgets failed.
> Is there a dependency currently missing in the ebuild?
> 
> 
> x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -shared -o libqgtk3.so .obj/main.o .obj/qgtk3dialoghelpers.o .obj/qgtk3menu.o .obj/qgtk3theme.o .obj/moc_qgtk3dialoghelpers.o .obj/moc_qgtk3menu.o  -lQt5ThemeSupport -lQt5Gui -lQt5Core -lGL -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -lX11 -lm
> .obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformMenuBar() const'
> .obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformSystemTrayIcon() const'
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function ResourceHelper::clear(): error: undefined reference to 'operator delete(void*, unsigned long)'
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function ResourceHelper::clear(): error: undefined reference to 'operator delete(void*, unsigned long)'
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function QtMetaTypePrivate::IteratorOwnerCommon<QList<QSize>::const_iterator>::destroy(void**): error: undefined reference to 'operator delete(void*, unsigned long)'
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5ThemeSupport.a(qgenericunixthemes.o):function QGnomeThemePrivate::~QGnomeThemePrivate(): error: undefined reference to 'operator delete(void*, unsigned long)'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:138: ../../../../plugins/platformthemes/libqgtk3.so] Error 1
> make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2/src/plugins/platformthemes/gtk3'
> make: *** [Makefile:45: sub-gtk3-make_first] Error 2
>  * ERROR: dev-qt/qtwidgets-5.9.2::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info '=dev-qt/qtwidgets-5.9.2::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=dev-qt/qtwidgets-5.9.2::gentoo'`.
>  * The complete build log is located at '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/temp/build.log'.
>  * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/temp/environment'.
>  * Working directory: '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2/src/plugins/platformthemes'
>  * S: '/var/tmp/portage/dev-qt/qtwidgets-5.9.2/work/qtbase-opensource-src-5.9.2'
> 
> Cheers
> Meino

Please consider filing a bug at https://bugs.gentoo.org/ with emerge
--info and the full build log attached. That way, we can track the issue
better and ensure it doesn't get forgotten.

Kind regards,

Michael


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-09 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-08  9:28 [gentoo-user] Compilation failed: qtwidgets-5.9.2 tuxic
2017-10-09 10:23 ` David Haller
2017-10-09 13:22 ` [gentoo-user] " Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox