* Package: www-client/surf-2.0  * Repository: gentoo  * Maintainer: jer@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux savedconfig userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking surf-2.0.tar.gz to /var/tmp/portage/www-client/surf-2.0/work >>> Source unpacked in /var/tmp/portage/www-client/surf-2.0/work >>> Preparing source in /var/tmp/portage/www-client/surf-2.0/work/surf-2.0 ... * Applying surf-2.0-gentoo.patch ...  [ ok ] * Checking existence of //etc/portage/savedconfig//www-client/surf-2.0 ... * found //etc/portage/savedconfig//www-client/surf-2.0 * Building using saved configfile //etc/portage/savedconfig//www-client/surf-2.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-client/surf-2.0/work/surf-2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-client/surf-2.0/work/surf-2.0 ... make -j8 surf build options: CFLAGS = -std=c99 -pedantic -Wall -I. -I/usr/include -pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DVERSION="2.0" -DWEBEXTDIR="/usr/lib/surf" -D_DEFAULT_SOURCE x86_64-pc-linux-gnu-gcc -c -std=c99 -pedantic -Wall -I. -I/usr/include -pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DVERSION=\"2.0\" -DWEBEXTDIR=\"/usr/lib/surf\" -D_DEFAULT_SOURCE surf.c LDFLAGS = -lX11 -lgthread-2.0 -pthread -lwebkit2gtk-4.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lsoup-2.4 -lgio-2.0 -ljavascriptcoregtk-4.0 -lgobject-2.0 -lglib-2.0 CC = x86_64-pc-linux-gnu-gcc In file included from /usr/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCClass.h:37:26: warning: redefinition of typedef ‘JSCClass’ [-Wpedantic] typedef struct _JSCClass JSCClass; ^~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/JSCClass.h:29, from /usr/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCValue.h:43:26: note: previous declaration of ‘JSCClass’ was here typedef struct _JSCClass JSCClass; ^~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCClass.h:40:28: warning: redefinition of typedef ‘JSCContext’ [-Wpedantic] typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/JSCClass.h:29, from /usr/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCValue.h:44:28: note: previous declaration of ‘JSCContext’ was here typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/JSCContext.h:29, from /usr/include/webkitgtk-4.0/jsc/jsc.h:26, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCException.h:43:28: warning: redefinition of typedef ‘JSCContext’ [-Wpedantic] typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCClass.h:40:28: note: previous declaration of ‘JSCContext’ was here typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/jsc.h:26, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCContext.h:43:28: warning: redefinition of typedef ‘JSCContext’ [-Wpedantic] typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from /usr/include/webkitgtk-4.0/jsc/JSCContext.h:29, from /usr/include/webkitgtk-4.0/jsc/jsc.h:26, from /usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54, from surf.c:26: /usr/include/webkitgtk-4.0/jsc/JSCException.h:43:28: note: previous declaration of ‘JSCContext’ was here typedef struct _JSCContext JSCContext; ^~~~~~~~~~ In file included from surf.c:242: config.h:160:26: error: ‘GDK_w’ undeclared here (not in a function); did you mean ‘GDK_OK’? { MODKEY, GDK_w, spawn, WATCH }, ^~~~~ GDK_OK surf.c: In function ‘createwindow’: surf.c:1195:3: warning: ‘gtk_window_set_wmclass’ is deprecated [-Wdeprecated-declarations] gtk_window_set_wmclass(GTK_WINDOW(w), wmstr, "Surf"); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from surf.c:23: /usr/include/gtk-3.0/gtk/gtkwindow.h:154:12: note: declared here void gtk_window_set_wmclass (GtkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:18: surf.o] Error 1 * ERROR: www-client/surf-2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-client/surf-2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/surf-2.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/surf-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/surf-2.0/temp/environment'. * Working directory: '/var/tmp/portage/www-client/surf-2.0/work/surf-2.0' * S: '/var/tmp/portage/www-client/surf-2.0/work/surf-2.0'