Bug#906374: leiningen-clojure: FTBFS in buster/sid (Cannot access clojars (https://repo.clojars.org/) in offline mode and the artifact org.clojure:tools.nrepl:jar:0.2.12 has not been downloaded from it before.)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:20:17 BST 2018


Package: src:leiningen-clojure
Version: 2.8.1-6
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with bash-completion --with javahelper --buildsystem=maven
   dh_update_autotools_config -i -O--buildsystem=maven
   dh_autoreconf -i -O--buildsystem=maven
   dh_auto_configure -i -O--buildsystem=maven
	mh_patchpoms -pleiningen --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   jh_linkjars -i -O--buildsystem=maven
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp resources/leiningen/bootclasspath-deps.clj \
   leiningen-core/src/leiningen/bootclasspath-deps.clj
dh_auto_build -- -f leiningen-core/pom.xml install
	/usr/lib/jvm/java-8-openjdk-amd64/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode -f leiningen-core/pom.xml install -DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...

[... snipped ...]

[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ leiningen-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ leiningen-core ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ leiningen-core ---
[INFO] Building jar: /<<PKGBUILDDIR>>/leiningen-core/target/leiningen-core-2.8.1.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ leiningen-core ---
[INFO] Installing /<<PKGBUILDDIR>>/leiningen-core/target/leiningen-core-2.8.1.jar to /<<PKGBUILDDIR>>/debian/maven-repo/leiningen-core/leiningen-core/2.8.1/leiningen-core-2.8.1.jar
[INFO] Installing /<<PKGBUILDDIR>>/leiningen-core/pom.xml to /<<PKGBUILDDIR>>/debian/maven-repo/leiningen-core/leiningen-core/2.8.1/leiningen-core-2.8.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.751 s
[INFO] Finished at: 2018-08-16T04:41:30Z
[INFO] ------------------------------------------------------------------------
echo debian/maven-repo/leiningen-core/leiningen-core/2.8.1/leiningen-core-2.8.1.jar:debian/maven-repo/bultitude/bultitude/debian/bultitude-debian.jar:debian/maven-repo/clojure-complete/clojure-complete/debian/clojure-complete-debian.jar:debian/maven-repo/com/cemerick/pomegranate/debian/pomegranate-debian.jar:debian/maven-repo/com/google/guava/guava/debian/guava-debian.jar:debian/maven-repo/javax/inject/javax.inject/debian/javax.inject-debian.jar:debian/maven-repo/com/hypirion/io/debian/io-debian.jar:debian/maven-repo/commons-codec/commons-codec/debian/commons-codec-debian.jar:debian/maven-repo/commons-io/commons-io/debian/commons-io-debian.jar:debian/maven-repo/commons-logging/commons-logging/debian/commons-logging-debian.jar:debian/maven-repo/org/apache/commons/commons-lang3/debian/commons-lang3-debian.jar:debian/maven-repo/org/apache/httpcomponents/httpclient/debian/httpclient-debian.jar:debian/maven-repo/org/apache/httpcomponents/httpcore/debian/httpcore-debian.jar:debian/maven-repo/org/apache/maven/maven-artifact/3.x/maven-artifact-3.x.jar:debian/maven-repo/org/apache/maven/maven-builder-support/3.x/maven-builder-support-3.x.jar:debian/maven-repo/org/apache/maven/maven-model/3.x/maven-model-3.x.jar:debian/maven-repo/org/apache/maven/maven-model-builder/3.x/maven-model-builder-3.x.jar:debian/maven-repo/org/apache/maven/maven-repository-metadata/3.x/maven-repository-metadata-3.x.jar:debian/maven-repo/org/apache/maven/maven-resolver-provider/3.x/maven-resolver-provider-3.x.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-api/debian/maven-resolver-api-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-connector-basic/debian/maven-resolver-connector-basic-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-impl/debian/maven-resolver-impl-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-spi/debian/maven-resolver-spi-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-transport-file/debian/maven-resolver-transport-file-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-transport-http/debian/maven-resolver-transport-http-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-transport-wagon/debian/maven-resolver-transport-wagon-debian.jar:debian/maven-repo/org/apache/maven/resolver/maven-resolver-util/debian/maven-resolver-util-debian.jar:debian/maven-repo/org/apache/maven/wagon/wagon-http/debian/wagon-http-debian.jar:debian/maven-repo/org/apache/maven/wagon/wagon-http-shared/debian/wagon-http-shared-debian.jar:debian/maven-repo/org/apache/maven/wagon/wagon-provider-api/debian/wagon-provider-api-debian.jar:debian/maven-repo/org/clojure/clojure/debian/clojure-debian.jar:debian/maven-repo/org/clojure/tools.macro/debian/tools.macro-debian.jar:debian/maven-repo/org/clojure/tools.macro/debian/tools.nrepl-debian.jar:debian/maven-repo/org/codehaus/plexus/plexus-component-annotations/debian/plexus-component-annotations-debian.jar:debian/maven-repo/org/codehaus/plexus/plexus-interpolation/debian/plexus-interpolation-debian.jar:debian/maven-repo/org/codehaus/plexus/plexus-utils/2.x/plexus-utils-2.x.jar:debian/maven-repo/org/flatland/classlojure/debian/classlojure-debian.jar:debian/maven-repo/org/jsoup/jsoup/debian/jsoup-debian.jar:debian/maven-repo/org/slf4j/jcl-over-slf4j/debian/jcl-over-slf4j-debian.jar:debian/maven-repo/org/slf4j/slf4j-api/debian/slf4j-api-debian.jar:debian/maven-repo/org/slf4j/slf4j-nop/debian/slf4j-nop-debian.jar:debian/maven-repo/org/tcrawley/dynapath/debian/dynapath-debian.jar:debian/maven-repo/robert/hooke/debian/hooke-debian.jar > leiningen-core/.lein-bootstrap
chmod a+x bin/lein
bin/lein uberjar
Recalculating Leiningen's classpath.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop.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 [org.slf4j.impl.SimpleLoggerFactory]
Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.clojure:tools.nrepl:jar:0.2.12 has not been downloaded from it before.
Cannot access clojars (https://repo.clojars.org/) in offline mode and the artifact org.clojure:tools.nrepl:jar:0.2.12 has not been downloaded from it before.
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop.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 [org.slf4j.impl.SimpleLoggerFactory]
Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.clojure:tools.nrepl:jar:0.2.12 has not been downloaded from it before.
Cannot access clojars (https://repo.clojars.org/) in offline mode and the artifact org.clojure:tools.nrepl:jar:0.2.12 has not been downloaded from it before.
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
make[1]: *** [debian/rules:69: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:62: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/leiningen-clojure.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-clojure-maintainers mailing list