From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGIxNQVrS2FKLwAAgWs5BA (envelope-from ) for ; Wed, 22 Sep 2021 19:42:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +JXXMAVrS2EBbgAAB5/wlQ (envelope-from ) for ; Wed, 22 Sep 2021 17:42:29 +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 25BE519CC8 for ; Wed, 22 Sep 2021 19:42:29 +0200 (CEST) Received: from localhost ([::1]:48654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT6GK-0000Gx-3t for larch@yhetil.org; Wed, 22 Sep 2021 13:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT6Fu-0000E2-Tf for bug-guix@gnu.org; Wed, 22 Sep 2021 13:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mT6Fu-0000CP-Le for bug-guix@gnu.org; Wed, 22 Sep 2021 13:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mT6Fu-00022A-F8 for bug-guix@gnu.org; Wed, 22 Sep 2021 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50677: [PATCH] Minetest basic_materials really depends on moreores Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Sep 2021 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50677 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Vivien Kraus , 50677@debbugs.gnu.org Received: via spool by 50677-submit@debbugs.gnu.org id=B50677.16323325047780 (code B ref 50677); Wed, 22 Sep 2021 17:42:02 +0000 Received: (at 50677) by debbugs.gnu.org; 22 Sep 2021 17:41:44 +0000 Received: from localhost ([127.0.0.1]:51623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT6Fb-00021O-RG for submit@debbugs.gnu.org; Wed, 22 Sep 2021 13:41:44 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:57322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT6FY-00021C-D4 for 50677@debbugs.gnu.org; Wed, 22 Sep 2021 13:41:43 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id x5he250050mfAB4065heHp; Wed, 22 Sep 2021 19:41:38 +0200 Message-ID: <9f186bbdf47037b1f2b1218b0cd73141fa29e140.camel@telenet.be> From: Maxime Devos Date: Wed, 22 Sep 2021 19:41:33 +0200 In-Reply-To: <391c3b2b8b058845bc07630ac2cd96c06783227b.camel@planete-kraus.eu> References: <47d31be5bfc24646981f2f71942fedd89c556405.camel@planete-kraus.eu> <67c326ff5fd285311dab48b03f646c28690fa376.camel@planete-kraus.eu> <9d9f86773809358187afbe5c7052d09f3d4d1052.camel@telenet.be> <9f206acf24c7fc265102712912d3d0e336b54fc7.camel@planete-kraus.eu> <391c3b2b8b058845bc07630ac2cd96c06783227b.camel@planete-kraus.eu> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-f0mfRcnHHeus3I0Osl6d" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632332498; bh=nPnpt1vHvvvKd9G9Cyapibp1qwL91ygmJGsoTrv85a4=; h=Subject:From:To:Date:In-Reply-To:References; b=Lw26UYIA6EstmRMv56F3ln2F4y+deD73bRnXySWtTvVRPwJU2GRbGyIZQiu0FjUK+ HISYEccQ9axpcaN0/6wKivkcLRWsYfO23qGP2tg91aIVTKNk8KJBIFYkm1dKvN6+Pu PTd+cWhWeyIi5ky8j6zmQHDqUPy0LiaNJMGBeFpE7qvyDAtatomwmQ5r1Gbe+haRWv L0h9ZbGsm3/2r48zxEZHKLZPagVdXg9+uKQGpkZy83BjDy+ruPpc7EsgiqFsC6LTqv HHoMbAXQgpTX0pdSroqwhBygFD1e+ABAM8V+NuMQfGVh0ForZDac82M+TtpKinnKep SxZeebJG2TMdQ== 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632332549; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=nPnpt1vHvvvKd9G9Cyapibp1qwL91ygmJGsoTrv85a4=; b=YX2qnzCw7+jah3p8xSY9JfCQlCjrO6PIEJePZodGHZvx49/e14TAw4qOOSWOgaSKcYdJOu wqKw7OTYl0Dl1qn8FaYvFv4sCw98JOTT7UlrdYKyDyww/zt9IJHRlnRXqJPR/y//tAm+Fb N+ncq35r6Wfs4U/jsfWMi4XB6VC5YZXIfvcF8iCvI7I8ISmC6Emi+8bjWwvLK64C6324fE OWuWDMkPwu3KXHSX2OpY+mvs8jf0YcCz0kr1LwYsHywj8ESZ0J9gcpm/Xj8CuZNx7rJeCP bFPxOmq8OXcHwreup62D6GNLV+8uYYSbj/dkttmAtyEzCcJNZfE/4qAGn6ZUOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632332549; a=rsa-sha256; cv=none; b=ZB+Y1d/GPUDf4S+nX6g3oSHxIMuaZFnBOaK7zN4DmLqVeYng0/eEhDQQQ4eIcTJF+iIUnF 8NbkhHMKoLqLVZ9XN2UbOY0AsDvShduhWXmCm90ej0sTBhzgxKedvM5UvBkrvEZlyiT5KL U/kH5izgaR8vgB8SjdJYm7XLrAPAKvs1t4kMX2oWqWCCjJPvgteyiwt9CKZraMqyxlYD5S ci2UMKCZSwVEyFRWHZWs1QHRemEud527LWCSVL8saX5ZWBVS8J5iHumcHs2liPtgXDuMyJ Eid2hOXm38dnMh5jFdxJmNs8dWPCg4FOBp3YbNGfbrUumP7oSjF+BdAH1zQdQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Lw26UYIA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: -3.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Lw26UYIA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 25BE519CC8 X-Spam-Score: -3.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: zV/BqinWS4qm --=-f0mfRcnHHeus3I0Osl6d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Vivien Kraus schreef op wo 22-09-2021 om 18:46 [+0200]: > + (define log-file (open-output-file "guix-test.log")) > + (let loop ((has-errors? #f)) > + (let ((line (read-line port))) > + (unless (eof-obj ect? line) > + (write-line line log-file)) > + (match `(,line ,has-errors?) > + (((? error? line) _) > + (loop #t)) > + (((? stop?) #f) > + (kill pid SIGINT) > + (close-port port) > + (waitpid pid)) > + (((? eof-object?) #f) > + (error "minetest didn't start")) > + (((or (? stop?) (? eof-object?)) #t) '(close-port port)' is missing in this branch. This is important if 'port' is buffered, to flush the buffers. =46rom a test at the Guile REPL, it appears ports from 'open-output-file' are buffered. =20 > + (error "minetest stopped after an error happened, see sou= rce/guix_testworld/guix-test.log")) This requires the user to do "--keep-failed". It would be more convenient if the output of Minetest was send to current-output-port, that way the errors can be read from the build log (possibly at ). Suggestion: don't keep guix-test.log, or only print errors, but rather output all ouputs of "minetest" to (current-output-port). Alternative suggestion (to make building less verbose when there are no err= ors): this patch, but run "cat" or a guile equivalent thereof (maybe open-input-f= ile + sendfile + stat:size) on guix-test.log when there are errors. > + (((? string? line) has-error?) > + (display line) > + (newline) > + (loop has-error?))))))))) Greetings, Maxime. --=-f0mfRcnHHeus3I0Osl6d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYUtqzRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kWwAP9qabnf8c0AOwO8N4/SgfmfLMxx 8z2kBoQSFbFk0IYCrAD/RIGKuIe/n5pM18CSe3s3Uy7Qh3FOIEWyOfFM5A8sGgg= =VnLI -----END PGP SIGNATURE----- --=-f0mfRcnHHeus3I0Osl6d--