Hi. I'm trying to build Xawtv in GuixSD to use my webcamera during screencasts. I wrote package defintion for xawtv, it passes configuration and build phases, but fails on install phase with error:
/gnu/store/6908gy3pws0ccys49ni98idwnicchlr2-coreutils-8.26/bin/install: invalid user ‘root’
What do I need to do to avoid this error?
Here is xawtv.scm that I wrote:
(define-module (xawtv)
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages image)
#:use-module (gnu packages video)
#:use-module (gnu packages base)
#:use-module (gnu packages linux)
#:use-module (gnu packages xorg)
#:use-module (gnu packages perl)
#:use-module (gnu packages fontutils)
#:use-module (guix build-system gnu)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp))
(define-public xawtv
(package
(name "xawtv")
(version "3.103")
(source (origin
(method url-fetch)
(uri (string-append "
https://linuxtv.org/downloads/xawtv/xawtv-"
version ".tar.bz2"))
(sha256
(base32
"0lnxr3xip80g0rz7h6n14n9d1qy0cm56h0g1hsyr982rbldskwrc"))))
(build-system gnu-build-system)
(inputs
`(("ncurses" ,ncurses)
("libjpeg", libjpeg)
("alsa-lib" ,alsa-lib)
("v4l-utils" ,v4l-utils)
("glibc" ,glibc)
("libx11" ,libx11)
("libxt" ,libxt)
("libxaw" ,libxaw)
("libxmu" ,libxmu)
("libxpm" ,libxpm)
("libxext" ,libxext)
("libxv" ,libxv)
("perl" ,perl)
("fontconfig" ,fontconfig)))
(arguments
`(#:tests? #f)) ;no check target
(synopsis "Watch television at the PC")
(description "Watch television or webcam at the PC")
(home-page "
https://linuxtv.org/")
(license gpl2)))