Opened 7 months ago

Closed 3 months ago

#68455 closed defect (fixed)

pdftk-java @3.3.3 fails to build on macOS 14.0 (Sonoma) with missing symbols in PdfPKCS7

Reported by: bal-agates Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: chrstphrchvz (Christopher Chavez), fracai, fondacio, phloxic (Christian Ebert)
Port: pdftk-java

Description

After a recent macOS upgrade I deleted all MacPorts and attempted to rebuild all ports I had previously. Port pdftk-java failed to build, apparently because of missing symbols in PdfPKCS7.java. See the attached log file.

MacBook Pro 2021 (M1), macOS 14.0 (Sonoma), Xcode 15.0.

Before building pdftk-java I had installed openjdk17-zulu @17.44.53_0. pdftk-java did installed openjdk11-zulu @11.66.19_0. I am not sure if there could be any conflict between these two openjdk versions.

Attachments (1)

pdftk-java-main.log (64.1 KB) - added by bal-agates 7 months ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 7 months ago by bal-agates

Attachment: pdftk-java-main.log added

main.log

comment:1 Changed 7 months ago by chrstphrchvz (Christopher Chavez)

This is due to an incompatibility with bcprov ≥ 1.75, which I have reported upstream: https://gitlab.com/pdftk-java/pdftk/-/issues/155. I am likely not familiar enough with this software to come up with a fix for this issue. However, pdftk-java is the only dependent of bcprov in MacPorts, so maybe one can get away with reverting bcprov to 1.74 for now.

comment:2 Changed 7 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 7 months ago by fracai

Cc: fracai added

comment:4 Changed 6 months ago by fondacio

Cc: fondacio added

comment:5 Changed 4 months ago by phloxic (Christian Ebert)

Cc: phloxic added

comment:6 in reply to:  1 Changed 3 months ago by chrstphrchvz (Christopher Chavez)

Replying to chrstphrchvz:

pdftk-java is the only dependent of bcprov in MacPorts, so maybe one can get away with reverting bcprov to 1.74 for now.

This is now proposed in https://github.com/macports/macports-ports/pull/22665

comment:7 Changed 3 months ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In 5dd12ea9e41105e0a12c5e486d7e4bf4b5390ada/macports-ports (master):

bcprov: revert to 1.74 for now

Closes: #68455

Note: See TracTickets for help on using tickets.