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

Bug 773913

Summary: media-libs/libcaca-0.99_beta19-r3 (install phase failed) java/libjava.jar does not exist or is not a file
Product: Gentoo Linux Reporter: email200202
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=508564
https://bugs.gentoo.org/show_bug.cgi?id=786807
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge -pqv '=media-libs/libcaca-0.99_beta19-r3::gentoo'
emerge --info '=media-libs/libcaca-0.99_beta19-r3::gentoo'

Description email200202 2021-03-02 04:55:07 UTC
* Messages for package media-libs/libcaca-0.99_beta19-r3:

 * ERROR: media-libs/libcaca-0.99_beta19-r3::gentoo failed (install phase):
 *   java/libjava.jar does not exist or is not a file!
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_install
 *   environment, line 4801:  Called multilib-minimal_src_install
 *   environment, line 3830:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 4063:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 3717:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 3715:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  630:  Called multilib-minimal_abi_src_install
 *   environment, line 3820:  Called multilib_src_install
 *   environment, line 4297:  Called java-pkg_newjar 'java/libjava.jar'
 *   environment, line 3230:  Called die
 * The specific snippet of code:
 *       [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist or is not a file!";
 * 


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
Failed

Expected Results:  
Not fail
Comment 1 email200202 2021-03-02 04:55:55 UTC
Created attachment 688965 [details]
build.log
Comment 2 email200202 2021-03-02 04:57:04 UTC
Created attachment 688968 [details]
emerge -pqv '=media-libs/libcaca-0.99_beta19-r3::gentoo'
Comment 3 email200202 2021-03-02 04:58:13 UTC
Created attachment 688971 [details]
emerge --info '=media-libs/libcaca-0.99_beta19-r3::gentoo'
Comment 4 email200202 2021-03-02 05:07:57 UTC
If "java" use flag is disabled, the package can be built successfully. This is a workaround for the time being.
Comment 5 Larry the Git Cow gentoo-dev 2021-03-02 05:47:35 UTC
The bug has been closed via the following commit(s):

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

commit 4e71addf57cddd7cbb56da04b29bcf913eece71c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-02 05:46:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-02 05:47:11 +0000

    profiles: mask media-libs/libcaca[java, mono]
    
    Completely broken - and was in the past. Exposed by
    having a new ebuild in ~arch rather than anything else.
    
    Bug: https://bugs.gentoo.org/483372
    Bug: https://bugs.gentoo.org/508564
    Closes: https://bugs.gentoo.org/773913
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/base/package.use.mask   | 9 ++++++++-
 profiles/base/package.use.stable.mask | 7 -------
 2 files changed, 8 insertions(+), 8 deletions(-)