From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YEgNLPZykGCu9QAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 00:02:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GF+7J/ZykGC3dAAAB5/wlQ (envelope-from ) for ; Mon, 03 May 2021 22:02:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD2C125A25 for ; Tue, 4 May 2021 00:02:29 +0200 (CEST) Received: from localhost ([::1]:41432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldge4-0001km-Aw for larch@yhetil.org; Mon, 03 May 2021 18:02:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgdf-0001kf-DS for bug-guix@gnu.org; Mon, 03 May 2021 18:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldgdd-0002FU-Sc for bug-guix@gnu.org; Mon, 03 May 2021 18:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldgdd-0005qB-PK for bug-guix@gnu.org; Mon, 03 May 2021 18:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48024: glib-2.62.6 build fails i686 Resent-From: Bone Baboon Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 May 2021 22:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48024 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 48024@debbugs.gnu.org, raingloom Received: via spool by 48024-submit@debbugs.gnu.org id=B48024.162007930322442 (code B ref 48024); Mon, 03 May 2021 22:02:01 +0000 Received: (at 48024) by debbugs.gnu.org; 3 May 2021 22:01:43 +0000 Received: from localhost ([127.0.0.1]:48955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgdK-0005pu-Iv for submit@debbugs.gnu.org; Mon, 03 May 2021 18:01:42 -0400 Received: from knopi.disroot.org ([178.21.23.139]:60646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgdI-0005po-3c for 48024@debbugs.gnu.org; Mon, 03 May 2021 18:01:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ACCFF53AD9; Tue, 4 May 2021 00:01:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cbz1ZS5TZ-PE; Tue, 4 May 2021 00:01:37 +0200 (CEST) References: <874kftd8fl.fsf@disroot.org> <20210426172652.005ae12b@riseup.net> <87mttjlebl.fsf@disroot.org> <871ravqeg1.fsf@netris.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1620079296; bh=0TTEMvHVn1TUJYrkWfP02x+1L4XgdRlMI3Hbq76E2tU=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=cMZXDZIMvcIusWEpriIQXsbOGUjCrPC8sooD5G39+S0+Z3v8tDhODZXoPXStyyN+Z fFI/QKz3AxUpsbL5DauPGTHY16KfQFYx918IZNKEOzwjSu7z7YM5pqY5WhTgUFSBRl ml0P264lE2faE3Qw59+cl1AzNlXETi/m83gRAHyoHgvXeO5P+tgqA6xA8XxYQAhH66 D3/IvNkbry0GrfxV9Pd1+bF1dXFQjLbKtdY+zBjNgeyyRTzhc1Y3hE1Cx+yXQjV8xd WUWr3Onrs3F2K/IyHWwKpFdl/rsc+I1t6O4N+eaGWlRZCU5WRwL/5rf2pQLXm4XgSb BAm/ynFSAvDsQ== In-reply-to: <871ravqeg1.fsf@netris.org> Date: Mon, 03 May 2021 18:00:19 -0400 Message-ID: <87fsz3jx58.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Bone Baboon From: Bone Baboon via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620079350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=sdIMheeSumAsTRFtkCcs3g9m5gAVxmVswo4bDn+YLNQ=; b=nEnsUI2Yy0qTIARvQM/cXJvphq9tJKo2bsovwuhkI/CqQbwePkmb2dGdzkvu1a/58UFvKR MsIYp6p92S8uFBBl0NpSgiNG8bajm8/DcJJn8X8G0n8YYPkw5ZwcxoD5tKCHLLfrQvxkMI i19W51PX05j67hzQ4cLTS1ECu4sAz64aL5ol27hvzgVgm+HywyaKj09E4+1sv2vVvVjrzX okj1U1nyr6ZEflBSoimYxGiO+1Z1Pet2jf1jQGdWr5TFjSMJrHMKJIsBuDDc8e4hBnPk2I 2ST/Tv83L8rA5EwLd12XhS1VaahQBSdMUz17nmTBXVQlshooyjT+K91GGwPHlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620079350; a=rsa-sha256; cv=none; b=FrrOtTloAgQPzG0O01gUdEYtgQM0OXuOqrFzAUEWbZE/1IjxezyG6t1q7YcTl0mFSEB9Zf uPpV3X50xSl+zAXkEtFBbl5dcy1PLYx+3HFDmL4X69PHGMAcZD4CyP04wZW/JXT7e9IEMT jyD/KGucGL9awk++Xz/xV9qpfhAsxf0JAf9699z5KVW2zBreqzJ2Op/4xGpTGZZqOj0l59 et0HwVMVgExUOwtIEmY4G9nWVw+FJmWc3A2OIS8gmyAsLhXRNsG3GSEOsugxj8ezP440TC qR9dCfBa0USKvv6+QWqbS8hY0Sg+5V/rnzlB/PqHPhDD/q6D6l/S3k6+xZGXcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cMZXDZIM; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cMZXDZIM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BD2C125A25 X-Spam-Score: -2.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: SJGSnf8XDntN Thank you for your helpful response. Would a patch like this that addresses test timeouts be good to have in the Guix repository? It would help other Guix users who also run into test timeouts when building glib. Mark H Weaver writes: > I also build everything locally, and have sometimes run into problems > like this on my slower machines. Overly aggressive test timeouts, > chosen for powerful developer machines, are annoying. What are the benefits of aggressive test timeouts chosen for powerful developer machines? > The following patch, applied to your copy of Guix, should work around > the problem: > > --8<---------------cut here---------------start------------->8--- > diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm > index c04bd334e9..b8f509306d 100644 > --- a/gnu/packages/glib.scm > +++ b/gnu/packages/glib.scm > @@ -230,7 +230,8 @@ shared NFS home directories.") > #t))) > ;; TODO: Remove the conditional in the next core-updates cycle. > ;; Needed to build glib on slower ARM nodes. > - ,@(if (string-prefix? "arm" (%current-system)) > + ,@(if (or (string-prefix? "arm" (%current-system)) > + (string-prefix? "i686" (%current-system))) > `((add-after 'unpack 'increase-test-timeout > (lambda _ > (substitute* "meson.build" > --8<---------------cut here---------------end--------------->8--- > > To use this patch, you'll need to apply it to a Git checkout of Guix, > build it, and then use "/PATH-TO-GIT-CHECKOUT/pre-inst-env guix ..." > whenever building anything with Guix that depends on glib. Preparation steps taken: 1) cloned the Guix repository 2) ran `./bootstrap` 3) ran `./configure --localstatedir=/var/` 4) checked out a branch 5) applied the patch Then in the branch of the Guix repository with the patch applied I ran the following commands which failed with test timeouts. `./pre-inst-env guix build --no-substitutes glib` `./pre-inst-env guix build --no-substitutes --cores=2 glib` `./pre-inst-env guix build --no-substitutes --cores=3 glib` > Alternatively, you *might* be able to build 'glib' successfully by not > doing anything else with your machine while it's building 'glib'. I > notice that in your original bug report, only the "1bit-mutex" test > timed out, but in your later build attempt, a total of 5 tests timed > out. These differing results suggest that you might have been running > other programs at the same time. I tried this by having only ssh running so I could connect. Then on a virtual terminal I ran `guix build --no-substitutes --cores=2 glib`. This failed with test timeouts. > (Incidentally, I *always* use Guix this way, using my own private branch > of Guix, never using "guix pull", and never using substitutes.) This is interesting to me. This is how I think a substitute server workflow could be modified to use this approach. I would appreciate corrections or suggestions. On the substitute server Remove the official Guix substitute server from /etc/guix/acl. Instead of: `guix pull --no-substitutes` It would be: `git pull ` and merge the updated Guix repository with the local patched repository. Instead of: `guix build --no-substitues ` It would be: `//pre-inst-env guix build ` Instead of: `guix publish ` It would be: `//pre-inst-env guix publish ` Instead of: `sudo guix system --no-substitutes reconfigure ` It would be: `sudo //pre-inst-env guix system reconfigure ` Substitute server clients would have a channel for the patched repository and no channel for the official Guix repository. The commands stay the same on the clients of the substitute server. `guix pull --substitute-urls=:` `sudo guix system --subsitute-urls=: reconfigure `