Bug 30815 - java-17-openjdk-devel from backports_testing lacks a Require for rootcerts-java
Summary: java-17-openjdk-devel from backports_testing lacks a Require for rootcerts-java
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Java Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-06 08:57 CEST by david Cossé
Modified: 2022-09-07 19:26 CEST (History)
3 users (show)

See Also:
Source RPM: java-17-openjdk-devel-17.0.3.0.7-1.1.mga8
CVE:
Status comment:


Attachments

Description david Cossé 2022-09-06 08:57:25 CEST
Theme name: Adwaita
Kernel version = 5.19.4-desktop-2.mga8
Distribution=Mageia release 8 (Official) for x86_64
CPU=AMD Ryzen 7 5700U with Radeon Graphics

trying compilling java application failed due to missing package rootcerts-java
the error was:
Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
david Cossé 2022-09-06 08:58:24 CEST

CC: (none) => saveurlinux

Comment 1 Marja Van Waes 2022-09-06 19:02:25 CEST
(In reply to david Cossé from comment #0)
> Theme name: Adwaita
> Kernel version = 5.19.4-desktop-2.mga8
> Distribution=Mageia release 8 (Official) for x86_64
> CPU=AMD Ryzen 7 5700U with Radeon Graphics
> 
> trying compilling java application failed due to missing package
> rootcerts-java

It isn't missing, it's on the mirrors, I think the most recent update is this one:


https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/media/core/updates/rootcerts-java-20220610.00-1.mga8.noarch.rpm


> the error was:
> Unexpected error: java.security.InvalidAlgorithmParameterException: the
> trustAnchors parameter must be non-empty

CC'ing the Java Stack maintainers, maybe they have time to help you

CC: (none) => java, marja11

Comment 2 david Cossé 2022-09-07 08:28:04 CEST
(In reply to Marja Van Waes from comment #1)
> (In reply to david Cossé from comment #0)
> > Theme name: Adwaita
> > Kernel version = 5.19.4-desktop-2.mga8
> > Distribution=Mageia release 8 (Official) for x86_64
> > CPU=AMD Ryzen 7 5700U with Radeon Graphics
> > 
> > trying compilling java application failed due to missing package
> > rootcerts-java
> 
> It isn't missing, it's on the mirrors, I think the most recent update is
> this one:
> 
> 
> https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/
> media/core/updates/rootcerts-java-20220610.00-1.mga8.noarch.rpm
> 
> 
> > the error was:
> > Unexpected error: java.security.InvalidAlgorithmParameterException: the
> > trustAnchors parameter must be non-empty
> 
> CC'ing the Java Stack maintainers, maybe they have time to help you

thanks for this reply ;)
Installing the rootcerts-java package actualy solved the issue and that was the reason I create this bug report as it should be include into the required package. (it is not missing as i previously said, but required)
Comment 3 Marja Van Waes 2022-09-07 15:47:10 CEST
(In reply to david Cossé from comment #2)

> > 
> > CC'ing the Java Stack maintainers, maybe they have time to help you
> 
> thanks for this reply ;)
> Installing the rootcerts-java package actualy solved the issue and that was
> the reason I create this bug report as it should be include into the
> required package. (it is not missing as i previously said, but required)

Here in cauldron there is nothing wrong with that "Requires:"

[ ]$ urpmq --requires-recursive java-17-openjdk-devel | grep rootcerts-java
rootcerts-java
[ ]$ urpmq --whatrequires-recursive rootcerts-java | grep openjdk-devel$
java-17-openjdk-devel
[ ]$

However, in Mageia 8 the only java-17-openjdk-devel we have is the one in backports_testing https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/media/core/backports_testing/java-17-openjdk-devel-17.0.3.0.7-1.1.mga8.x86_64.rpm

In https://svnweb.mageia.org/packages/backports/8/java-17-openjdk/current/SPECS/java-17-openjdk.spec?revision=1864078&view=markup I don't see a Require for rootcerts-java.

In cauldron, the Requires for rootcerts-java was added here https://svnweb.mageia.org/packages/cauldron/java-17-openjdk/current/SPECS/java-17-openjdk.spec?r1=1872556&r2=1864534 and the commit message of that revision is "Add rootcerts-java as default requires (mga#30672)"

It would be nice if the same fix would be pushed to 8/backports_testing.

Assigning to the java stack maintainers

Assignee: bugsquad => java
Source RPM: java-17-openjdk-devel => java-17-openjdk-devel-17.0.3.0.7-1.1.mga8
Summary: missing required dependency rootcerts-java => java-17-openjdk-devel from backports_testing lacks a Require for rootcerts-java

Comment 4 david Cossé 2022-09-07 19:26:28 CEST
(In reply to Marja Van Waes from comment #3)
> (In reply to david Cossé from comment #2)
> 
> > > 
> > > CC'ing the Java Stack maintainers, maybe they have time to help you
> > 
> > thanks for this reply ;)
> > Installing the rootcerts-java package actualy solved the issue and that was
> > the reason I create this bug report as it should be include into the
> > required package. (it is not missing as i previously said, but required)
> 
> Here in cauldron there is nothing wrong with that "Requires:"
> 
> [ ]$ urpmq --requires-recursive java-17-openjdk-devel | grep rootcerts-java
> rootcerts-java
> [ ]$ urpmq --whatrequires-recursive rootcerts-java | grep openjdk-devel$
> java-17-openjdk-devel
> [ ]$
> 
> However, in Mageia 8 the only java-17-openjdk-devel we have is the one in
> backports_testing
> https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/
> media/core/backports_testing/java-17-openjdk-devel-17.0.3.0.7-1.1.mga8.
> x86_64.rpm
> 
> In
> https://svnweb.mageia.org/packages/backports/8/java-17-openjdk/current/SPECS/
> java-17-openjdk.spec?revision=1864078&view=markup I don't see a Require for
> rootcerts-java.
> 
> In cauldron, the Requires for rootcerts-java was added here
> https://svnweb.mageia.org/packages/cauldron/java-17-openjdk/current/SPECS/
> java-17-openjdk.spec?r1=1872556&r2=1864534 and the commit message of that
> revision is "Add rootcerts-java as default requires (mga#30672)"
> 
> It would be nice if the same fix would be pushed to 8/backports_testing.
thanks for that !
> 
> Assigning to the java stack maintainers

Note You need to log in before you can comment on or make changes to this bug.