ports/177974: print/pdftk: com/lowagie/text/pdf/PdfStamperImp.java:118: error: PdfEncryption cannot be resolved to a type crypto = new PdfEncryption(reader.getDecrypt());

Oliver Hartmann ohartman at zedat.fu-berlin.de
Fri Apr 19 11:30:01 UTC 2013


>Number:         177974
>Category:       ports
>Synopsis:       print/pdftk: com/lowagie/text/pdf/PdfStamperImp.java:118: error: PdfEncryption cannot be resolved to a type  crypto = new PdfEncryption(reader.getDecrypt());
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 11:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
10.0-CURRENT FreeBSD 10.0-CURRENT #1 r249641: Fri Apr 19 10:11:50 CEST 2013 amd64
>Description:
Port print/pdftk is broken due to the following error when compiling the port on a most recent ports tree and most recent FreeBSD 10.0-CURRENT/amd64 as well as FreeBSD 9.1-STABLE:

[...]
Makefile.Base:56: warning: ignoring old recipe for target `clean'
gmake -f Makefile -iC ../java all
gmake[1]: Entering directory `/usr/ports/print/pdftk/work/pdftk-1.45-dist/java'
cpp -C -P com/lowagie/text/pdf/PdfEncryption.java.c com/lowagie/text/pdf/PdfEncryption.java
cpp: error: no such file or directory: 'com/lowagie/text/pdf/PdfEncryption.java'
gmake[1]: [com/lowagie/text/pdf/PdfEncryption.java] Error 1 (ignored)
/usr/local/bin/gcj46 -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -w -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath=":/usr/ports/print/pdftk/work/pdftk-1.45-dist/java:." -C com/lowagie/text/pdf/PdfStamperImp.java
com/lowagie/text/pdf/PdfStamperImp.java:118: error: PdfEncryption cannot be resolved to a type
        crypto = new PdfEncryption(reader.getDecrypt());
        ^^^^^^
com/lowagie/text/pdf/PdfStamperImp.java:118: error: PdfEncryption cannot be resolved to a type
        crypto = new PdfEncryption(reader.getDecrypt());

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list