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]
> [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

java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:

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

  Powered by Linux