all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Florian Hoertlehner <hoertlehner@gmail.com>
Cc: 52267@debbugs.gnu.org
Subject: bug#52267: Acknowledgement (disk image installer for rock64 fails)
Date: Thu, 09 Dec 2021 07:49:46 +0000	[thread overview]
Message-ID: <03ea59a06605b4451293808051afa3e1cc3f4882.camel@telenet.be> (raw)
In-Reply-To: <81e8d85afc6e1bf045983864f7a277b4c2da59af.camel@telenet.be>

Maxime Devos schreef op do 09-12-2021 om 07:45 [+0000]:
> > [...]
> > Seems like there are two bugs in the dosfstools package definition
> > currently preventing cross-compilation:
> > 
> > This line  ...
> > > #:make-flags (list (string-append "PREFIX=" %output) "CC=gcc")))
> > 
> > ... needs to be replaced by ...
> > 
> > > #:make-flags ,#~(list (string-append "PREFIX=" #$output) (string-
> > > append "CC=" ,(cc-for-target)))

Correction, it must be

> #:make-flags ,#~(list (string-append "PREFIX=" #$output) (string-append "CC=" #$(cc-for-target))).

(#$(cc-for-target) instead of ,(cc-for-target)).

That makes the cross-build

./guix-cuf/bin/guix build --target=aarch64-linux-gnu -e '((@ (guix packages) package) (inherit (@ (gnu packages disk) dosfstools)) (arguments `(#:make-flags ,#~(list (string-append "PREFIX=" #$output) (string-append "CC=" #$((@ (guix utils) cc-for-target)))) #:configure-flags (list "--enable-compat-symlinks"))))'

succeed for me, though I don't have an aarch64 to test it on.
The output from 'guix gc --references' only show a glibc-cross-... and gcc-cross-...-lib,
so presumably the cross-compiled package will work.

Greetings,
Maxime





      reply	other threads:[~2021-12-09  7:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04  0:03 bug#52267: disk image installer for rock64 fails Florian Hoertlehner
2021-12-04  2:41 ` pelzflorian (Florian Pelz)
2021-12-04 11:39   ` pelzflorian (Florian Pelz)
2021-12-04 21:02     ` pelzflorian (Florian Pelz)
     [not found] ` <handler.52267.B.16385762085695.ack@debbugs.gnu.org>
2021-12-04 17:02   ` bug#52267: Acknowledgement (disk image installer for rock64 fails) Florian Hoertlehner
2021-12-08 13:56     ` Florian Hoertlehner
2021-12-08 17:27       ` Maxime Devos
2021-12-08 18:26         ` Florian Hoertlehner
2021-12-08 19:20           ` Maxime Devos
2021-12-08 19:42             ` Florian Hoertlehner
     [not found]               ` <CADXXfWmam+VE=vnbqyJyhBQPGGK+E1QMsrzvtMdatou7t7vn4w@mail.gmail.com>
     [not found]                 ` <5f34f1895a26d5e4fbd51b409b18b64f79290861.camel@telenet.be>
2021-12-09  7:45                   ` Maxime Devos
2021-12-09  7:49                     ` Maxime Devos [this message]

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=03ea59a06605b4451293808051afa3e1cc3f4882.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=52267@debbugs.gnu.org \
    --cc=hoertlehner@gmail.com \
    /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.