Bug#642723: leiningen: FTBFS: Could not find the main class: clojure.main. Program will exit.

Mònica Ramírez Arceda monica at probeta.net
Sat Sep 24 18:44:35 UTC 2011


Source: leiningen
Version: 1.6.1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/build/leiningen-34BUDA/leiningen-1.6.1'
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/header.html > doc/DEPLOY.html
> sed -i'' -e 's/@TITLE@/Deploying Libraries/g' doc/DEPLOY.html
> markdown doc/DEPLOY.md >> doc/DEPLOY.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/footer.html >> doc/DEPLOY.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/header.html > doc/HACKING.html
> sed -i'' -e 's/@TITLE@/Hacking Leiningen/g' doc/HACKING.html
> markdown doc/HACKING.md >> doc/HACKING.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/footer.html >> doc/HACKING.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/header.html > doc/PLUGINS.html
> sed -i'' -e 's/@TITLE@/Leiningen Plugins/g' doc/PLUGINS.html
> markdown doc/PLUGINS.md >> doc/PLUGINS.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/footer.html >> doc/PLUGINS.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/header.html > doc/TUTORIAL.html
> sed -i'' -e 's/@TITLE@/Tutorial/g' doc/TUTORIAL.html
> markdown doc/TUTORIAL.md >> doc/TUTORIAL.html
> cat /build/leiningen-34BUDA/leiningen-1.6.1/debian/footer.html >> doc/TUTORIAL.html
> jar cvf lancet.jar -C src/lancet .
> added manifest
> adding: core.clj(in = 5404) (out= 2049)(deflated 62%)
> LEIN_ROOT=y CLASSPATH=/build/leiningen-34BUDA/leiningen-1.6.1/lancet.jar bin/lein compile :all, jar
> Exception in thread "main" java.lang.ExceptionInInitializerError
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:264)
> 	at clojure.lang.RT.loadClassForName(RT.java:1578)
> 	at clojure.lang.RT.load(RT.java:399)
> 	at clojure.lang.RT.load(RT.java:381)
> 	at clojure.core$load$fn__4519.invoke(core.clj:4915)
> 	at clojure.core$load.doInvoke(core.clj:4914)
> 	at clojure.lang.RestFn.invoke(RestFn.java:408)
> 	at clojure.core__init.load(Unknown Source)
> 	at clojure.core__init.<clinit>(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:264)
> 	at clojure.lang.RT.loadClassForName(RT.java:1578)
> 	at clojure.lang.RT.load(RT.java:399)
> 	at clojure.lang.RT.load(RT.java:381)
> 	at clojure.lang.RT.doInit(RT.java:416)
> 	at clojure.lang.RT.<clinit>(RT.java:302)
> 	at clojure.main.<clinit>(main.java:20)
> Caused by: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:186)
> 	at clojure.core_proxy__init.load(Unknown Source)
> 	at clojure.core_proxy__init.<clinit>(Unknown Source)
> 	... 18 more
> Could not find the main class: clojure.main. Program will exit.
> make[1]: *** [override_jh_build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/leiningen_1.6.1-1_lsid64.buildlog

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!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the pkg-java-maintainers mailing list