all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Frederickson <jonathan@terracrypt.net>
To: guix-devel@gnu.org
Subject: Permissions error during libhandy build - looking for tips
Date: Sun, 7 Jul 2019 12:41:46 -0400	[thread overview]
Message-ID: <20190707124146.45d1f173@terracrypt.net> (raw)

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

Hi! I'm trying to package libhandy for Guix, but I'm running into some
issues. libhandy uses Meson for builds - I'm not super familiar
with it, but it looks like something during the installation process is
trying to write to a path in /gnu/store that it doesn't have
permissions to write to.

I'm still fairly new to Guix packaging so it's not obvious to me why
this is failing at the moment. I've attached the build log and what I
have so far for the package definition. If anyone has advice that could
be helpful here, it would be highly appreciated!

(This package also has tests that look like they require access to an
X server, which fail - I think this is expected? I've just disabled
tests for the time being, but is there any way to actually run tests
like that during a build in Guix?)

[-- Attachment #2: pnr4lf4db2s0dpqzclhfg0326fpzgk-libhandy-v0.0.9.drv.bz2 --]
[-- Type: application/x-bzip, Size: 10114 bytes --]

[-- Attachment #3: libhandy.scm --]
[-- Type: text/x-scheme, Size: 1651 bytes --]

(define-module (libhandy)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix build-system meson)
  #:use-module (guix download)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages cmake)
  #:use-module (gnu packages gettext))

(define-public libhandy
  (package
    (name "libhandy")
    (version "v0.0.9")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://source.puri.sm/Librem5/libhandy/-/archive/"
                           version
                           "/libhandy-"
                           version
                           ".tar.gz"))
       (sha256
        (base32 "18wqyfj33a184d0b030wlx9i5m67bpv2vp803nyglbj8m9pc1wx9"))))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f))
    (inputs
     `(("gobject-introspection" ,gobject-introspection)
       ("gtk-doc" ,gtk-doc)
       ("glib" ,glib)
       ("gladeui" ,libglade)
       ("gnome-desktop" ,gnome-desktop)
       ("gtk+" ,gtk+)
       ("libxml2" ,libxml2)
       ("pkg-config" ,pkg-config)
       ("vala" ,vala)
       ("glade" ,glade3)))
    (native-inputs
     `(("glib:bin" ,glib "bin")
       ("gettext" ,gettext-minimal)))
    (home-page "https://source.puri.sm/Librem5/libhandy")
    (synopsis "A library full of GTK+ widgets for mobile phones")
    (description "The aim of The handy library is to help with developing UI for mobile devices
using GTK+/GNOME.")
    (license license:lgpl2.1)))

libhandy

             reply	other threads:[~2019-07-07 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07 16:41 Jonathan Frederickson [this message]
2019-07-07 18:47 ` Permissions error during libhandy build - looking for tips Jonathan Brielmaier
2019-07-07 21:40   ` Jonathan Frederickson
2019-07-08  9:23     ` Jonathan Brielmaier
2019-07-08 15:53       ` Jonathan Brielmaier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190707124146.45d1f173@terracrypt.net \
    --to=jonathan@terracrypt.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.