New guile-cv version 0.4 Guix package definition

The Guile computer vision library guile-cv package definition on Guix targets a rather old version of this library and on my end it even fails to import.

I have started writing a package definition for the latest 0.4 version, but in order for it to finish installation I had to turn off the check build phase. It at least imports and I can read an image file with:

scheme@(guile-user)> ,use (cv)
scheme@(guile-user)> (im-load "some-image.jpg")

The current definition is in my channel under the guile-cv branch:

Does anyone knows why the checks fail?

Also, I see a lot of messages like:

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/bin/guild
;;; WARNING: compilation of /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/bin/guild failed:
;;; failed to create path for auto-compiled file "/gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/bin/guild"
  GEN      cv/support/pi.go

in the build phase.

2 Likes