From: "André Batista" <nandre@riseup.net>
To: Kaelyn <kaelyn.alexi@protonmail.com>
Cc: "Andreas Enge" <andreas@enge.fr>,
"Ludovic Courtès" <ludo@gnu.org>,
guix-devel@gnu.org
Subject: Re: Merging ‘core-updates’ real soon
Date: Thu, 29 Aug 2024 20:41:47 -0300 [thread overview]
Message-ID: <ZtEHO1VpV3MvVIDs@andel> (raw)
In-Reply-To: <Rc96KGqqHk0g_YaQlbjgCVcMfdzj5VuA9Jyhl7skf8Hq-3Q96vYYazD3KjKSOPjF3OF9STR204-XjfFkry8vSjzxSsvWmf2mBNCJ6Sf6v2o=@protonmail.com>
Hi,
qua 28 ago 2024 às 18:56:45 (1724882205), kaelyn.alexi@protonmail.com enviou:
> >
> > Thoughts?
>
> Do you have any modifications to e.g. the binutils package definition? It looks like the error is coming from using "cons" to append a configure flag; from the output above:
Not local, no.
> #:configure-flags (cons "--enable-64-bit-bfd" #<gexp (quote ("LDFLAGS=-static-libgcc" "--enable-new-dtags" "--with-lib-path=/no-ld-lib-path" "--enable-install-libbfd" "--enable-deterministic-archives" "--enable-64-bit-bfd" "--enable-compressed-debug-sections=all" "--enable-lto" "--enable-separate-code" "--enable-threads")) gnu/packages/base.scm:661:28 a765d108>)
>
> I'd encountered a similar error in the past after more packages were migrated to use gexps because I hadn't yet learned of the gexp-aware helpers like "substitute-keyword-arguments". Basically the configure flags need to be extended using gexp operations instead of basic list operations like "cons". An example can be seen in the definition of "binutils-boot0" in gnu/packages/commencement.scm:
>
> (substitute-keyword-arguments (package-arguments binutils)
> ((#:configure-flags cf)
> #~(append (list #$(string-append "--target="
> (boot-triplet))
> "--disable-gprofng") ;requires Bison
> #$cf)))))
But your comment put me on the right track and it seems both grub and
ipxe-qemu use inherited binutils' definitions which were trying to set
configure-flags using simple list procedures. I've sent a patch fixing
that on #72882, but I guess that patch can wait and be merged on master
right after core-updates?
Cheers,
next prev parent reply other threads:[~2024-08-29 23:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 20:43 Merging ‘core-updates’ real soon Ludovic Courtès
2024-08-21 22:07 ` Kaelyn
2024-08-22 15:39 ` Ludovic Courtès
2024-08-22 9:50 ` Andreas Enge
2024-08-26 14:33 ` André Batista
2024-08-27 19:04 ` André Batista
2024-08-28 16:48 ` André Batista
2024-08-28 18:56 ` Kaelyn
2024-08-29 23:41 ` André Batista [this message]
2024-08-22 12:07 ` Ricardo Wurmus
2024-08-22 13:00 ` Andreas Enge
2024-08-22 17:51 ` Roman Scherer
-- strict thread matches above, loose matches on Subject: below --
2024-08-22 19:12 nathan via Development of GNU Guix and the GNU System distribution.
2024-08-25 18:19 ` John Kehayias
2024-08-28 21:16 ` Ludovic Courtès
2024-08-29 9:17 ` Ludovic Courtès
2024-08-29 19:53 ` Ludovic Courtès
2024-08-29 21:05 ` Kaelyn
2024-08-29 21:53 ` Nicolas Goaziou via Development of GNU Guix and the GNU System distribution.
2024-08-30 8:16 ` 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=ZtEHO1VpV3MvVIDs@andel \
--to=nandre@riseup.net \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=kaelyn.alexi@protonmail.com \
--cc=ludo@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.