all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Tobias Platen <guix@platen-software.de>
Cc: guix-devel@gnu.org
Subject: Re: cross compiling using qemu-user-static
Date: Sat, 05 Feb 2022 18:26:43 +0100	[thread overview]
Message-ID: <936f65d963069445f7300c6ef7c191a23281e482.camel@telenet.be> (raw)
In-Reply-To: <c2b72e18bf99776b44b7ff0f1ea34edca9ff99f8.camel@platen-software.de>

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

Tobias Platen schreef op za 05-02-2022 om 17:20 [+0100]:
> On Sat, 2022-02-05 at 17:09 +0100, Maxime Devos wrote:
> > Tobias Platen schreef op za 05-02-2022 om 16:14 [+0100]:
> > > Some time ago I was able to cross compile emacs to run on the
> > > OpenPandora[1] using guix. That seems to be broken:
> > > 
> > > guix pack --target=armhf-linux-gnu openssh emacs libhandy
> > > guix pack: error: gnu/packages/emacs.scm:77:2: emacs@27.2: build
> > > system
> > > `glib-or-gtk' does not support cross builds
> > 
> > Is your guix up to date?  Cross-compilation for 'glib-or-gtk' has
> > been
> > implemented in:
> > 
> > commit 881a5d26b2fdf9ccb222b26b2a533cd09ffc62c8
> > Author: Maxime Devos <maximedevos@telenet.be>
> > Date:   Tue Aug 24 11:06:53 2021 +0200
> > 
> I did a guix pull today.

Weird, if I do
‘guix pack --target=arm-linux-gnueabihf emacs libhandy openssh’
then it starts substituting source code and building:

> $ guix pack --target=arm-linux-gnueabihf emacs libhandy openssh
> De volgende distillaties zullen gebouwd worden:
>    /gnu/store/c5svd5lbx26rysgm3r4ln89n1l74cif0-openssl-1.1.1m.drv
>    /gnu/store/2scsyrlwbjy466p2dy2qay5fwwm6yp5x-glibc-cross-arm-linux-gnueabihf-2.33.drv
>    /gnu/store/60x13abw5wr2yr1d0d6db2pspgbla1d0-linux-libre-headers-cross-arm-linux-gnueabihf-5.10.35.drv
>    /gnu/store/6w9anqnsfpgjk90x4ldbq17m4g75g4lc-gcc-cross-arm-linux-gnueabihf-10.3.0.drv
>    /gnu/store/55m8qc9ybxrrip3pizxbcka0axfp0z11-expat-2.4.4.drv
>
> 30,7 MB zal binnengehaald worden
>  expat-2.4.4.tar.xz  439KiB                                    2.5MiB/s 00:00 [##################] 100.0%
>  binutils-cross-arm-linux-gnueabihf-2.37  6.9MiB               1.9MiB/s 00:04 [##################] 100.0%
>  gcc-cross-sans-libc-arm-linux-gnueabihf-10.3.0-lib  2.7MiB    2.6MiB/s 00:01 [##################] 100.0%
>  glibc-cross-arm-linux-gnueabihf-2.33  18.0MiB                 1.7MiB/s 00:11 [##################] 100.0%
>  ld-wrapper-arm-linux-gnueabihf-0  13KiB                       2.1MiB/s 00:00 [##################] 100.0%
>  openssl-1.1.1m.tar.xz  7.1MiB                                 3.2MiB/s 00:02 [##################] 100.0%
>  gcc-cross-sans-libc-arm-linux-gnueabihf-10.3.0  14.8MiB       4.0MiB/s 00:04 [##################] 100.0%
> /gnu/store/60x13abw5wr2yr1d0d6db2pspgbla1d0-linux-libre-headers-cross-arm-linux-gnueabihf-5.10.35.drv bouwen...
> | 'unpack' fase^C

What does "type -p guix" return? $HOME/.guix-profile/bin/guix or
/usr/{local/,}bin/guix or something else?  What does "guix --version"
print?

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2022-02-05 17:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 15:14 cross compiling using qemu-user-static Tobias Platen
2022-02-05 16:09 ` Maxime Devos
     [not found]   ` <c2b72e18bf99776b44b7ff0f1ea34edca9ff99f8.camel@platen-software.de>
2022-02-05 17:22     ` Maxime Devos
     [not found]       ` <26c6d942d8326be8a62b83a142ddf67993e76912.camel@platen-software.de>
2022-02-05 17:31         ` Maxime Devos
2022-02-05 17:26     ` Maxime Devos [this message]
2022-02-05 16:10 ` Maxime Devos
2022-02-05 16:13 ` Maxime Devos
     [not found]   ` <982bb7e3e8194968c29e9a56bdddd2bb1fc0bab7.camel@platen-software.de>
2022-02-05 17:14     ` Maxime Devos
2022-02-06 18:47 ` Tobias Platen

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=936f65d963069445f7300c6ef7c191a23281e482.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=guix@platen-software.de \
    /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.