Bug#978185: puppetlabs-http-client-clojure: FTBFS: src/java/com/puppetlabs/http/client/impl/SslUtils.java:36: error: unreported exception NoSuchProviderException; must be caught or declared to be thrown

Lucas Nussbaum lucas at debian.org
Sat Dec 26 21:33:09 GMT 2020


Source: puppetlabs-http-client-clojure
Version: 0.9.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat debian/header.html > /<<PKGBUILDDIR>>/CHANGELOG.html
> sed -i'' -e 's#@TITLE@#0.9.0#g' /<<PKGBUILDDIR>>/CHANGELOG.html
> markdown /<<PKGBUILDDIR>>/CHANGELOG.md >> /<<PKGBUILDDIR>>/CHANGELOG.html
> cat debian/footer.html >> /<<PKGBUILDDIR>>/CHANGELOG.html
> cat debian/header.html > /<<PKGBUILDDIR>>/CONTRIBUTING.html
> sed -i'' -e 's#@TITLE@#How to contribute#g' /<<PKGBUILDDIR>>/CONTRIBUTING.html
> markdown /<<PKGBUILDDIR>>/CONTRIBUTING.md >> /<<PKGBUILDDIR>>/CONTRIBUTING.html
> cat debian/footer.html >> /<<PKGBUILDDIR>>/CONTRIBUTING.html
> cat debian/header.html > /<<PKGBUILDDIR>>/README.html
> sed -i'' -e 's#@TITLE@#puppetlabs/http-client#g' /<<PKGBUILDDIR>>/README.html
> markdown /<<PKGBUILDDIR>>/README.md >> /<<PKGBUILDDIR>>/README.html
> cat debian/footer.html >> /<<PKGBUILDDIR>>/README.html
> jh_build --no-javadoc --javacopts="-source 1.7 -target 1.7" puppetlabs-http-client.jar src/java
> warning: [options] bootstrap class path not set in conjunction with -source 7
> src/java/com/puppetlabs/http/client/impl/SslUtils.java:36: error: unreported exception NoSuchProviderException; must be caught or declared to be thrown
>                         SSLUtils.pemsToSSLContext(
>                                                  ^
> src/java/com/puppetlabs/http/client/impl/SslUtils.java:63: error: unreported exception NoSuchProviderException; must be caught or declared to be thrown
>                         SSLUtils.caCertPemToSSLContext(
>                                                       ^
> Note: src/java/com/puppetlabs/http/client/impl/JavaClient.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> 1 warning
> jh_build: error: find src/java -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/clojure.jar:/usr/share/java/httpasyncclient.jar:/usr/share/java/prismatic-schema.jar:/usr/share/java/commons-io.jar:/usr/share/java/metrics-core.jar:/usr/share/java/ssl-utils.jar:/usr/share/java/puppetlabs-i18n.jar:/usr/share/java/httpclient.jar:/usr/share/java/httpcore.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/httpcore-nio.jar:debian/_jh_build.puppetlabs-http-client -d debian/_jh_build.puppetlabs-http-client -source 1.7 -target 1.7 -encoding ISO8859-1  returned exit code 123
> make[1]: *** [debian/rules:15: override_jh_build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/puppetlabs-http-client-clojure_0.9.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list