Bug#907765: honeysql-clojure: FTBFS in buster/sid (Could not locate honeysql/format_test__init.class or honeysql/format_test.clj on classpath.)

Santiago Vila sanvila at debian.org
Sat Sep 1 17:30:51 BST 2018


Package: src:honeysql-clojure
Version: 0.8.2-1
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 javahelper --with jh_maven_repo_helper
   dh_update_autotools_config -i
   dh_autoreconf -i
   jh_linkjars -i
   debian/rules override_jh_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cat debian/header.html > /<<PKGBUILDDIR>>/CHANGES.html
sed -i'' -e 's#@TITLE@#0.8.2#g' /<<PKGBUILDDIR>>/CHANGES.html
markdown /<<PKGBUILDDIR>>/CHANGES.md >> /<<PKGBUILDDIR>>/CHANGES.html
cat debian/footer.html >> /<<PKGBUILDDIR>>/CHANGES.html
cat debian/header.html > /<<PKGBUILDDIR>>/README.html
sed -i'' -e 's#@TITLE@#Honey SQL#g' /<<PKGBUILDDIR>>/README.html
markdown /<<PKGBUILDDIR>>/README.md >> /<<PKGBUILDDIR>>/README.html
cat debian/footer.html >> /<<PKGBUILDDIR>>/README.html
jar cf honeysql.jar -C src .
mkdir -p /<<PKGBUILDDIR>>/doc/html && mv /<<PKGBUILDDIR>>/*.html /<<PKGBUILDDIR>>/doc/html
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
(cd test && find . -name '*.cljc' | \
	xargs clojure -cp /<<PKGBUILDDIR>>/honeysql.jar)
Exception in thread "main" java.io.FileNotFoundException: Could not locate honeysql/format_test__init.class or honeysql/format_test.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name., compiling:(/<<PKGBUILDDIR>>/test/./honeysql/core_test.cljc:1:1)
	at clojure.lang.Compiler.load(Compiler.java:7526)
	at clojure.lang.Compiler.loadFile(Compiler.java:7452)
	at clojure.main$load_script.invokeStatic(main.clj:278)
	at clojure.main$script_opt.invokeStatic(main.clj:338)
	at clojure.main$script_opt.invoke(main.clj:333)
	at clojure.main$main.invokeStatic(main.clj:424)
	at clojure.main$main.doInvoke(main.clj:387)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:702)
	at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: Could not locate honeysql/format_test__init.class or honeysql/format_test.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
	at clojure.lang.RT.load(RT.java:463)
	at clojure.lang.RT.load(RT.java:426)
	at clojure.core$load$fn__9115.invoke(core.clj:6046)
	at clojure.core$load.invokeStatic(core.clj:6045)
	at clojure.core$load.doInvoke(core.clj:6029)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at clojure.core$load_one.invokeStatic(core.clj:5848)
	at clojure.core$load_one.invoke(core.clj:5843)
	at clojure.core$load_lib$fn__9060.invoke(core.clj:5888)
	at clojure.core$load_lib.invokeStatic(core.clj:5887)
	at clojure.core$load_lib.doInvoke(core.clj:5868)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:659)
	at clojure.core$load_libs.invokeStatic(core.clj:5925)
	at clojure.core$load_libs.doInvoke(core.clj:5909)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:659)
	at clojure.core$require.invokeStatic(core.clj:5947)
	at clojure.core$require.doInvoke(core.clj:5947)
	at clojure.lang.RestFn.invoke(RestFn.java:457)
	at honeysql.core_test$eval2694$loading__9001__auto____2695.invoke(core_test.cljc:1)
	at honeysql.core_test$eval2694.invokeStatic(core_test.cljc:1)
	at honeysql.core_test$eval2694.invoke(core_test.cljc:1)
	at clojure.lang.Compiler.eval(Compiler.java:7062)
	at clojure.lang.Compiler.eval(Compiler.java:7051)
	at clojure.lang.Compiler.load(Compiler.java:7514)
	... 9 more
make[1]: *** [debian/rules:26: override_dh_auto_test] Error 123
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

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

In reproducible builds it seems to be random, but I tried to build it 50 times
on GCE n1-standard-1 machines today and it failed each and every time.
If you need a test machine to reproduce please say so.

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-java-maintainers mailing list