engstrand-config / home-service-dtao-guile

GNU Guix home service for the dtao statusbar with dynamic configuration in Guile Scheme
GNU General Public License v3.0
11 stars 1 forks source link

Can't guix pull #7

Closed KjartanOli closed 2 months ago

KjartanOli commented 2 months ago

I've just added this channel to try out dtao-guile. guix pull fails with this error:

building /gnu/store/i8pw45d4jssqzyi6wi9miqign912vmh6-home-service-dtao-guile.drv...
(repl-version 0 1 1)

error: failed to compile '/gnu/store/8iapqcm56w78d73xdvfh1036i7m25mcq-home-service-dtao-guile-ad32455//dtao-guile/home-service.scm':

dtao-guile/configuration/blocks.scm:29:19: warning: possibly unbound variable `RTMIN'
In ice-9/psyntax.scm:
  1478:23 19 (_ _ _)
In ice-9/boot-9.scm:
   222:29 18 (map1 (#<syntax:home-service.scm:128:6 (#<syntax:con?> ?))
   222:29 17 (map1 (#<syntax:home-service.scm:128:6 (#<syntax quo?> ?))
   222:17 16 (map1 (#<syntax:home-service.scm:135:8 (#<syntax:home-?>))
In ice-9/psyntax.scm:
  1478:23 15 (_ _ _)
In ice-9/boot-9.scm:
   222:29 14 (map1 (#<syntax:home-service.scm:135:16 (#<syntax:ho?> ?))
   222:17 13 (map1 (#<syntax:home-service.scm:136:16 (#<syntax:home?>))
In ice-9/psyntax.scm:
  1401:23 12 (expand-expr _ _ _ (#<syntax:home-service.scm:136:1?> ?) ?)
  1327:27 11 (syntax-type (#<syntax:srfi-9.scm:123:24 lambda> #<?> ?) ?)
  1311:39 10 (syntax-type lambda (("placeholder" placeholder) # # ?) ?)
   906:15  9 (resolve-identifier lambda ((# # top) shift #(# # ?) ?) ?)
   775:21  8 (id-var-name lambda _ _)
   757:39  7 (search lambda (#(ribcage (dtao-config-layer # ?) ?) ?) ?)
In ice-9/boot-9.scm:
  1685:16  6 (raise-exception _ #:continuable? _)
  1685:16  5 (raise-exception _ #:continuable? _)
  1780:13  4 (_ #<&compound-exception components: (#<&assertion-fail?>)
In guix/build/compile.scm:
    191:6  3 (_ _ . _)
In ice-9/boot-9.scm:
  1747:15  2 (with-exception-handler #<procedure 7fffddec2a20 at ic?> ?)
In guix/build/compile.scm:
   194:22  1 (_)
In unknown file:
           0 (make-stack #t)
guix/build/compile.scm:194:22: In procedure cdr: Wrong type argument in position 1 (expecting pair): ()
Backtrace:
           1 (primitive-load "/gnu/store/w9km5cqvgiksssp9asc4bzmqkpg?")
In ice-9/boot-9.scm:
   2007:7  0 (error _ . _)

ice-9/boot-9.scm:2007:7: In procedure error:
inferior failed "/gnu/store/0inbp5pnlj1q6issgibb9f3c0vk1aspv-guix-f9ed5788f"
builder for `/gnu/store/i8pw45d4jssqzyi6wi9miqign912vmh6-home-service-dtao-guile.drv' failed with exit code 1
build of /gnu/store/i8pw45d4jssqzyi6wi9miqign912vmh6-home-service-dtao-guile.drv failed
View build log at '/var/log/guix/drvs/i8/pw45d4jssqzyi6wi9miqign912vmh6-home-service-dtao-guile.drv.gz'.
cannot build derivation `/gnu/store/pwjs5rmyy1s4mkr6fpljc37vma9v294w-profile.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/pwjs5rmyy1s4mkr6fpljc37vma9v294w-profile.drv' failed
Frewacom commented 2 months ago

I suppose this is most likely caused by some update to Guix or Guix home in the past months, since I have not updated my system for quite a while. Sadly, the error messages are incredibly cryptic in cases like these.

If you have the time, you could try including it manually by cloning the repo and using the -L option when configuring with Guix home. That way you could try to figure where the issue is and make it compile.

KjartanOli commented 2 months ago

I will probably do that later this week. I'll let you know if I can figure it out.

KjartanOli commented 2 months ago

Whatever it was it was either transient or has been fixed in Guix. I've just tried pulling again and it worked without any issues.

Frewacom commented 2 months ago

Nice!