[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross compiling using qemu-user-static
From: |
Maxime Devos |
Subject: |
Re: cross compiling using qemu-user-static |
Date: |
Sat, 05 Feb 2022 18:22:11 +0100 |
User-agent: |
Evolution 3.38.3-1 |
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?
Greetings,
Maxime
signature.asc
Description: This is a digitally signed message part
Re: cross compiling using qemu-user-static, Maxime Devos, 2022/02/05
Re: cross compiling using qemu-user-static, Maxime Devos, 2022/02/05
Re: cross compiling using qemu-user-static, Tobias Platen, 2022/02/06