Package: src:trapperkeeper-authorization-clojure
Version: 2.0.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with javahelper --with maven_repo_helper
   dh_auto_clean
   jh_clean
Duplicate specification "u=s" for option "u"
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f .lein-failures
rm -f debian/maven-repo
rm -f debian/pom.xml
rm -Rf .lein target resources
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with javahelper --with maven_repo_helper
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd debian && ln -sf /usr/share/maven-repo .
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein pom debian/pom.xml
Wrote /<<PKGBUILDDIR>>/debian/pom.xml
lein i18n make
Running 'make i18n'
lein jar
Warning: specified :main without including it in :aot. 
Implicit AOT of :main will be removed in Leiningen 3.0.0. 
If you only need AOT for your uberjar, consider adding :aot :all into your
:uberjar profile instead.
Warning: The Main-Class specified does not exist within the jar. It may not be 
executable as expected. A gen-class directive may be missing in the namespace 
which contains the main method, or the namespace has not been AOT-compiled.
Created /<<PKGBUILDDIR>>/target/trapperkeeper-authorization-2.0.1.jar
Warning: The Main-Class specified does not exist within the jar. It may not be 
executable as expected. A gen-class directive may be missing in the namespace 
which contains the main method, or the namespace has not been AOT-compiled.
Created /<<PKGBUILDDIR>>/target/test/trapperkeeper-authorization-2.0.1-test.jar
# symlinks so we don't need a version in debian/*.poms
cd target && ln -sf trapperkeeper-authorization-2.0.1.jar 
trapperkeeper-authorization.jar
cd target/test && ln -sf trapperkeeper-authorization-2.0.1-test.jar 
trapperkeeper-authorization-test.jar
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein test
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/share/java/logback-classic.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/share/java/logback-classic-1.2.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type 
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]

lein test puppetlabs.trapperkeeper.authorization.acl-test

lein test puppetlabs.trapperkeeper.authorization.ring-middleware-test

lein test :only 
puppetlabs.trapperkeeper.authorization.ring-middleware-test/ring-request-to-cert-from-http-header

FAIL in (ring-request-to-cert-from-http-header) (ring_middleware_test.clj:134)
Extraction of cert from HTTP header in Ring request fails as expected when URL 
encoded properly but base64 content malformed
expected: (thrown+? [:kind :bad-request :msg (str "Unable to parse 
x-client-cert into " "certificate: -----END CERTIFICATE not found")] 
(cert-from-request "-----BEGIN%20CERTIFICATE-----%0AM"))
  actual: "thrown+?: {:kind :bad-request, :msg \"Unable to parse x-client-cert 
into certificate: -----END CERTIFICATE----- not found\"} did not match [:kind 
:bad-request :msg (str \"Unable to parse x-client-cert into \" \"certificate: 
-----END CERTIFICATE not found\")]"

lein test puppetlabs.trapperkeeper.authorization.ring-test

lein test puppetlabs.trapperkeeper.authorization.rules-test

lein test 
puppetlabs.trapperkeeper.services.authorization.authorization-core-test

lein test 
puppetlabs.trapperkeeper.services.authorization.authorization-service-test

Ran 48 tests containing 1887 assertions.
1 failures, 0 errors.
Tests failed.
make[1]: *** [debian/rules:26: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:trapperkeeper-authorization-clojure, so that 
this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to