Opened 4 years ago

Closed 4 years ago

#62073 closed defect (fixed)

pdftk-java @3.1.1_2: PdfPKCS7.java:812: error: DERNull() has private access in DERNull

Reported by: kencu (Ken) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pdftk-java

Description

BigSur:

--->  Building pdftk-java
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-3.1.1" && ant jar 
Buildfile: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/build.xml
Trying to override old definition of task javac

compile:
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/build/classes
    [javac] Compiling 203 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/java/pdftk/com/lowagie/text/pdf/PdfPKCS7.java:812: error: DERNull() has private access in DERNull
    [javac]                 algos.add(new DERNull());
    [javac]                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/java/pdftk/com/lowagie/text/pdf/PdfPKCS7.java:850: error: DERNull() has private access in DERNull
    [javac]             v.add(new DERNull());
    [javac]                   ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-java/work/pdftk-v3.1.1-535a84da37c507378d7674f7f61aa8c29e200509/java/pdftk/com/lowagie/text/pdf/PdfPKCS7.java:873: error: DERNull() has private access in DERNull
    [javac]             v.add(new DERNull());
    [javac]                   ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors
    [javac] 1 warning

BUILD FAILED

Attachments (1)

pdftk-java-fail-bigsur.log (17.2 KB) - added by kencu (Ken) 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by kencu (Ken)

Attachment: pdftk-java-fail-bigsur.log added

comment:1 Changed 4 years ago by kencu (Ken)

I tried adding:

export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11/Contents/Home

to my .zprofile but that didn't help at all.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur removed
Owner: set to ryandesign
Status: newaccepted

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 90f12f8d1d4946f9b51a1a766d62b341e5923164/macports-ports (master):

pdftk-java: Update to 3.2.2

Closes: #62073

Note: See TracTickets for help on using tickets.