Control: severity -1 serious

(Looping submitter back in.)

Santiago Vila <sanv...@unex.es> (2018-12-30):
> On Tue, 22 Aug 2017, Hans Joachim Desserud wrote:
> 
> > Source: kitchensink-clojure
> > Version: 2.3.0-1
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > kitchensink-clojure currently fails to build from source with the
> > following error message:
> > 
> > dh_auto_test
> > (cd test && find . -name "*_test.clj" | \
> >     xargs --verbose clojure -cp
> > /build/kitchensink-clojure-2.3.0/kitchensink.jar:/usr/share/java/clojure.jar:/usr/share/java/tools.cli.jar:/usr/share/java/tools.logging.jar:/usr/share/java/clj-time.jar:/usr/share/java/raynes-fs.jar:/usr/share/java/slingshot.jar:/usr/share/java/cheshire.jar:/usr/share/java/ini4j.jar:/usr/share/java/dynapath.jar:/usr/share/java/clj-digest.jar)
> > clojure -cp
> > /build/kitchensink-clojure-2.3.0/kitchensink.jar:/usr/share/java/clojure.jar:/usr/share/java/tools.cli.jar:/usr/share/java/tools.logging.jar:/usr/share/java/clj-time.jar:/usr/share/java/raynes-fs.jar:/usr/share/java/slingshot.jar:/usr/share/java/cheshire.jar:/usr/share/java/ini4j.jar:/usr/share/java/dynapath.jar:/usr/share/java/clj-digest.jar
> > ./puppetlabs/kitchensink/core_test.clj 
> > ./puppetlabs/kitchensink/json_test.clj
> > ./puppetlabs/kitchensink/classpath_test.clj
> > Exception in thread "main" java.io.FileNotFoundException: Could not locate
> > puppetlabs/kitchensink/testutils__init.class or
> > puppetlabs/kitchensink/testutils.clj on classpath.,
> > compiling:(/build/kitchensink-clojure-2.3.0/test/./puppetlabs/kitchensink/core_test.clj:1:1)
> >     at clojure.lang.Compiler.load(Compiler.java:7391)
> >     at clojure.lang.Compiler.loadFile(Compiler.java:7317)
> >     at clojure.main$load_script.invokeStatic(main.clj:275)
> >     at clojure.main$load_script.invoke(main.clj:268)
> >     at clojure.main$script_opt.invokeStatic(main.clj:337)
> >     at clojure.main$script_opt.invoke(main.clj:330)
> >     at clojure.main$main.invokeStatic(main.clj:421)
> >     at clojure.main$main.doInvoke(main.clj:384)
> >     at clojure.lang.RestFn.invoke(RestFn.java:436)
> >     at clojure.lang.Var.invoke(Var.java:388)
> >     at clojure.lang.AFn.applyToHelper(AFn.java:160)
> >     at clojure.lang.Var.applyTo(Var.java:700)
> >     at clojure.main.main(main.java:37)
> > Caused by: java.io.FileNotFoundException: Could not locate
> > puppetlabs/kitchensink/testutils__init.class or
> > puppetlabs/kitchensink/testutils.clj on classpath.
> 
> This seems to be the same problem which happens in honeysql-clojure or 
> ssl-utils-clojure.
> 
> There is a failed build log in reproducible-builds on armhf:
> 
> https://tests.reproducible-builds.org/debian/logs/buster/armhf/kitchensink-clojure_2.3.0-1.build2.log.gz
> 
> and I can reproduce it nearly 100% of the time on 1-XS instances (amd64) from 
> Scaleway.

You'll find attached a minimal patch that makes the issue go away by
sorting the tests before running them.

> I hope Cyril can team-upload this one as well.

I'll propose the same kind of patch as the other ones through salsa's MR
system, as requested/suggested by maintainers. :)


Cheers,
-- 
Cyril Brulebois (k...@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
diff --git a/debian/rules b/debian/rules
index 3711198..4cdd942 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ override_jh_classpath:
 
 override_dh_auto_test:
 	dh_auto_test
-	(cd test && find . -name "*_test.clj" | \
+	(cd test && find . -name "*_test.clj" | LC_ALL=C sort | \
 		xargs --verbose clojure -cp $(CURDIR)/$(PRODUCED_JAR):$(CLASSPATH))
 
 get-orig-source:

Attachment: signature.asc
Description: PGP signature

Reply via email to