From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71EFA1396D0 for ; Mon, 9 Oct 2017 10:23:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A52F42BC043; Mon, 9 Oct 2017 10:23:37 +0000 (UTC) Received: from km35626.keymachine.de (km35626.keymachine.de [87.118.86.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 458FB2BC003 for ; Mon, 9 Oct 2017 10:23:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by km35626.keymachine.de (Postfix) with ESMTP id 85B3B112575D for ; Mon, 9 Oct 2017 12:23:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at km35626.keymachine.de. Received: from km35626.keymachine.de ([127.0.0.1]) by localhost (km35626.keymachine.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D6uNOSPyaLap for ; Mon, 9 Oct 2017 12:23:28 +0200 (CEST) Received: from grusum.endjinn.de (p3EE23AD1.dip0.t-ipconnect.de [62.226.58.209]) by km35626.keymachine.de (Postfix) with ESMTPSA id 515AA11256D8 for ; Mon, 9 Oct 2017 12:23:28 +0200 (CEST) Received: by grusum.endjinn.de (Postfix, from userid 500) id 38DB41702A3; Mon, 9 Oct 2017 12:22:54 +0200 (CEST) Date: Mon, 9 Oct 2017 12:23:20 +0200 From: David Haller To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Compilation failed: qtwidgets-5.9.2 Message-ID: <20171009102319.vwebljwosotd2jbs@grusum.endjinn.de> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20171008092839.kpckuvqpq4ctabdt@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20171008092839.kpckuvqpq4ctabdt@solfire> Organization: What? X-Clacks-Overhead: GNU Terry Pratchett User-Agent: NeoMutt/20170609 (1.8.3) X-Archives-Salt: 474514dc-79f4-4c07-90bd-6c257d406bf0 X-Archives-Hash: f84142041a4c836698411687db50a053 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/