* Package: dev-java/swt-4.10 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 cairo elibc_glibc kernel_linux opengl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: icedtea-bin-8 >>> Unpacking source... >>> Unpacking ./src.zip to /var/tmp/portage/dev-java/swt-4.10/work >>> Source unpacked in /var/tmp/portage/dev-java/swt-4.10/work >>> Preparing source in /var/tmp/portage/dev-java/swt-4.10/work ... * Applying swt-4.10-as-needed-and-flag-fixes.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/swt-4.10/work ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/swt-4.10/work ... * Building AWT library make -j1 -f make_linux.mak NO_STRIP=y CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ make_awt 'AWT_LIBS=-L$(AWT_LIB_PATH) -Wl,-rpath,$(AWT_LIB_PATH) -ljawt `pkg-config --libs x11`' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 -c -o swt_awt.o swt_awt.c x86_64-pc-linux-gnu-gcc -fPIC -Wl,-O1 -Wl,--as-needed -shared -o libswt-awt-gtk-4922r32.so swt_awt.o -L/opt/icedtea-bin-3.14.0/jre/lib/amd64 -Wl,-rpath,/opt/icedtea-bin-3.14.0/jre/lib/amd64 -ljawt `pkg-config --libs x11` * Building SWT library make -j1 -f make_linux.mak NO_STRIP=y CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ make_swt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 -c swt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 -c -o c.o c.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 -c -o c_stats.o c_stats.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 -DUSE_ASSEMBLER -c callback.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -fPIC -o libswt-gtk-4922r32.so swt.o c.o c_stats.o callback.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os.c os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GDK__1gdk_1window_1set_1background_1pattern’: os.c:2724:2: warning: ‘gdk_window_set_background_pattern’ is deprecated [-Wdeprecated-declarations] 2724 | gdk_window_set_background_pattern((GdkWindow *)arg0, (cairo_pattern_t *)arg1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gdk/gdkwindow.h:790:12: note: declared here 790 | void gdk_window_set_background_pattern (GdkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GDK_gdk_1threads_1leave’: os.c:3004:2: warning: ‘gdk_threads_leave’ is deprecated [-Wdeprecated-declarations] 3004 | gdk_threads_leave(); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gdk/gdkthreads.h:48:10: note: declared here 48 | void gdk_threads_leave (void); | ^~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1get_1geometry’: os.c:8965:2: warning: ‘gtk_status_icon_get_geometry’ is deprecated [-Wdeprecated-declarations] 8965 | rc = (jboolean)gtk_status_icon_get_geometry((GtkStatusIcon*)arg0, (GdkScreen**)arg1, (GdkRectangle*)lparg2, (GtkOrientation*)arg3); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:166:23: note: declared here 166 | gboolean gtk_status_icon_get_geometry (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1get_1visible’: os.c:8979:2: warning: ‘gtk_status_icon_get_visible’ is deprecated [-Wdeprecated-declarations] 8979 | rc = (jboolean)gtk_status_icon_get_visible((GtkStatusIcon*)arg0); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:154:23: note: declared here 154 | gboolean gtk_status_icon_get_visible (GtkStatusIcon *status_icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1new’: os.c:8991:2: warning: ‘gtk_status_icon_new’ is deprecated [-Wdeprecated-declarations] 8991 | rc = (jintLong)gtk_status_icon_new(); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:84:23: note: declared here 84 | GtkStatusIcon *gtk_status_icon_new (void); | ^~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1set_1from_1pixbuf’: os.c:9014:2: warning: ‘gtk_status_icon_set_from_pixbuf’ is deprecated [-Wdeprecated-declarations] 9014 | gtk_status_icon_set_from_pixbuf((GtkStatusIcon*)arg0, (GdkPixbuf*)arg1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:97:23: note: declared here 97 | void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1set_1tooltip_1text’: os.c:9026:2: warning: ‘gtk_status_icon_set_tooltip_text’ is deprecated [-Wdeprecated-declarations] 9026 | gtk_status_icon_set_tooltip_text((GtkStatusIcon *)arg0, (const gchar *)lparg1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here 137 | void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1set_1visible’: os.c:9038:2: warning: ‘gtk_status_icon_set_visible’ is deprecated [-Wdeprecated-declarations] 9038 | gtk_status_icon_set_visible((GtkStatusIcon*)arg0, (gboolean)arg1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from os.h:30, from os_structs.h:19, from os.c:20: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:151:23: note: declared here 151 | void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os_structs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os_custom.c os_custom.c: In function ‘swt_fixed_class_init’: os_custom.c:344:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 344 | g_type_class_add_private (class, sizeof (SwtFixedPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from os.h:30, from os_structs.h:19, from os_custom.c:17: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here 1303 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ os_custom.c: In function ‘swt_fixed_realize’: os_custom.c:499:3: warning: ‘gtk_style_context_set_background’ is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations] 499 | gtk_style_context_set_background (gtk_widget_get_style_context (widget), window); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from os.h:30, from os_structs.h:19, from os_custom.c:17: /usr/include/gtk-3.0/gtk/gtkstylecontext.h:1232:6: note: declared here 1232 | void gtk_style_context_set_background (GtkStyleContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_custom.c: In function ‘swt_fixed_accessible_class_init’: os_custom.c:1217:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 1217 | g_type_class_add_private (klass, sizeof (SwtFixedAccessiblePrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from os.h:30, from os_structs.h:19, from os_custom.c:17: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here 1303 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DNO__1g_1thread_1init -fPIC -DSWT_VERSION=4922r32 -DLINUX -DGTK -I/opt/icedtea-bin-3.14.0/include -I/opt/icedtea-bin-3.14.0/include/linux -DJNI64 `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os_stats.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -fPIC -o libswt-pi3-gtk-4922r32.so swt.o os.o os_structs.o os_custom.o os_stats.o `pkg-config --libs-only-L gtk+-3.0 gthread-2.0` -L/usr/X11R6/lib -lgtk-3 -lgdk-3 -lcairo -lgthread-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: os_structs.o:(.bss+0xa48): multiple definition of `cached_jvm'; os.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: os_custom.o:(.bss+0x0): multiple definition of `cached_jvm'; os.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [make_linux.mak:138: libswt-pi3-gtk-4922r32.so] Error 1 * ERROR: dev-java/swt-4.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/swt-4.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/swt-4.10::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:swt-4.10:20200201-224126.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/swt-4.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/swt-4.10/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/swt-4.10/work' * S: '/var/tmp/portage/dev-java/swt-4.10/work' !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.14.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =swt-4.10