https://bugs.gentoo.org/850913 dev-java/reflections fails to compile with dev-java/gson:2.9 (gson:2.6 is fine) ebuild reflections-0.9.12-r2.ebuild clean compile clean * reflections-0.9.12.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using: openjdk-bin-8 >>> Unpacking source... >>> Unpacking reflections-0.9.12.tar.gz to /var/tmp/portage/dev-java/reflections-0.9.12-r2/work >>> Source unpacked in /var/tmp/portage/dev-java/reflections-0.9.12-r2/work >>> Preparing source in /var/tmp/portage/dev-java/reflections-0.9.12-r2/work/reflections-0.9.12 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/reflections-0.9.12-r2/work/reflections-0.9.12 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/reflections-0.9.12-r2/work/reflections-0.9.12 ... javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/tomcat-servlet-api-2.5/lib/el-api.jar:/usr/share/tomcat-servlet-api-2.5/lib/jsp-api.jar:/usr/share/tomcat-servlet-api-2.5/lib/servlet-api.jar:/usr/share/dom4j-1/lib/dom4j.jar:/usr/share/gson-2.9/lib/gson.jar:/usr/share/javassist-3/lib/javassist.jar:/usr/share/slf4j-api/lib/slf4j-api.jar:/usr/share/slf4j-simple/lib/slf4j-simple.jar:/usr/share/jaxb-api-2/lib/jaxb-api.jar:/usr/share/xpp2/lib/PullParser.jar:/usr/share/xpp2/lib/PullParser-intf.jar:/usr/share/xpp2/lib/PullParser-standard.jar:/usr/share/xpp2/lib/PullParser-x2.jar:/usr/share/xpp3/lib/xpp3.jar:/usr/share/xsdlib/lib/xsdlib.jar:/usr/share/xerces-2/lib/xerces.jar:/usr/share/relaxng-datatype/lib/relaxng-datatype.jar:/usr/share/jakarta-activation-api-1/lib/jakarta-activation-api.jar:/usr/share/xml-commons-external-1.4/lib/xml-commons-external.jar:/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar @sources.lst src/main/java/org/reflections/serializers/JsonSerializer.java:3: error: cannot access Gson import com.google.gson.Gson; ^ bad class file: /usr/share/gson-2.9/lib/gson.jar(com/google/gson/Gson.class) class file has wrong version 55.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath. * ERROR: dev-java/reflections-0.9.12-r2::gentoo failed (compile phase): * ejavac failed emerge --info Portage 3.0.30 (python 3.9.13-final-0, default/linux/amd64/17.1/hardened, gcc-11.3.0, glibc-2.34-r13, 5.15.41-gentoo x86_64) ================================================================= System uname: Linux-5.15.41-gentoo-x86_64-Intel-R-_Core-TM-_i7-10750H_CPU_@_2.60GHz-with-glibc2.34 KiB Mem: 16303024 total, 3084056 free KiB Swap: 8388604 total, 8385020 free Timestamp of repository gentoo: Mon, 20 Jun 2022 06:45:01 +0000 Head commit of repository gentoo: 03c7a446b67b37dcb0eb42278151cdd645fc301d Head commit of repository pentoo: a6853cf07c6e337f78e6828f7671cd908b2a2f26 Timestamp of repository steam-overlay: Sun, 12 Jun 2022 09:02:56 +0000 Head commit of repository steam-overlay: 23a727b7f9d868134563b44dcf4ebba5dd46b5a2 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.9.13::gentoo, 3.10.4::gentoo dev-lang/rust-bin: 1.60.0::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 14.0.4::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.jp.gentoo.org/gentoo-portage/ priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes localrepo location: /var/db/repos/localrepo masters: gentoo pentoo location: /var/db/repos/pentoo-overlay sync-type: git sync-uri: https://github.com/pentoo/pentoo-overlay masters: gentoo steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/unifi" 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="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build" ENV_UNSET="CARGO_HOME 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="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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="-march=native -O2 -pipe" GENTOO_MIRRORS="https://ftp.iij.ad.jp/pub/linux/gentoo/" INSTALL_MASK="*.la" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LINGUAS="en ru" MAKEOPTS="-j12" PKGDIR="/var/cache/binpkgs" PORTAGE_BINHOST="https://pentoo.emjay-embedded.co.uk/Packages/amd64_r1-hardened/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times" 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" SHELL="/bin/bash"
eselect java-vm list Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f221c72f1b42e3d482a4fdfaa3705c5f6f1015c commit 3f221c72f1b42e3d482a4fdfaa3705c5f6f1015c Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-06-20 08:23:02 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-06-29 09:19:18 +0000 dev-java/reflections: lift to >=virtual/jdk-11:* Bug: https://bugs.gentoo.org/853136 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25993 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-java/reflections/reflections-0.9.12-r3.ebuild | 99 +++++++++++++++++++++++ 1 file changed, 99 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e76dd596da83e9531ffff5ddd3c24b3d92ffb83 commit 0e76dd596da83e9531ffff5ddd3c24b3d92ffb83 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-07-17 21:50:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-28 09:10:14 +0000 dev-java/reflections: remove version depending on an unneeded gson slot Closes: https://bugs.gentoo.org/853136 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/26457 Signed-off-by: Sam James <sam@gentoo.org> dev-java/reflections/reflections-0.9.12-r3.ebuild | 99 ----------------------- 1 file changed, 99 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95552ad8f808583da0afb128caa4be3c26e9517b commit 95552ad8f808583da0afb128caa4be3c26e9517b Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-07-17 21:15:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-28 09:10:13 +0000 dev-java/gson: change slot for version 2.9.0 back to slot 2.6 Conditionally excluding the test class failing with java 17 allows returning to RDEPEND=">=virtual/jre-1.8:*" which makes this version compatible with reverse dependencies, so it can use the existing slot 2.6. Bug: https://bugs.gentoo.org/853136 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org> dev-java/gson/gson-2.9.0-r2.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)