From: "Ludovic Courtès" <ludo@gnu.org>
To: 60947@debbugs.gnu.org
Subject: bug#60947: Two different derivations for ‘guix’ depending on whether grafts are enabled
Date: Mon, 30 Jan 2023 17:04:30 +0100 [thread overview]
Message-ID: <87y1pkypo1.fsf@gnu.org> (raw)
In-Reply-To: <871qnqbka4.fsf@inria.fr> ("Ludovic Courtès"'s message of "Thu, 19 Jan 2023 16:45:23 +0100")
[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:
> We have a problem! Depending on whether grafts are enabled, we end up
> building one of two different derivations for ‘guix’ (“real”
> derivations; none of them is a mere grafting derivation):
A similar situation:
--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 244 Jan 29 2023 23:24:35 (current)
guix 4eccb27
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 4eccb27b4c74a9112cbbad722d85558e9565f20b
$ guix build ruby-nokogiri -d
/gnu/store/gfry2algsp4rw8mp9d75qlrns1radjar-ruby-nokogiri-1.13.10.drv
$ guix build ruby-nokogiri -d --no-grafts
/gnu/store/vdnp9ila1946dakcrs55x3iwjc781pbi-ruby-nokogiri-1.13.10.drv
--8<---------------cut here---------------end--------------->8---
This is causing a dozen of ‘ruby-’ package that ‘gnome-shell’ depends on
to be rebuilt locally, even though ‘guix weather gnome-shell’ says it’s
available. Annoying!
Patch coming.
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 761 bytes --]
--- #<buffer amy6awkzzb8spv8i5ns4m5izypjd0nhx-ruby-nokogiri-1.13.10-builder>
+++ #<buffer hiqgagwa3i407nyx3yndzlah835j8rgi-ruby-nokogiri-1.13.10-builder>
@@ -45,7 +45,7 @@
(assoc-ref %outputs "out"))
(ruby-build #:name "ruby-nokogiri-1.13.10" #:source "/gnu/store/82giwp6r123kky2fg6a0bkx7dyh0vp2h-nokogiri-1.13.10.gem" #:system "x86_64-linux" #:gem-flags
(list "--" "--use-system-libraries"
- (string-append "--with-xml2-include=" "/gnu/store/g3y6ifhm0751vgsxv90yipfw6mk189kj-libxml2-2.9.12" "/include/libxml2"))
+ (string-append "--with-xml2-include=" "/gnu/store/7h3rl7awha559jj0r7ba66njh27sb8pq-libxml2-2.9.12" "/include/libxml2"))
#:test-target "test" #:tests? #f #:phases
(modify-phases %standard-phases
(add-after
next prev parent reply other threads:[~2023-01-30 16:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 15:45 bug#60947: Two different derivations for ‘guix’ depending on whether grafts are enabled Ludovic Courtès
2023-01-19 16:58 ` Ludovic Courtès
2023-01-30 16:04 ` Ludovic Courtès [this message]
2023-01-30 16:08 ` [bug#61180] [PATCH] build-system: Always pass #:graft? #f to 'gexp->derivation' Ludovic Courtès
2023-02-03 15:28 ` bug#61180: " Ludovic Courtès
2023-01-30 16:19 ` bug#60947: Two different derivations for ‘guix’ depending on whether grafts are enabled Ludovic Courtès
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=87y1pkypo1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=60947@debbugs.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.