Paste number 139484: kbd expression, set-locale-utf8 phase breaks

Paste number 139484: kbd expression, set-locale-utf8 phase breaks
Pasted by: gzg
When:6 years, 7 months ago
Share:Tweet this! | http://paste.lisp.org/+2ZMK
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-module (gnu packages kbd)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix packages)
  #:use-module (gnu packages linux))

(define-public kbd
  (package
    (name "kbd")
    (version "1.15.3")
    (source (origin
	     (method url-fetch)
	     (uri (string-append "http://www.kbd-project.org/download/kbd-"
				  version ".tar.gz"))
	     (sha256
	      (base32 "1vcl2791xshjdpi4w88iy87gkb7zv0dbvi83f98v30dvqc9mfl46"))))
    (build-system gnu-build-system)
    (inputs `(("linux-pam" ,linux-pam)))
    (arguments '(#:phases (alist-cons-after 'unpack
	      'set-locale-utf8 (lambda _ (setlocale "LC_ALL" "en_US.utf8"))
	      %standard-phases)))
    (home-page "http://kbd-project.org")
    (synopsis "Keytable files and keyboard utilities")
    (description
     "Kbd contains tools for managing Linux console (Linux console, virtual terminals, 
keyboard, etc.) – mainly, what they do is loading console fonts and keyboard maps.")
    (license gpl2)))

-----------------------------------------------------------

phase `unpack' succeeded after 0 seconds
starting phase `set-locale-utf8'
Backtrace:
In ice-9/boot-9.scm:
 157: 12 [catch #t #<catch-closure 1ca8d20> ...]
In unknown file:
   ?: 11 [apply-smob/1 #<catch-closure 1ca8d20>]
In ice-9/boot-9.scm:
  63: 10 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 9 [eval # #]
In ice-9/boot-9.scm:
2320: 8 [save-module-excursion #<procedure 1cd7bc0 at ice-9/boot-9.scm:3961:3 ()>]
3966: 7 [#<procedure 1cd7bc0 at ice-9/boot-9.scm:3961:3 ()>]
1645: 6 [%start-stack load-stack ...]
1650: 5 [#<procedure 1cdddb0 ()>]
In unknown file:
   ?: 4 [primitive-load "/nix/store/8mymd4hqani2glpg8hgyffj8rdf7wk2w-kbd-1.15.3-guile-builder"]
In ice-9/eval.scm:
 387: 3 [eval # ()]
In srfi/srfi-1.scm:
 830: 2 [every1 #<procedure 1e6e7c0 at /nix/store/5kbwbhzkvndzlx0yldg3532xn7j74cwz-module-import/guix/build/gnu-build-system.scm:364:9 (expr)> ...]
In /nix/store/5kbwbhzkvndzlx0yldg3532xn7j74cwz-module-import/guix/build/gnu-build-system.scm:
 368: 1 [#<procedure 1e6e7c0 at /nix/store/5kbwbhzkvndzlx0yldg3532xn7j74cwz-module-import/guix/build/gnu-build-system.scm:364:9 (expr)> #]
In unknown file:
   ?: 0 [setlocale "LC_ALL" "en_US.utf8"]

ERROR: In procedure setlocale:
ERROR: Wrong type (expecting exact integer): "LC_ALL"
builder for `/nix/store/ash1zadikg0pa8m4yh3k0g3yp2yzzppa-kbd-1.15.3.drv' failed with exit code 1
@ build-failed /nix/store/ash1zadikg0pa8m4yh3k0g3yp2yzzppa-kbd-1.15.3.drv - 1 builder for `/nix/store/ash1zadikg0pa8m4yh3k0g3yp2yzzppa-kbd-1.15.3.drv' failed with exit code 1
guix build: error: build failed: build of `/nix/store/ash1zadikg0pa8m4yh3k0g3yp2yzzppa-kbd-1.15.3.drv' failed

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.