maintainer-feedback requested: [Bug 222414] www/webkit-gtk2 fails to build with gcc6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 17 20:27:31 UTC 2017


Justin Hibbits <jhibbits at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gnome at FreeBSD.org:
Bug 222414: www/webkit-gtk2 fails to build with gcc6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222414



--- Description ---
Created attachment 186487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186487&action=edit
poudriere build log

When building packages on powerpc after updating my poudriere tree to the
post-gcc6 switch, I see the following error:

Source/WebCore/platform/gtk/GtkClickCounter.cpp: In member function 'int
WebCore:
:GtkClickCounter::clickCountForGdkButtonEvent(GtkWidget*, GdkEventButton*)':
Source/WebCore/platform/gtk/GtkClickCounter.cpp:88:59: error: call of
overloaded
'abs(gdouble)' is ambiguous
	 || ((abs(buttonEvent->x - m_previousClickPoint.x()) <
doubleClickDistanc
e)
							   ^
In file included from /usr/local/lib/gcc6/include/c++/cstdlib:75:0,
		 from /usr/local/lib/gcc6/include/c++/stdlib.h:36,
		 from ./Source/WTF/wtf/FastMalloc.h:25,
		 from ./Source/JavaScriptCore/config.h:60,
		 from Source/WebCore/platform/gtk/GtkClickCounter.cpp:19:
/usr/include/stdlib.h:85:6: note: candidate: int abs(int)
 int  abs(int) __pure2;
      ^~~
In file included from /usr/local/lib/gcc6/include/c++/stdlib.h:36:0,
		 from ./Source/WTF/wtf/FastMalloc.h:25,
		 from ./Source/JavaScriptCore/config.h:60,
		 from Source/WebCore/platform/gtk/GtkClickCounter.cpp:19:
/usr/local/lib/gcc6/include/c++/cstdlib:180:3: note: candidate: long long int
std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/local/lib/gcc6/include/c++/cstdlib:172:3: note: candidate: long int
std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~

The full log is attached.


More information about the freebsd-gnome mailing list