unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Erik Grun <egnun@mailbox.org>
Cc: guile-user@gnu.org
Subject: Re: G-Golf - Installation problems in Guix
Date: Mon, 29 May 2023 17:17:49 +0200	[thread overview]
Message-ID: <87edmztbdu.fsf@pelzflorian.de> (raw)
In-Reply-To: <87sfbg5tbc.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Sun, 28 May 2023 18:12:07 +0200")

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

Erik, following up on your idea about using --with-input, I used the
code equivalent of --with-input and wrote the attached manifest that
installs GTK with the same glib@2.73.3 as guile-g-golf (and also
upgrades g-golf to version 0.8.0-a.4 as recommended by David Pirotte).

guix shell -m guile-g-golf-with-gtk.scm

Unfortunately, GTK indirectly depends on python-pygobject@3.10.7 and its
test suite fails reproducibly for me with the newer glib.
(pygobject-test-suite gets killed by SIGTRAP.)  If you wanted to
investigate, you could try adding a --without-tests transformation to
disable pygobject’s test suite or see what Debian does differently.
Or unlikely maybe, pygobject would not fail on faster hardware?

I will not investigate further.

Regards,
Florian


[-- Attachment #2: guile-g-golf-with-gtk.scm --]
[-- Type: application/octet-stream, Size: 659 bytes --]

(use-modules (gnu packages glib)
             (gnu packages gtk)
             (gnu packages guile-xyz) ;for guile-g-golf
             (guix packages)
             (guix transformations))

(define rewrite-glib-to-glibnext
  (package-input-rewriting
   `((,glib . ,glib-next)
     (,gobject-introspection . ,gobject-introspection-next))))

(define rewrite-g-golf-to-a4
  (options->transformation
   ;; For some reason, with-version fails to find the git tags; use with-commit.
   '((with-commit . "guile-g-golf=66123dc74589843a5665234068c4a23767d34f0b"))))

(packages->manifest
 (list (rewrite-glib-to-glibnext gtk)
       (rewrite-g-golf-to-a4 guile-g-golf)))

  parent reply	other threads:[~2023-05-29 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-28  9:56 G-Golf - Installation problems in Guix Erik Grun
2023-05-28 10:11 ` Erik Grun
2023-05-28 16:12 ` pelzflorian (Florian Pelz)
2023-05-28 19:46   ` Mike Gran
2023-05-29 15:17   ` pelzflorian (Florian Pelz) [this message]
2023-05-28 19:21 ` David Pirotte

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=87edmztbdu.fsf@pelzflorian.de \
    --to=pelzflorian@pelzflorian.de \
    --cc=egnun@mailbox.org \
    --cc=guile-user@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.
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).