Re: pdfbox starting failing to build on 2020-08-14 23:39:32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 26, 2020 at 11:26 PM Sérgio Basto <sergio@xxxxxxxxxx> 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
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux