Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 716220

Summary: dev-java/gwt-2.8.2 fails tests: [gwt.javac] /.../JDK15TagFactory.java):507: error: [GetClassOnAnnotation] Calling getClass() on an ann
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mark Wright <gienah>
Status: RESOLVED FIXED    
Severity: normal CC: java
Priority: Normal Keywords: PullRequest, TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20222
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-java:gwt-2.8.2:20200404-172759.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-04 18:59:56 UTC
    [mkdir] Created dir: /var/tmp/portage/dev-java/gwt-2.8.2/work/gwt-2.8.2/build/out/user/bin-test
[gwt.javac] Compiling 1676 source files to /var/tmp/portage/dev-java/gwt-2.8.2/work/gwt-2.8.2/build/out/user/bin-test
[gwt.javac] /var/tmp/portage/dev-java/gwt-2.8.2/work/tools-f42d2729a3a8e6ba9b9aec069957bce5dc0f6f6d/lib/testng/testng-5.14.1-sources.jar(/org/testng/internal/annotations/JDK15TagFactory.java):507: error: [GetClassOnAnnotation] Calling getClass() on an annotation may return a proxy class
[gwt.javac]       Method m = test.getClass().getMethod(methodName, new Class[0]);
[gwt.javac]                               ^
[gwt.javac]     (see http://errorprone.info/bugpattern/GetClassOnAnnotation)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl_test-20200327-211737

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 04 Apr 2020 05:07:58 PM UTC
/var/db/repos/libressl	Fri 03 Apr 2020 07:10:10 PM UTC

emerge -qpvO dev-java/gwt
[ebuild  N    ] dev-java/gwt-2.8.2  USE="-source"
Comment 1 Toralf Förster gentoo-dev 2020-04-04 18:59:58 UTC
Created attachment 630108 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 19:00:03 UTC
Created attachment 630110 [details]
dev-java:gwt-2.8.2:20200404-172759.log
Comment 3 Toralf Förster gentoo-dev 2020-04-04 19:00:07 UTC
Created attachment 630112 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-04 19:00:09 UTC
Created attachment 630114 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-04 19:00:13 UTC
Created attachment 630116 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-04 19:00:16 UTC
Created attachment 630118 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-11 09:51:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc67cd13dc32e350a03f875ce56dcd7b4e84510e

commit cc67cd13dc32e350a03f875ce56dcd7b4e84510e
Author:     Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
AuthorDate: 2021-04-01 20:51:37 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-06-11 09:51:07 +0000

    dev-java/gwt: bump to 2.9.0
    
    This resolves the two bugs references below, but does not close them
    since they still exist in the older version of this ebuild.
    
    Bug: https://bugs.gentoo.org/762619
    Bug: https://bugs.gentoo.org/716220
    Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20222
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/gwt/Manifest                              |  2 +
 .../gwt/files/gwt-2.9.0-jsinterop-classpath.patch  | 20 +++++
 .../gwt/files/gwt-2.9.0-remove-git-usage.patch     | 26 ++++++
 dev-java/gwt/gwt-2.9.0.ebuild                      | 96 ++++++++++++++++++++++
 4 files changed, 144 insertions(+)
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 10:00:08 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 Volkmar W. Pogatzki 2022-06-20 15:15:40 UTC
Affected version was dropped with f33b3483a90cc9b84c7a92d933994669da218e30. Closing.