^~~~~~~~~ gtkmathview_common.cc: In function ‘gint gtk_math_view_button_release_event(GtkWidget*, GdkEventButton*)’: gtkmathview_common.cc:912:50: error: call of overloaded ‘abs(guint32)’ is ambiguous abs(math_view->button_press_time - event->time) <= CLICK_TIME_RANGE) ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:75:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop-plasma_test_20171129-200748 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python3.5 (fallback) [4] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv x11-libs/gtkmathview [ebuild N ] x11-libs/gtkmathview-0.8.0-r3 USE="gtk svg -mathml -t1lib"
Created attachment 507578 [details] emerge-info.txt
Created attachment 507580 [details] emerge-history.txt
Created attachment 507582 [details] environment
Created attachment 507584 [details] etc.portage.tbz2
Created attachment 507586 [details] logs.tbz2
Created attachment 507588 [details] temp.tbz2
Created attachment 507590 [details] x11-libs:gtkmathview-0.8.0-r3:20171201-214948.log
Created attachment 510310 [details, diff] This patch seems to work for me
(In reply to David Haller from comment #8) > Created attachment 510310 [details, diff] [details, diff] > This patch seems to work for me Confirmed for gcc-7.2.0 on ~amd64 (adding to existing patch set in gtkmathview's $FILESDIR). Previously compiled OK with gcc-6.4.0.
(In reply to David Haller from comment #8) > Created attachment 510310 [details, diff] [details, diff] > This patch seems to work for me The patch worked for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4a31551c1ab5081d8f0a3f5684549eea0de6ce commit 8e4a31551c1ab5081d8f0a3f5684549eea0de6ce Author: David Seifert <soap@gentoo.org> AuthorDate: 2018-01-11 10:34:51 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2018-01-11 10:35:42 +0000 x11-libs/gtkmathview: Fix building with GCC 7 Closes: https://bugs.gentoo.org/639448 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../gtkmathview/files/gtkmathview-0.8.0-gcc7.patch | 22 ++++++++++++++++++++++ x11-libs/gtkmathview/gtkmathview-0.8.0-r3.ebuild | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-)