Thanks
Code: Select all
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.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/10.1.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
make: *** Waiting for unfinished jobs....
* 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/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=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.7_p10"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =swt-4.10
Code: Select all
emerge --info '=dev-java/swt-4.10::gentoo'
Portage 2.3.99 (python 3.6.10-final-0, default/linux/amd64/17.0, gcc-10.1.0, glibc-2.31-r3, 5.6.13-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.6.13-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-3317U_CPU_@_1.70GHz-with-gentoo-2.7
KiB Mem: 8038296 total, 2442780 free
KiB Swap: 10751996 total, 10558928 free
Timestamp of repository gentoo: Thu, 18 Jun 2020 19:00:01 +0000
Head commit of repository gentoo: 4a296af6c55387f762e27516759724a053fa5a32
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash: 5.0_p17::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.30.2::gentoo
dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo
dev-util/cmake: 3.17.2::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.18::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2::gentoo
sys-devel/binutils: 2.34::gentoo
sys-devel/gcc: 10.1.0::gentoo
sys-devel/gcc-config: 2.2.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.31-r3::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
crossdev
location: /usr/local/portage-crossdev
masters: gentoo
priority: 10
0x4d4c
location: /var/lib/layman/0x4d4c
sync-type: laymansync
sync-uri: https://github.com/0x4d4c/gentoo-overlay.git
masters: gentoo
priority: 50
mva
location: /var/lib/layman/mva
sync-type: laymansync
sync-uri: https://github.com/msva/mva-overlay
masters: gentoo
priority: 50
pentoo
location: /var/lib/layman/pentoo
sync-type: laymansync
sync-uri: https://github.com/pentoo/pentoo-overlay.git
masters: gentoo
priority: 50
torbrowser
location: /var/lib/layman/torbrowser
sync-type: laymansync
sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe -fstack-protector-strong"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=1.5"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X acl aio alsa alsa-plugin amd64 apng autotype berkdb blink bluetooth bluray brain browser bzip2 cairo cli context corefonts crypt cups dbus dri egl eglfs elogind fading-colors ffmpegthumbnailer flac fontconfig fortran gallium gdbm gentoo-vm gles gnutls graph graphite gtk gui iconv icu ipv6 javafx jpeg jpeg2k lame lapack libass librtmp libtirpc lz4 lzma lzo minizip mp3 multilib ncat ncurses ndiff network nls nptl opengl openmp openssl pam pango pcre pcre16 perl pixbuf png postproc pulseaudio python readline rtmp rubberband sdl sdl2 seccomp secure-delete socks5 split-usr sqlite squashfs srt ssh ssl static-libs sync-plugin-portage tcpd text threads truetype unicode unicode3 v4l vaapi webp widgets x264 x265 xattr xcb xft xkb xmlrpc xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon ptp ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM AVR Mips AMDGPU BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Code: Select all
cat /var/tmp/portage/dev-java/swt-4.10/temp/build.log
* 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: openjdk-bin-11
>>> 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 -j5 -s -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`'
* Building SWT library
make -j5 -s -f make_linux.mak NO_STRIP=y CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ make_swt
In file included from os.h:437,
from os_structs.h:19,
from os.c:20:
os_custom.h:1: warning: "g_thread_supported" redefined
1 | #define g_thread_supported() 1
|
In file included from /usr/include/glib-2.0/glib.h:111,
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/deprecated/gthread.h:270: note: this is the location of the previous definition
270 | #define g_thread_supported() (1) GLIB_DEPRECATED_MACRO_IN_2_32
|
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);
| ^~~~~~~~~~~~~~~~~
In file included from os.h:437,
from os_structs.h:19,
from os_structs.c:20:
os_custom.h:1: warning: "g_thread_supported" redefined
1 | #define g_thread_supported() 1
|
In file included from /usr/include/glib-2.0/glib.h:111,
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_structs.c:20:
/usr/include/glib-2.0/glib/deprecated/gthread.h:270: note: this is the location of the previous definition
270 | #define g_thread_supported() (1) GLIB_DEPRECATED_MACRO_IN_2_32
|
In file included from os.h:437,
from os_structs.h:19,
from os_custom.c:17:
os_custom.h:1: warning: "g_thread_supported" redefined
1 | #define g_thread_supported() 1
|
In file included from /usr/include/glib-2.0/glib.h:111,
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_custom.c:17:
/usr/include/glib-2.0/glib/deprecated/gthread.h:270: note: this is the location of the previous definition
270 | #define g_thread_supported() (1) GLIB_DEPRECATED_MACRO_IN_2_32
|
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:22,
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:1308:10: note: declared here
1308 | void g_type_class_add_private (gpointer g_class,
| ^~~~~~~~~~~~~~~~~~~~~~~~
os_custom.c: In function ‘swt_fixed_init’:
os_custom.c:397:13: warning: Deprecated pre-processor symbol, replace with
397 | priv = widget->priv = G_TYPE_INSTANCE_GET_PRIVATE (widget, SWT_TYPE_FIXED, SwtFixedPrivate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.c: In function ‘Java_org_eclipse_swt_internal_gtk_GTK__1gtk_1status_1icon_1get_1geometry’:
os_custom.c: In function ‘swt_fixed_accessible_init’:
os_custom.c:1195:13: warning: Deprecated pre-processor symbol, replace with
1195 | accessible->priv = G_TYPE_INSTANCE_GET_PRIVATE (accessible, SWT_TYPE_FIXED_ACCESSIBLE, SwtFixedAccessiblePrivate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:22,
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:1308:10: note: declared here
1308 | void g_type_class_add_private (gpointer g_class,
| ^~~~~~~~~~~~~~~~~~~~~~~~
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,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.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/10.1.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
make: *** Waiting for unfinished jobs....
* 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/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=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.7_p10"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =swt-4.10
