Message ID | b9816b12ede7922cc392788e9d8d29758a7ff389.1689690897.git.janneke@gnu.org |
---|---|
State | New |
Headers | show |
Series | Fix builds and skip failing tests for the Hurd. | expand |
Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke Nieuwenhuizen: > Gobject-introspection and libdrm does not build for the Hurd. > Poppler depends > on nss, which does not build for the Hurd. > > * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the > Hurd, do > not include gobject-introspection. > [inputs]: Likewise, do not include libdrm, poppler. Could we provide a minimal gobject-introspection that builds for the hurd? Cheers
Liliana Marie Prikler writes: > Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke > Nieuwenhuizen: >> Gobject-introspection and libdrm does not build for the Hurd. >> Poppler depends >> on nss, which does not build for the Hurd. >> >> * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the >> Hurd, do >> not include gobject-introspection. >> [inputs]: Likewise, do not include libdrm, poppler. > Could we provide a minimal gobject-introspection that builds for the > hurd? That would be nice. Note that Debian doesn't support gobject-introspection on the Hurd, unless I'm mistaken. Greetings, Janneke
Hi, Janneke Nieuwenhuizen <janneke@gnu.org> writes: > Liliana Marie Prikler writes: > >> Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke >> Nieuwenhuizen: >>> Gobject-introspection and libdrm does not build for the Hurd. >>> Poppler depends >>> on nss, which does not build for the Hurd. >>> >>> * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the >>> Hurd, do >>> not include gobject-introspection. >>> [inputs]: Likewise, do not include libdrm, poppler. > >> Could we provide a minimal gobject-introspection that builds for the >> hurd? > > That would be nice. Note that Debian doesn't support > gobject-introspection on the Hurd, unless I'm mistaken. I wonder what prevents gobject-introspection from running on the Hurd?
Maxim Cournoyer writes: Hi! > Janneke Nieuwenhuizen <janneke@gnu.org> writes: > >> Liliana Marie Prikler writes: >> >>> Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke >>> Nieuwenhuizen: >>>> Gobject-introspection and libdrm does not build for the Hurd. >>>> Poppler depends >>>> on nss, which does not build for the Hurd. >>>> >>>> * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the >>>> Hurd, do >>>> not include gobject-introspection. >>>> [inputs]: Likewise, do not include libdrm, poppler. >> >>> Could we provide a minimal gobject-introspection that builds for the >>> hurd? >> >> That would be nice. Note that Debian doesn't support >> gobject-introspection on the Hurd, unless I'm mistaken. > > I wonder what prevents gobject-introspection from running on the Hurd? Find build log attached. Janneke
Hi Janneke, Janneke Nieuwenhuizen <janneke@gnu.org> writes: > Maxim Cournoyer writes: > > Hi! > >> Janneke Nieuwenhuizen <janneke@gnu.org> writes: >> >>> Liliana Marie Prikler writes: >>> >>>> Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke >>>> Nieuwenhuizen: >>>>> Gobject-introspection and libdrm does not build for the Hurd. >>>>> Poppler depends >>>>> on nss, which does not build for the Hurd. >>>>> >>>>> * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the >>>>> Hurd, do >>>>> not include gobject-introspection. >>>>> [inputs]: Likewise, do not include libdrm, poppler. >>> >>>> Could we provide a minimal gobject-introspection that builds for the >>>> hurd? >>> >>> That would be nice. Note that Debian doesn't support >>> gobject-introspection on the Hurd, unless I'm mistaken. >> >> I wonder what prevents gobject-introspection from running on the Hurd? > > Find build log attached. Interesting. Debian carries no Hurd patch for it [0], and upstream doesn't seem to know about this issue [1]. [0] http://deb.debian.org/debian/pool/main/g/gobject-introspection/gobject-introspection_1.76.1-1.debian.tar.xz [1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/?sort=created_date&state=opened&search=getauxval&first_page_size=20
Maxim Cournoyer writes: Hi Maxim, > Janneke Nieuwenhuizen <janneke@gnu.org> writes: > >> Maxim Cournoyer writes: >> >> Hi! >> >>> Janneke Nieuwenhuizen <janneke@gnu.org> writes: >>> >>>> Liliana Marie Prikler writes: >>>> >>>>> Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke >>>>> Nieuwenhuizen: >>>>>> Gobject-introspection and libdrm does not build for the Hurd. >>>>>> Poppler depends >>>>>> on nss, which does not build for the Hurd. >>>>>> >>>>>> * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the >>>>>> Hurd, do >>>>>> not include gobject-introspection. >>>>>> [inputs]: Likewise, do not include libdrm, poppler. >>>> >>>>> Could we provide a minimal gobject-introspection that builds for the >>>>> hurd? >>>> >>>> That would be nice. Note that Debian doesn't support >>>> gobject-introspection on the Hurd, unless I'm mistaken. I was mistaken; I've checked it again and gobject-introspection is installable for the Hurd. --8<---------------cut here---------------start------------->8--- ii gobject-introspection 1.74.0-3 hurd-i386 Generate interface introspection data for GObject libraries --8<---------------cut here---------------end--------------->8--- >>> I wonder what prevents gobject-introspection from running on the Hurd? >> >> Find build log attached. > > Interesting. Debian carries no Hurd patch for it [0], and upstream > doesn't seem to know about this issue [1]. Hmm? Interesting indeed... > [0] http://deb.debian.org/debian/pool/main/g/gobject-introspection/gobject-introspection_1.76.1-1.debian.tar.xz > [1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/?sort=created_date&state=opened&search=getauxval&first_page_size=20
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 9621357b99..eb69a88221 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2023 Sergiu Ivanov <sivanov@colimite.fr> ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -194,15 +195,21 @@ (define-public cairo (assoc-ref %outputs "doc") "/share/gtk-doc/html")))) (native-inputs - `(("gobject-introspection" ,gobject-introspection) + `(,@(if (target-hurd?) + '() + `(("gobject-introspection" ,gobject-introspection))) ("pkg-config" ,pkg-config) ("python" ,python-wrapper))) (inputs `(("bash-minimal" ,bash-minimal) ;for glib-or-gtk-wrap - ("drm" ,libdrm) + ,@(if (target-hurd?) + '() + `(("drm" ,libdrm))) ("ghostscript" ,ghostscript) ("libspectre" ,libspectre) - ("poppler" ,poppler))) + ,@(if (target-hurd?) + '() + `(("poppler" ,poppler))))) (propagated-inputs `( ;; ("cogl" ,cogl) ;; ("directfb" ,directfb)