unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* install: invalid user ‘root’
@ 2017-08-21 20:28 Dmitry Nikolaev
  2017-08-22  9:56 ` Ludovic Courtès
  2017-08-22 16:57 ` Alex Kost
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Nikolaev @ 2017-08-21 20:28 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]

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)))

Dmitry Nikolaev

[-- Attachment #2: Type: text/html, Size: 2641 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-22 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 20:28 install: invalid user ‘root’ Dmitry Nikolaev
2017-08-22  9:56 ` Ludovic Courtès
2017-08-22 16:57 ` Alex Kost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).