unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Issues building some packages with QEMU binfmt
@ 2020-03-05 21:27 Christopher Baines
  2020-03-09 22:00 ` Diego Nicola Barbato
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Baines @ 2020-03-05 21:27 UTC (permalink / raw)
  To: help-guix

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

Hey,

For the Guix Data Service, I've noticed some builds getting stuck
recently. It seems to be when qemu-arm is used to run foreign binaries,
often grep during the git-minimal tests. Currently it's stuck running
gcc during the configure phase for the Guix package.

Attaching strace to the stuck process shows the following output in a
loop, mmap followed by munmap:

mmap(0xab897cd96000, 4294901760, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7ffef0010000
mmap(0x7ffff0000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff70c1000
munmap(0x7ffff70c1000, 4096)            = 0
munmap(0x7ffef0010000, 4294901760)      = 0


I'm guessing this is probably an issue with QEMU, but I was wondering if
anyone has seen similar behaviour?

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Issues building some packages with QEMU binfmt
  2020-03-05 21:27 Issues building some packages with QEMU binfmt Christopher Baines
@ 2020-03-09 22:00 ` Diego Nicola Barbato
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Nicola Barbato @ 2020-03-09 22:00 UTC (permalink / raw)
  To: Christopher Baines; +Cc: help-guix

Hi Chris,

Christopher Baines <mail@cbaines.net> writes:

> Hey,
>
> For the Guix Data Service, I've noticed some builds getting stuck
> recently. It seems to be when qemu-arm is used to run foreign binaries,
> often grep during the git-minimal tests. Currently it's stuck running
> gcc during the configure phase for the Guix package.
>
> Attaching strace to the stuck process shows the following output in a
> loop, mmap followed by munmap:
>
> mmap(0xab897cd96000, 4294901760, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7ffef0010000
> mmap(0x7ffff0000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff70c1000
> munmap(0x7ffff70c1000, 4096)            = 0
> munmap(0x7ffef0010000, 4294901760)      = 0
>
>
> I'm guessing this is probably an issue with QEMU, but I was wondering if
> anyone has seen similar behaviour?

I've experienced the exact same thing: Some months ago I attempted to
build the Guix package for armhf-linux on my x86_64-linux machine
(because there were no substitutes) using the qemu-binfmt service.  I
eventually gave up because it always got stuck (I tried it several
times).  In fact I tried it again today and it got stuck during the
`build' phase running sed.

Regards,

Diego

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-09 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 21:27 Issues building some packages with QEMU binfmt Christopher Baines
2020-03-09 22:00 ` Diego Nicola Barbato

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).