Package: src:swt4-gtk Version: 4.13.0-1 Severity: normal Tags: sid bullseye User: [email protected] Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The severity of this report will be raised before the bullseye release, so nothing has to be done for the buster release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc10-20200225/swt4-gtk_4.13.0-1_unstable_gcc10.log The last lines of the build log are at the end of this report. To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-10/porting_to.html [...] 15058 | g_get_current_time((GTimeVal *)arg0); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, 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/glib-2.0/glib/gtypes.h:551:8: note: declared here 551 | struct _GTimeVal | ^~~~~~~~~ os_custom.c: In function ‘swt_fixed_realize’: os_custom.c:500:3: warning: ‘gtk_style_context_set_background’ is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations] 500 | 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.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS__1g_1time_1val_1add’: os.c:16050:2: warning: ‘g_time_val_add’ is deprecated [-Wdeprecated-declarations] 16050 | g_time_val_add((GTimeVal *)arg0, (glong)arg1); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:88, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, 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/glib-2.0/glib/gtimer.h:67:10: note: declared here 67 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ os.c:16050:2: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 16050 | g_time_val_add((GTimeVal *)arg0, (glong)arg1); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, 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/glib-2.0/glib/gtypes.h:551:8: note: declared here 551 | struct _GTimeVal | ^~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSWT_VERSION=4928r15 -DLINUX -DGTK -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DJNI64 `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os_stats.c cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSWT_VERSION=4928r15 -DLINUX -DGTK -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DJNI64 `pkg-config --cflags gio-2.0` -c webkitgtk.c cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSWT_VERSION=4928r15 -DLINUX -DGTK -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DJNI64 `pkg-config --cflags gio-2.0` -c webkitgtk_structs.c cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSWT_VERSION=4928r15 -DLINUX -DGTK -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DJNI64 `pkg-config --cflags gio-2.0` -c webkitgtk_stats.c cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DSWT_VERSION=4928r15 -DLINUX -DGTK -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -DJNI64 `pkg-config --cflags gio-2.0` -c webkitgtk_custom.c cc -Wl,-z,relro -Wl,-z,now -shared -fPIC -o libswt-atk-gtk-4928r15.so swt.o atk.o atk_structs.o atk_custom.o atk_stats.o -Wl,--as-needed `pkg-config --libs-only-L atk` -latk-1.0 /usr/bin/ld: atk_structs.o:./bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h:108: multiple definition of `cached_jvm'; atk.o:./bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h:108: first defined here /usr/bin/ld: atk_custom.o:./bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h:108: multiple definition of `cached_jvm'; atk.o:./bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h:108: first defined here collect2: error: ld returned 1 exit status make[2]: *** [make_linux.mak:184: libswt-atk-gtk-4928r15.so] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" -C "bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library" "-I../../../Eclipse SWT/common/library/" -f make_linux.mak make_atk make_awt make_cairo make_glx make_swt make_webkit make_swtpi returned exit code 2 make[1]: *** [debian/rules:36: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:25: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 __ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
