Hello,

I have been experimenting with using meson to manage some guile projects instead of autotools.

When I try to build it with guix it fails during 'shrink-runpath phase on .go files:

error: in phase 'shrink-runpath': uncaught exception:
wrong-type-arg "struct-vtable" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "struct" #f) (#f)
phase `shrink-runpath' failed after 0.0 seconds
Backtrace:
          10 (primitive-load "/gnu/store/9547znabbsf3iy7z9frhkxq7cgf…")
In guix/build/gnu-build-system.scm:
    966:2  9 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  7 (for-each #<procedure 7ffff3f30680 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   987:23  5 (_)
In guix/build/meson-build-system.scm:
    123:2  4 (shrink-runpath #:elf-directories _ #:outputs _)
In srfi/srfi-1.scm:
    634:9  3 (for-each #<procedure handle-output (expr)> (("out" . #)))
    634:9  2 (for-each #<procedure strip-runpath (file)> _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f
build process 8 exited with status 256


A test repository is at https://codeberg.org/Dariqq/guile-meson-example.



Reply via email to