* Build package for multiple platforms
@ 2019-03-22 17:08 mikadoZero
2019-03-22 17:29 ` Tobias Geerinckx-Rice
0 siblings, 1 reply; 5+ messages in thread
From: mikadoZero @ 2019-03-22 17:08 UTC (permalink / raw)
To: Help Guix
I am preparing a patch for a package. I am following the manual section
"14.6 Submitting Patches". The fifth suggestion is to build the package
for multiple platforms.
I have added these to the system configuration file:
module: virtualization
package: qemu
service (taken from 14.6 Submitting Patches):
(service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms (lookup-qemu-platforms "arm" "aarch64" "ppc" "mips64el"))
(guix-support? #t)))
When I try to do a system reconfigure I get this error:
error: qemu-binfmt-service-type: unbound variable
hint: Did you forget a `use-modules' form?
The closest package I can find using `guix package -s` is proot but
adding the module linux and the package proot does not solve this error
message.
What should I do to get the system reconfiguration to work?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build package for multiple platforms
2019-03-22 17:08 Build package for multiple platforms mikadoZero
@ 2019-03-22 17:29 ` Tobias Geerinckx-Rice
2019-03-22 23:20 ` mikadoZero
0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-03-22 17:29 UTC (permalink / raw)
To: mikadoZero; +Cc: Help Guix
mikadoZero,
mikadoZero wrote:
> (service qemu-binfmt-service-type
> (qemu-binfmt-configuration
> (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"
> "mips64el"))
> (guix-support? #t)))
>
> When I try to do a system reconfigure I get this error:
>
> error: qemu-binfmt-service-type: unbound variable
> hint: Did you forget a `use-modules' form?
qemu-binfmt-service-type is defined in (gnu services
virtualization).
I just use grep, but found out while researching this mail that we
provide a nice ‘guix system search’ command to find out which
module provides a service
λ guix system search qemu
name: qemu-binfmt
location: gnu/services/virtualization.scm:745:2
extends: file-systems shepherd-root guix
shepherdnames: qemu-binfmt
description: This service supports transparent emulation of
binaries compiled for other architectures using QEMU and the
`binfmt_misc' functionality of the kernel Linux.
relevance: 5
> The closest package I can find using `guix package -s` is proot
> but
> adding the module linux and the package proot does not solve
> this error
> message.
Adding packages to your system configuration won't (and can't and
mustn't) affect services in this way.
Kind regards,
T G-R
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build package for multiple platforms
2019-03-22 17:29 ` Tobias Geerinckx-Rice
@ 2019-03-22 23:20 ` mikadoZero
2019-03-24 17:29 ` Efraim Flashner
0 siblings, 1 reply; 5+ messages in thread
From: mikadoZero @ 2019-03-22 23:20 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: Help Guix
Tobias Geerinckx-Rice writes:
> mikadoZero,
>
> mikadoZero wrote:
>> (service qemu-binfmt-service-type
>> (qemu-binfmt-configuration
>> (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"
>> "mips64el"))
>> (guix-support? #t)))
>>
>> When I try to do a system reconfigure I get this error:
>>
>> error: qemu-binfmt-service-type: unbound variable
>> hint: Did you forget a `use-modules' form?
>
> qemu-binfmt-service-type is defined in (gnu services virtualization).
>
> I just use grep, but found out while researching this mail that we
> provide a nice ‘guix system search’ command to find out which module
> provides a service
>
> λ guix system search qemu
> name: qemu-binfmt
> location: gnu/services/virtualization.scm:745:2
> extends: file-systems shepherd-root guix
> shepherdnames: qemu-binfmt
> description: This service supports transparent emulation of binaries
> compiled for other architectures using QEMU and the `binfmt_misc'
> functionality of the kernel Linux.
> relevance: 5
>
>> The closest package I can find using `guix package -s` is proot but
>> adding the module linux and the package proot does not solve this
>> error
>> message.
>
> Adding packages to your system configuration won't (and can't and
> mustn't) affect services in this way.
>
> Kind regards,
>
> T G-R
Thank you for pointing out that command. I will read more of the manual
for system and services.
Now I can reconfigure.
After rebooting the computer and setting up a guix environment in the
Guix repository, I can build for both arm platforms. I am have issues
with powerpc and mips.
What should I do to get powerpc and mips to work?
# arm
Both of these commands are successful.
`./pre-inst-env guix build --system=armhf-linux --rounds=4 emacs-ace-link`
`./pre-inst-env guix build --system=aarch64-linux --rounds=4 emacs-ace-link`
# power-pc
`./pre-inst-env guix build --system=powerpc-linux --rounds=4 emacs-ace-link`
guix build: error: could not find bootstrap binary 'tar' for system 'powerpc-linux'
# mips
`./pre-inst-env guix build --system=mips64el-linux --rounds=4 emacs-ace-link`
building /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv...
@ unsupported-platform /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2
.0.drv mips64el-linux
while setting up the build environment: a `mips64el-linux' is required to build `/gn
u/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv', but I am a `x86_6
4-linux'
builder for `/gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv' fa
iled with exit code 1
build of /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv failed
View build log at '/var/log/guix/drvs/62/kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootst
rap-2.0.drv.bz2'.
cannot build derivation `/gnu/store/nk29013g6k2asl91w6hqvjvxh22dynv0-acl-2.2.52.src.
tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/4f5ays7bp7flpp316hrlni2dhgsf0jid-bash-minimal-4.
4.23.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/02i7vn874xh5crjmksr15432l2cima42-binutils-2.31.1
.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/b968c534pxdngpcx8psqz8s9wcvgm6j9-binutils-cross-
boot0-2.31.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ggsch6ijpbp812bkkc54iyiz8dbqvpfw-bootstrap-binar
ies-0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1mb95adrm5wsgznbl1gni86561pj1vf7-diffutils-3.6.t
ar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9jfbc0sfsyfndsx5wrkazm9b8cjcb7is-diffutils-boot0
-3.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/y25fs9wc5xkkc3cn3mlawcy3ixq3ylbl-file-boot0-5.33
.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/r5mv2ysz8jp36hc5pm9105p3zmv1slwy-findutils-4.6.0
.tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fx5vpkcb2bb50d1pv3a0d9wzjp2hjxkh-findutils-boot0
-4.6.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/i4fj03xds43d30lgv8hs6l1vb4w9p5ag-gcc-5.5.0.drv':
1 dependencies couldn't be built
cannot build derivation `/gnu/store/3mdbzqidjjry236m39m6mc6jn1ckpjf5-gettext-0.19.8.
1.tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9dnygq2j5vnakp5fcbdblvwdjn8h8g0d-glibc-2.28.drv'
: 1 dependencies couldn't be built
cannot build derivation `/gnu/store/syqwc8p35wrlncfwvk7fy8ply8w9nq9d-gmp-6.1.2.drv':
1 dependencies couldn't be built
cannot build derivation `/gnu/store/g69k7s7s6kfn9xxh0c0cq0h0bifgyy15-gmp-6.1.2.tar.x
z.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/sp533p4d3gxpr5pndn9l4g41jxvwxa40-grep-3.1.tar.xz
.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/5kbrmfgyz5n4558dngqgdc4dk5wxcqgy-guile-2.2.4.drv
': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9ywgb8wkq3bl8cbp1n8qgfj8ycg9lh34-gzip-1.9.drv':
1 dependencies couldn't be built
cannot build derivation `/gnu/store/m6dvkfdfnfmnly0il1jc7pb56sld6dyy-ld-wrapper-boot
0-0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/h2l11p0v3bsnr4fwcm8ww2xw4pyjv1rq-ld-wrapper-boot
3-0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/r6paw4h3aymihaf6pz7bmbyw4c8yh1m6-libgc-7.6.6.drv
': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/8wwc5cc6ggwa53jzcn4wm21jgrgyai33-libltdl-2.4.6.d
rv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/92pkqgnyh00grv9l9a69nj720iz08y51-libunistring-0.
9.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/05mbs64prj8lg5ywh9cfcjahc7wn78jr-linux-libre-hea
ders-4.14.67.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/2vvkrpa03g71kwa9rmknbrkxrhwwcaj5-m4-1.4.18.tar.x
z.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/zby125pysp9h38ks72h44mf13xbkia1j-make-4.2.1.tar.
xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/19b6m025vh6g2h40mlhixwp963q1jgp3-make-boot0-4.2.
1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/wa7xpi1ajs7clhxii9cq0wyb7n6fddib-patch-2.7.6.tar
.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6szmf0dxh6w64hpgj6gpc4ii487w297r-perl-5.28.0.tar
.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/vz1rnjlbb0gssnaylnj28d5dan2jc89c-perl-boot0-5.28
.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/nndz20akij3vcdnjbmvx7lmcd09f4v2k-tar-1.30.tar.xz
.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26.0.d
rv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26
.0.drv' failed
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build package for multiple platforms
2019-03-22 23:20 ` mikadoZero
@ 2019-03-24 17:29 ` Efraim Flashner
2019-03-24 18:10 ` mikadoZero
0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2019-03-24 17:29 UTC (permalink / raw)
To: mikadoZero; +Cc: Help Guix
[-- Attachment #1: Type: text/plain, Size: 9510 bytes --]
On Fri, Mar 22, 2019 at 07:20:42PM -0400, mikadoZero wrote:
>
> Tobias Geerinckx-Rice writes:
>
> > mikadoZero,
> >
> > mikadoZero wrote:
> >> (service qemu-binfmt-service-type
> >> (qemu-binfmt-configuration
> >> (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"
> >> "mips64el"))
> >> (guix-support? #t)))
> >>
> >> When I try to do a system reconfigure I get this error:
> >>
> >> error: qemu-binfmt-service-type: unbound variable
> >> hint: Did you forget a `use-modules' form?
> >
> > qemu-binfmt-service-type is defined in (gnu services virtualization).
> >
> > I just use grep, but found out while researching this mail that we
> > provide a nice ‘guix system search’ command to find out which module
> > provides a service
> >
> > λ guix system search qemu
> > name: qemu-binfmt
> > location: gnu/services/virtualization.scm:745:2
> > extends: file-systems shepherd-root guix
> > shepherdnames: qemu-binfmt
> > description: This service supports transparent emulation of binaries
> > compiled for other architectures using QEMU and the `binfmt_misc'
> > functionality of the kernel Linux.
> > relevance: 5
> >
> >> The closest package I can find using `guix package -s` is proot but
> >> adding the module linux and the package proot does not solve this
> >> error
> >> message.
> >
> > Adding packages to your system configuration won't (and can't and
> > mustn't) affect services in this way.
> >
> > Kind regards,
> >
> > T G-R
>
> Thank you for pointing out that command. I will read more of the manual
> for system and services.
>
> Now I can reconfigure.
>
> After rebooting the computer and setting up a guix environment in the
> Guix repository, I can build for both arm platforms. I am have issues
> with powerpc and mips.
>
> What should I do to get powerpc and mips to work?
>
> # arm
>
> Both of these commands are successful.
>
> `./pre-inst-env guix build --system=armhf-linux --rounds=4 emacs-ace-link`
> `./pre-inst-env guix build --system=aarch64-linux --rounds=4 emacs-ace-link`
>
> # power-pc
>
> `./pre-inst-env guix build --system=powerpc-linux --rounds=4 emacs-ace-link`
>
> guix build: error: could not find bootstrap binary 'tar' for system 'powerpc-linux'
>
powerpc isn't actually supported yet in Guix. There's been some work on
it but this isn't unexpected
> # mips
>
> `./pre-inst-env guix build --system=mips64el-linux --rounds=4 emacs-ace-link`
>
> building /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv...
> @ unsupported-platform /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2
> .0.drv mips64el-linux
> while setting up the build environment: a `mips64el-linux' is required to build `/gn
> u/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv', but I am a `x86_6
> 4-linux'
This error suggests that the emulation layer isn't set up correctly. I'm
not sure what the correct answer is here.
> builder for `/gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv' fa
> iled with exit code 1
> build of /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv failed
> View build log at '/var/log/guix/drvs/62/kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootst
> rap-2.0.drv.bz2'.
> cannot build derivation `/gnu/store/nk29013g6k2asl91w6hqvjvxh22dynv0-acl-2.2.52.src.
> tar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/4f5ays7bp7flpp316hrlni2dhgsf0jid-bash-minimal-4.
> 4.23.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/02i7vn874xh5crjmksr15432l2cima42-binutils-2.31.1
> .drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/b968c534pxdngpcx8psqz8s9wcvgm6j9-binutils-cross-
> boot0-2.31.1.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/ggsch6ijpbp812bkkc54iyiz8dbqvpfw-bootstrap-binar
> ies-0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/1mb95adrm5wsgznbl1gni86561pj1vf7-diffutils-3.6.t
> ar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/9jfbc0sfsyfndsx5wrkazm9b8cjcb7is-diffutils-boot0
> -3.6.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/y25fs9wc5xkkc3cn3mlawcy3ixq3ylbl-file-boot0-5.33
> .drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/r5mv2ysz8jp36hc5pm9105p3zmv1slwy-findutils-4.6.0
> .tar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/fx5vpkcb2bb50d1pv3a0d9wzjp2hjxkh-findutils-boot0
> -4.6.0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/i4fj03xds43d30lgv8hs6l1vb4w9p5ag-gcc-5.5.0.drv':
> 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/3mdbzqidjjry236m39m6mc6jn1ckpjf5-gettext-0.19.8.
> 1.tar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/9dnygq2j5vnakp5fcbdblvwdjn8h8g0d-glibc-2.28.drv'
> : 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/syqwc8p35wrlncfwvk7fy8ply8w9nq9d-gmp-6.1.2.drv':
> 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/g69k7s7s6kfn9xxh0c0cq0h0bifgyy15-gmp-6.1.2.tar.x
> z.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/sp533p4d3gxpr5pndn9l4g41jxvwxa40-grep-3.1.tar.xz
> .drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/5kbrmfgyz5n4558dngqgdc4dk5wxcqgy-guile-2.2.4.drv
> ': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/9ywgb8wkq3bl8cbp1n8qgfj8ycg9lh34-gzip-1.9.drv':
> 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/m6dvkfdfnfmnly0il1jc7pb56sld6dyy-ld-wrapper-boot
> 0-0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/h2l11p0v3bsnr4fwcm8ww2xw4pyjv1rq-ld-wrapper-boot
> 3-0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/r6paw4h3aymihaf6pz7bmbyw4c8yh1m6-libgc-7.6.6.drv
> ': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/8wwc5cc6ggwa53jzcn4wm21jgrgyai33-libltdl-2.4.6.d
> rv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/92pkqgnyh00grv9l9a69nj720iz08y51-libunistring-0.
> 9.10.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/05mbs64prj8lg5ywh9cfcjahc7wn78jr-linux-libre-hea
> ders-4.14.67.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/2vvkrpa03g71kwa9rmknbrkxrhwwcaj5-m4-1.4.18.tar.x
> z.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/zby125pysp9h38ks72h44mf13xbkia1j-make-4.2.1.tar.
> xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/19b6m025vh6g2h40mlhixwp963q1jgp3-make-boot0-4.2.
> 1.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/wa7xpi1ajs7clhxii9cq0wyb7n6fddib-patch-2.7.6.tar
> .xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/6szmf0dxh6w64hpgj6gpc4ii487w297r-perl-5.28.0.tar
> .xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/vz1rnjlbb0gssnaylnj28d5dan2jc89c-perl-boot0-5.28
> .0.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/nndz20akij3vcdnjbmvx7lmcd09f4v2k-tar-1.30.tar.xz
> .drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26.0.d
> rv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26
> .0.drv' failed
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build package for multiple platforms
2019-03-24 17:29 ` Efraim Flashner
@ 2019-03-24 18:10 ` mikadoZero
0 siblings, 0 replies; 5+ messages in thread
From: mikadoZero @ 2019-03-24 18:10 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Help Guix
Efraim Flashner writes:
> On Fri, Mar 22, 2019 at 07:20:42PM -0400, mikadoZero wrote:
>
>> Tobias Geerinckx-Rice writes:
>>
>> > mikadoZero,
>> >
>> > mikadoZero wrote:
>> >> (service qemu-binfmt-service-type
>> >> (qemu-binfmt-configuration
>> >> (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"
>> >> "mips64el"))
>> >> (guix-support? #t)))
>> >>
>> >> When I try to do a system reconfigure I get this error:
>> >>
>> >> error: qemu-binfmt-service-type: unbound variable
>> >> hint: Did you forget a `use-modules' form?
>> >
>> > qemu-binfmt-service-type is defined in (gnu services virtualization).
>> >
>> > I just use grep, but found out while researching this mail that we
>> > provide a nice ‘guix system search’ command to find out which module
>> > provides a service
>> >
>> > λ guix system search qemu
>> > name: qemu-binfmt
>> > location: gnu/services/virtualization.scm:745:2
>> > extends: file-systems shepherd-root guix
>> > shepherdnames: qemu-binfmt
>> > description: This service supports transparent emulation of binaries
>> > compiled for other architectures using QEMU and the `binfmt_misc'
>> > functionality of the kernel Linux.
>> > relevance: 5
>> >
>> >> The closest package I can find using `guix package -s` is proot but
>> >> adding the module linux and the package proot does not solve this
>> >> error
>> >> message.
>> >
>> > Adding packages to your system configuration won't (and can't and
>> > mustn't) affect services in this way.
>> >
>> > Kind regards,
>> >
>> > T G-R
>>
>> Thank you for pointing out that command. I will read more of the manual
>> for system and services.
>>
>> Now I can reconfigure.
>>
>> After rebooting the computer and setting up a guix environment in the
>> Guix repository, I can build for both arm platforms. I am have issues
>> with powerpc and mips.
>>
>> What should I do to get powerpc and mips to work?
>>
>> # arm
>>
>> Both of these commands are successful.
>>
>> `./pre-inst-env guix build --system=armhf-linux --rounds=4 emacs-ace-link`
>> `./pre-inst-env guix build --system=aarch64-linux --rounds=4 emacs-ace-link`
>>
>> # power-pc
>>
>> `./pre-inst-env guix build --system=powerpc-linux --rounds=4 emacs-ace-link`
>>
>> guix build: error: could not find bootstrap binary 'tar' for system 'powerpc-linux'
>>
>
> powerpc isn't actually supported yet in Guix. There's been some work on
> it but this isn't unexpected
>
Thank you, that is good to know.
>> # mips
>>
>> `./pre-inst-env guix build --system=mips64el-linux --rounds=4 emacs-ace-link`
>>
>> building /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv...
>> @ unsupported-platform /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2
>> .0.drv mips64el-linux
>> while setting up the build environment: a `mips64el-linux' is required to build `/gn
>> u/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv', but I am a `x86_6
>> 4-linux'
>
> This error suggests that the emulation layer isn't set up correctly. I'm
> not sure what the correct answer is here.
>
The only set up I have done for qemu is in the system configuration
file. Here are the relevant section:
(use-service-modules virtualization ...)
(use-package-modules virtualization ...)
(packages (cons* qemu ... %base-packages))
(services (cons* ...
(service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms
(lookup-qemu-platforms
"arm" "aarch64" "ppc" "mips64el"))
(guix-support? #t)))
%base-services)))
>> builder for `/gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv' fa
>> iled with exit code 1
>> build of /gnu/store/62kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootstrap-2.0.drv failed
>> View build log at '/var/log/guix/drvs/62/kxpiayyak6dkzlvs8lhlpb23yddry1-guile-bootst
>> rap-2.0.drv.bz2'.
>> cannot build derivation `/gnu/store/nk29013g6k2asl91w6hqvjvxh22dynv0-acl-2.2.52.src.
>> tar.xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/4f5ays7bp7flpp316hrlni2dhgsf0jid-bash-minimal-4.
>> 4.23.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/02i7vn874xh5crjmksr15432l2cima42-binutils-2.31.1
>> .drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/b968c534pxdngpcx8psqz8s9wcvgm6j9-binutils-cross-
>> boot0-2.31.1.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/ggsch6ijpbp812bkkc54iyiz8dbqvpfw-bootstrap-binar
>> ies-0.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/1mb95adrm5wsgznbl1gni86561pj1vf7-diffutils-3.6.t
>> ar.xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/9jfbc0sfsyfndsx5wrkazm9b8cjcb7is-diffutils-boot0
>> -3.6.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/y25fs9wc5xkkc3cn3mlawcy3ixq3ylbl-file-boot0-5.33
>> .drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/r5mv2ysz8jp36hc5pm9105p3zmv1slwy-findutils-4.6.0
>> .tar.xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/fx5vpkcb2bb50d1pv3a0d9wzjp2hjxkh-findutils-boot0
>> -4.6.0.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/i4fj03xds43d30lgv8hs6l1vb4w9p5ag-gcc-5.5.0.drv':
>> 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/3mdbzqidjjry236m39m6mc6jn1ckpjf5-gettext-0.19.8.
>> 1.tar.xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/9dnygq2j5vnakp5fcbdblvwdjn8h8g0d-glibc-2.28.drv'
>> : 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/syqwc8p35wrlncfwvk7fy8ply8w9nq9d-gmp-6.1.2.drv':
>> 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/g69k7s7s6kfn9xxh0c0cq0h0bifgyy15-gmp-6.1.2.tar.x
>> z.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/sp533p4d3gxpr5pndn9l4g41jxvwxa40-grep-3.1.tar.xz
>> .drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/5kbrmfgyz5n4558dngqgdc4dk5wxcqgy-guile-2.2.4.drv
>> ': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/9ywgb8wkq3bl8cbp1n8qgfj8ycg9lh34-gzip-1.9.drv':
>> 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/m6dvkfdfnfmnly0il1jc7pb56sld6dyy-ld-wrapper-boot
>> 0-0.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/h2l11p0v3bsnr4fwcm8ww2xw4pyjv1rq-ld-wrapper-boot
>> 3-0.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/r6paw4h3aymihaf6pz7bmbyw4c8yh1m6-libgc-7.6.6.drv
>> ': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/8wwc5cc6ggwa53jzcn4wm21jgrgyai33-libltdl-2.4.6.d
>> rv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/92pkqgnyh00grv9l9a69nj720iz08y51-libunistring-0.
>> 9.10.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/05mbs64prj8lg5ywh9cfcjahc7wn78jr-linux-libre-hea
>> ders-4.14.67.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/2vvkrpa03g71kwa9rmknbrkxrhwwcaj5-m4-1.4.18.tar.x
>> z.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/zby125pysp9h38ks72h44mf13xbkia1j-make-4.2.1.tar.
>> xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/19b6m025vh6g2h40mlhixwp963q1jgp3-make-boot0-4.2.
>> 1.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/wa7xpi1ajs7clhxii9cq0wyb7n6fddib-patch-2.7.6.tar
>> .xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/6szmf0dxh6w64hpgj6gpc4ii487w297r-perl-5.28.0.tar
>> .xz.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/vz1rnjlbb0gssnaylnj28d5dan2jc89c-perl-boot0-5.28
>> .0.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/nndz20akij3vcdnjbmvx7lmcd09f4v2k-tar-1.30.tar.xz
>> .drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26.0.d
>> rv': 1 dependencies couldn't be built
>> guix build: error: build of `/gnu/store/jhhvlb2vl5vghbwkhfcqfjjh6h6z13ps-sqlite-3.26
>> .0.drv' failed
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-24 18:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-22 17:08 Build package for multiple platforms mikadoZero
2019-03-22 17:29 ` Tobias Geerinckx-Rice
2019-03-22 23:20 ` mikadoZero
2019-03-24 17:29 ` Efraim Flashner
2019-03-24 18:10 ` mikadoZero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).