** Description changed: A number of clojure dependencies fail to build/autopkgtest due to the following error: 221s ERROR in (pretty-print-nonescaped-unicode) (pretty_writer.clj:392) 221s expected: (= "\"ሴ䕧\"\n" (with-out-str (json/pprint "ሴ䕧" :escape-unicode false))) 221s actual: java.lang.ClassCastException: class clojure.pprint.proxy$java.io.Writer$IDeref$PrettyFlush$4923d848 cannot be cast to class clojure.pprint.PrettyFlush (clojure.pprint.proxy$java.io.Writer$IDeref$PrettyFlush$4923d848 is in unnamed module of loader 'app'; clojure.pprint.PrettyFlush is in unnamed module of loader clojure.lang.DynamicClassLoader @792e8181) 221s at clojure.pprint$pretty_writer$fn__6258.invoke (pretty_writer.clj:392) 221s clojure.pprint.proxy$java.io.Writer$IDeref$PrettyFlush$4923d848.flush (:-1) 221s clojure.core$flush.invokeStatic (core.clj:3737) 221s clojure.core$flush.invoke (core.clj:3731) https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest- resolute/resolute/amd64/d/data-json- clojure/20260305_131326_a3042@/log.gz This issue is an old one[1], it manifests when we rebuild clojure itself and package dependent on clojure has AOT-compiled classes. The transition no-change rebuild should resolve those issue. - We need to rebuild clojure and then its dependencies. - + We need to rebuild clojure and then its dependencies. This way we get + Java 25 classes in clojure class libraries and update all the + dependencies to Java 25. [1] https://github.com/cursive-ghost/gradle-clojure/issues/8
** Summary changed: - Clojure and dependencies need to be rebuild in order to avoid AOT class issue + Clojure and dependencies need to be rebuilt in order to avoid AOT class issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2143373 Title: Clojure and dependencies need to be rebuilt in order to avoid AOT class issue To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clojure/+bug/2143373/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
