From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: =?UTF-8?B?aW5zdGFsbDogaW52YWxpZCB1c2VyIOKAmHJvb3TigJk=?= Date: Mon, 21 Aug 2017 23:28:56 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0562f8fb3d620557495320" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djtJk-0007h7-6x for help-guix@gnu.org; Mon, 21 Aug 2017 16:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djtJj-0003XI-1J for help-guix@gnu.org; Mon, 21 Aug 2017 16:29:00 -0400 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:33721) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djtJi-0003WF-RU for help-guix@gnu.org; Mon, 21 Aug 2017 16:28:58 -0400 Received: by mail-qk0-x229.google.com with SMTP id a77so88280002qkb.0 for ; Mon, 21 Aug 2017 13:28:57 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --94eb2c0562f8fb3d620557495320 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98root=E2=80=99 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))) Dmitry Nikolaev --94eb2c0562f8fb3d620557495320 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi. I'm trying to build Xawtv in G= uixSD to use my webcamera during screencasts. I wrote package defintion for= xawtv, it passes configuration and build phases, but fails on install phas= e with error:

/gnu/store/6908gy3pws0ccys49ni98idwnicchlr2-coreutils-= 8.26/bin/install: invalid user =E2=80=98root=E2=80=99

What do = I need to do to avoid this error?


Here is xawtv.scm = that I wrote:

(define-module (xawtv)
=C2=A0 #:use-module (guix li= censes)
=C2=A0 #:use-module (gnu packages)
=C2=A0 #:use-module (gnu p= ackages ncurses)
=C2=A0 #:use-module (gnu packages image)
=C2=A0 #:us= e-module (gnu packages video)
=C2=A0 #:use-module (gnu packages base)=C2=A0 #:use-module (gnu packages linux)
=C2=A0 #:use-module (gnu packa= ges xorg)
=C2=A0 #:use-module (gnu packages perl)
=C2=A0 #:use-module= (gnu packages fontutils)
=C2=A0 #:use-module (guix build-system gnu)=C2=A0 #:use-module (guix packages)
=C2=A0 #:use-module (guix download)=
=C2=A0 #:use-module (guix gexp))

(define-public xawtv
=C2=A0 = (package
=C2=A0=C2=A0 (name "xawtv")
=C2=A0=C2=A0 (version = "3.103")
=C2=A0=C2=A0 (source (origin
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (method url-fetch)
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (uri (string-a= ppend "https://= linuxtv.org/downloads/xawtv/xawtv-"
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 version ".tar.bz2"))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (sha256
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (base32
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "0lnxr3xi= p80g0rz7h6n14n9d1qy0cm56h0g1hsyr982rbldskwrc"))))
=C2=A0=C2=A0 (bui= ld-system gnu-build-system)
=C2=A0=C2=A0 (inputs
=C2=A0=C2=A0=C2=A0 `= (("ncurses" ,ncurses)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("li= bjpeg", libjpeg)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("alsa-lib&quo= t; ,alsa-lib)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("v4l-utils" ,v4l= -utils)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("glibc" ,glibc)
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ("libx11" ,libx11)
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ("libxt" ,libxt)
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ("libxaw" ,libxaw)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("l= ibxmu" ,libxmu)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("libxpm" = ,libxpm)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("libxext" ,libxext)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("libxv" ,libxv)
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ("perl" ,perl)
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ("fontconfig" ,fontconfig)))
=C2=A0=C2=A0 (arguments
= =C2=A0=C2=A0=C2=A0=C2=A0 `(#:tests? #f))=C2=A0 ;no check target

(syn= opsis "Watch television at the PC")
=C2=A0=C2=A0 (description = "Watch television or webcam at the PC")
=C2=A0=C2=A0 (home-pag= e "https://linuxtv.org/")=C2=A0=C2=A0 (license gpl2)))

Dmitry Nikolaev
--94eb2c0562f8fb3d620557495320--