Bug 296566 - print/pdftk build fails (getObject() not found)
Summary: print/pdftk build fails (getObject() not found)
Status: Closed DUPLICATE of bug 296549
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-06 22:22 UTC by Robert William Vesterman
Modified: 2026-07-07 09:33 UTC (History)
1 user (show)

See Also:


Attachments
build log (24.98 KB, text/plain)
2026-07-06 22:22 UTC, Robert William Vesterman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert William Vesterman 2026-07-06 22:22:35 UTC
Created attachment 272554 [details]
build log

Starting yesterday, print/pdftk has been failing to build for me, with three Java errors saying that getObject() cannot be found (plus some warnings). The build is done in a clean environment (using Synth).

Error messages follow, but I'll also attach the full build log:


    [javac] /construction/xports/print/pdftk/work/pdftk-e4292c8f1bd2580a44d3cbf3570a4505bd3a74b6/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:228: error: cannot find symbol
    [javac]         ASN1Sequence content = (ASN1Sequence)((DERTaggedObject)signedData.getObjectAt(1)).getObject();
    [javac]                                                                                          ^
    [javac]   symbol:   method getObject()
    [javac]   location: class DERTaggedObject
    [javac] /construction/xports/print/pdftk/work/pdftk-e4292c8f1bd2580a44d3cbf3570a4505bd3a74b6/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:261: error: cannot find symbol
    [javac]             DEROctetString rsaDataContent = (DEROctetString)((DERTaggedObject)rsaData.getObjectAt(1)).getObject();
    [javac]                                                                                                      ^
    [javac]   symbol:   method getObject()
    [javac]   location: class DERTaggedObject
    [javac] /construction/xports/print/pdftk/work/pdftk-e4292c8f1bd2580a44d3cbf3570a4505bd3a74b6/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:297: error: cannot find symbol
    [javac]             ASN1Sequence sseq = (ASN1Sequence)tagsig.getObject();
    [javac]                                                     ^
    [javac]   symbol:   method getObject()
    [javac]   location: variable tagsig of type ASN1TaggedObject
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-07-07 09:33:00 UTC

*** This bug has been marked as a duplicate of bug 296549 ***