[Reproducible-builds] Bug#807391: libcommons-openpgp-java: FTBFS: BouncyCastleOpenPgpStreamingSignatureVerifier.java:92: error: cannot find symbol [..] sig.initVerify( key, "BC" );
Chris Lamb
lamby at debian.org
Tue Dec 8 12:14:09 UTC 2015
Source: libcommons-openpgp-java
Version: 0+svn533492-5
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
libcommons-openpgp-java fails to build from source in unstable/amd64:
[..]
compile:
[mkdir] Created dir:
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/build
[javac]
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/debian/build.xml:50:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 14 source files to
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/build
[javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
[javac]
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/src/main/java/org/apache/commons/openpgp/BouncyCastleOpenPgpStreamingSignatureVerifier.java:92:
error: cannot find symbol
[javac] sig.initVerify( key, "BC" );
[javac] ^
[javac] symbol: method initVerify(PGPPublicKey,String)
[javac] location: variable sig of type PGPSignature
[javac]
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/src/main/java/org/apache/commons/openpgp/BouncyCastleOpenPgpStreamingSigner.java:89:
error: method extractPrivateKey in class PGPSecretKey cannot be
applied to given types;
[javac] PGPPrivateKey pgpPrivKey =
pgpSec.extractPrivateKey( keyRing.getPassword(), PROVIDER );
[javac] ^
[javac] required: PBESecretKeyDecryptor
[javac] found: char[],String
[javac] reason: actual and formal argument lists differ in
length
[javac]
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/src/main/java/org/apache/commons/openpgp/BouncyCastleOpenPgpStreamingSigner.java:90:
error: constructor PGPSignatureGenerator in class
PGPSignatureGenerator cannot be applied to given types;
[javac] sGen = new PGPSignatureGenerator(
pgpSec.getPublicKey().getAlgorithm(), PGPUtil.SHA1, PROVIDER );
[javac] ^
[javac] required: PGPContentSignerBuilder
[javac] found: int,int,String
[javac] reason: actual and formal argument lists differ in
length
[javac]
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/src/main/java/org/apache/commons/openpgp/BouncyCastleOpenPgpStreamingSigner.java:91:
error: cannot find symbol
[javac] sGen.initSign( PGPSignature.BINARY_DOCUMENT,
pgpPrivKey );
[javac] ^
[javac] symbol: method initSign(int,PGPPrivateKey)
[javac] location: variable sGen of type PGPSignatureGenerator
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note:
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java
uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
[javac] 1 warning
BUILD FAILED
/home/lamby/temp/cdt.20151208135006.z3zJFjQSjo/libcommons-openpgp-java-0+svn533492/debian/build.xml:50:
Compile failed; see the compiler error output for details.
Total time: 1 second
/usr/share/cdbs/1/class/ant.mk:40: recipe for target
'debian/stamp-ant-build' failed
make: *** [debian/stamp-ant-build] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcommons-openpgp-java.0+svn533492-5.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151208/97c6e3af/attachment.obj>
More information about the Reproducible-builds
mailing list