Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657692 - dev-java/guava-20.0:20 failed to compile
Summary: dev-java/guava-20.0:20 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-06-10 05:40 UTC by Bernd Martin Wollny
Modified: 2022-06-17 13:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge info (emerge-info-1.lst,6.29 KB, text/plain)
2018-06-10 05:40 UTC, Bernd Martin Wollny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Martin Wollny 2018-06-10 05:40:19 UTC
Created attachment 535422 [details]
Emerge info

On one of my PCs dev-java/guava-20.0:20 is in the dependency tree of libreoffice. 

I try to find out why .. 

The compilation will fails always, not depending which jdk I am using 

 eselect java-vm list 
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   oracle-jdk-bin-1.8  system-vm
  [3]   oracle-jre-bin-1.8 

* Package:    dev-java/guava-20.0
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
 * Using: oracle-jdk-bin-1.8
>>> Unpacking source...
>>> Unpacking guava-20.0.tar.gz to /var/tmp/portage/dev-java/guava-20.0/work
>>> Source unpacked in /var/tmp/portage/dev-java/guava-20.0/work
>>> Preparing source in /var/tmp/portage/dev-java/guava-20.0/work/guava-20.0/guava ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/guava-20.0/work/guava-20.0/guava ...
!!! ERROR: Package j2objc-annotations was not found!
 * ERROR: dev-java/guava-20.0::gentoo failed (configure phase):
 *   java-config --classpath=j2objc-annotations failed
 * 

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

the Version of j2objc-annotations is pretty old
Comment 1 Bernd Martin Wollny 2018-06-10 06:02:56 UTC
anding USE=objc i solving the problem

I think you have to fix the useflags
Comment 2 Larry the Git Cow gentoo-dev 2022-06-17 13:50:24 UTC
The bug has been closed via the following commit(s):

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

commit 33275e7369fbcc1bb980d6f5e81d3e91e450a614
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-06-17 11:43:29 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-06-17 13:50:13 +0000

    dev-java/guava: drop 20.0, 20.0-r1
    
    Closes: https://bugs.gentoo.org/833309
    Closes: https://bugs.gentoo.org/657692
    Bug: https://bugs.gentoo.org/760111
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/25940
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-java/guava/Manifest             |  1 -
 dev-java/guava/guava-20.0-r1.ebuild | 36 ------------------------------------
 dev-java/guava/guava-20.0.ebuild    | 36 ------------------------------------
 3 files changed, 73 deletions(-)