Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622488 - dev-java/ecj-gcj-4.4.2 failed to compile without +gcj on sys-devel/gcc-6.3.0
Summary: dev-java/ecj-gcj-4.4.2 failed to compile without +gcj on sys-devel/gcc-6.3.0
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks:
 
Reported: 2017-06-22 22:52 UTC by Matthew Marchese
Modified: 2021-08-19 00:55 UTC (History)
0 users

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


Attachments
build log (file_622488.txt,2.14 KB, text/plain)
2017-06-23 17:21 UTC, Matthew Marchese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marchese Gentoo Infrastructure gentoo-dev 2017-06-22 22:52:25 UTC
Just as stated above: dev-java/ecj-gcj-4.4.2 failed to compile without +gcj on sys-devel/gcc.

The dev-java/ecj-gcj-4.4.2 should require sys-devel/gcc-6.3.0 to be built with gcj support.

Looks like the attempted glob is not actually globbing (from ecj-gcj-4.4.2.ebuild):

RDEPEND="sys-devel/gcc:*[gcj]
    app-eselect/eselect-java"


Reproducible: Always

Steps to Reproduce:
1. Get GCC 6.3.0.
2. Emerge binary java (dev-java/oracle-jdk-bin) so that ant-core can build.
3. Try to emerge dev-java/icedtea-7.2.6.10. This will fail once it gets to dev-java/ecj-gcj-4.4.2.
Actual Results:  
dev-java/icedtea-7.2.6.10 is not installed; build fails on dev-java/ecj-gcj-4.4.2.

Expected Results:  
dev-java/icedtea-7.2.6.10 is installed.
Comment 1 Matthew Marchese Gentoo Infrastructure gentoo-dev 2017-06-23 17:21:13 UTC
Created attachment 477716 [details]
build log
Comment 2 James Le Cuirot gentoo-dev 2017-06-25 08:26:32 UTC
This can't be fixed, short of putting a die in pkg_pretend. Now that the new profiles require at least GCC 6 then I guess we need to throw anything depending on gcj in the fire right now. That's going to upset some people but there's not much else we can do, it has to happen sooner or later. I don't know how long gcj support is going to stay in toolchain.eclass but I need to speak to gnu_andrew about the possibility of no longer allowing icedtea to be built it.
Comment 3 Matthew Marchese Gentoo Infrastructure gentoo-dev 2021-08-19 00:55:14 UTC
This bug is no longer relevant, so it can be closed. Thanks, chewi, for the help all those years ago.