From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: Re: Issues building some packages with QEMU binfmt Date: Mon, 09 Mar 2020 23:00:17 +0100 Message-ID: <87y2s9chou.fsf@GlaDOS.home> References: <87ftemeblt.fsf@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47208) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBQRm-0006FX-NF for help-guix@gnu.org; Mon, 09 Mar 2020 18:00:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBQRl-0006qN-A6 for help-guix@gnu.org; Mon, 09 Mar 2020 18:00:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40863) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBQRi-0006kD-NG for help-guix@gnu.org; Mon, 09 Mar 2020 18:00:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id CAD0A16005E for ; Mon, 9 Mar 2020 23:00:18 +0100 (CET) In-Reply-To: <87ftemeblt.fsf@cbaines.net> (Christopher Baines's message of "Thu, 05 Mar 2020 21:27:26 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Christopher Baines Cc: help-guix@gnu.org Hi Chris, Christopher Baines 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