Hi, Koschei warn me [1] the new error is [2], in F32 it compiles fine . Any clue what happened ? I can't find what jar had or have javax.activation
Best regards,
[1] https://koschei.fedoraproject.org/package/pdfbox?collection=f33
[2] error: package javax.activation does not exist import javax.activation.FileDataSource;
On Wed, Aug 26, 2020 at 11:26 PM Sérgio Basto sergio@serjux.com wrote:
Hi, Koschei warn me [1] the new error is [2], in F32 it compiles fine . Any clue what happened ? I can't find what jar had or have javax.activation
Best regards,
[1] https://koschei.fedoraproject.org/package/pdfbox?collection=f33
[2] error: package javax.activation does not exist import javax.activation.FileDataSource; -- Sérgio M. B.
The missing javax.activation packages are no longer shipped with the JDK in fedora 33+ (since we switched to Java 11). Looks like this package is one case where you'll need to do something along the following:
1) Add BR: jakarta-activation
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
2) add the dependency to maven in %prep:
%pom_add_dep jakarta.activation:jakarta.activation-api
If that doesn't work, replace "jakarta.activation:jakarta.activation-api" with "com.sun.activation:jakarta.activation".
Fabio
On Wed, 2020-08-26 at 23:59 +0200, Fabio Valentini wrote:
On Wed, Aug 26, 2020 at 11:26 PM Sérgio Basto sergio@serjux.com wrote:
Hi, Koschei warn me [1] the new error is [2], in F32 it compiles fine . Any clue what happened ? I can't find what jar had or have javax.activation
Best regards,
[1] https://koschei.fedoraproject.org/package/pdfbox?collection=f33
[2] error: package javax.activation does not exist import javax.activation.FileDataSource; -- Sérgio M. B.
The missing javax.activation packages are no longer shipped with the JDK in fedora 33+ (since we switched to Java 11).
Sat, 08 Aug 2020 15:42:02 UTC , it built well with java-11-openjdk - 1:11.0.8.10-1.fc33
https://koji.fedoraproject.org/koji/buildinfo?buildID=1576771
I had fix the FTBFS with jdk11
Looks like this package is one case where you'll need to do something along the following:
- Add BR: jakarta-activation
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
- add the dependency to maven in %prep:
%pom_add_dep jakarta.activation:jakarta.activation-api
If that doesn't work, replace "jakarta.activation:jakarta.activation-api" with "com.sun.activation:jakarta.activation".
I will test thank you .
Fabio _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@lists.fedoraproject...
On Wed, 2020-08-26 at 23:07 +0100, Sérgio Basto wrote:
On Wed, 2020-08-26 at 23:59 +0200, Fabio Valentini wrote:
On Wed, Aug 26, 2020 at 11:26 PM Sérgio Basto sergio@serjux.com wrote:
Hi, Koschei warn me [1] the new error is [2], in F32 it compiles fine . Any clue what happened ? I can't find what jar had or have javax.activation
Best regards,
[1] https://koschei.fedoraproject.org/package/pdfbox?collection=f33
[2] error: package javax.activation does not exist import javax.activation.FileDataSource; -- Sérgio M. B.
The missing javax.activation packages are no longer shipped with the JDK in fedora 33+ (since we switched to Java 11).
Sat, 08 Aug 2020 15:42:02 UTC , it built well with java-11-openjdk - 1:11.0.8.10-1.fc33
https://koji.fedoraproject.org/koji/buildinfo?buildID=1576771
I had fix the FTBFS with jdk11
Looks like this package is one case where you'll need to do something along the following:
- Add BR: jakarta-activation
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
- add the dependency to maven in %prep:
%pom_add_dep jakarta.activation:jakarta.activation-api
It worked thank you
If that doesn't work, replace "jakarta.activation:jakarta.activation-api" with "com.sun.activation:jakarta.activation".
I will test thank you .
Fabio _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@lists.fedoraproject...
-- Sérgio M. B. _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@lists.fedoraproject...
java-devel@lists.fedoraproject.org