GNU bug report logs

#31023 --verbosity=4 breaks build?

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #11 received at 31023@debbugs.gnu.org (full text, mbox, reply):

Received: (at 31023) by debbugs.gnu.org; 6 Apr 2018 13:13:04 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 06 09:13:04 2018
Received: from localhost ([127.0.0.1]:39944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1f4RAu-0007Y9-6n
	for submit@debbugs.gnu.org; Fri, 06 Apr 2018 09:13:04 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:35992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1f4RAs-0007Xq-GF
 for 31023@debbugs.gnu.org; Fri, 06 Apr 2018 09:13:03 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 7ACAD11FA5;
 Fri,  6 Apr 2018 15:13:01 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id yjNxTJvAsSo5; Fri,  6 Apr 2018 15:12:59 +0200 (CEST)
Received: from ribbon (unknown [193.50.110.150])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 71C6A11FA2;
 Fri,  6 Apr 2018 15:12:59 +0200 (CEST)
From: ludo@gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma@uni-bremen.de>
Subject: Re: bug#31023: --verbosity=4 breaks build?
References: <03246993-5134-5605-08f7-5fcea91e5c64@uni-bremen.de>
Date: Fri, 06 Apr 2018 15:12:58 +0200
In-Reply-To: <03246993-5134-5605-08f7-5fcea91e5c64@uni-bremen.de> (Martin
 Castillo's message of "Mon, 2 Apr 2018 17:12:48 +0200")
Message-ID: <871sfs1ns5.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 31023
Cc: 31023@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
Hello,

Martin Castillo <castilma@uni-bremen.de> skribis:

> guix build grep --no-substitutes -M 1 --verbosity=4 2>builderr
> # I aborted the first after a few seconds

You’re right about --verbosity=4 interrupting builds, I get:

--8<---------------cut here---------------start------------->8---
$ guix build --verbosity=4 vim --no-substitutes
[…]
|   |   building path(s) `/gnu/store/i9smsibsawg6y7bby25iha3q1dkaq7w7-vim-8.0.1428'
|   |   |   found build user `guixbuilder01'
|   |   |   found build user `guixbuilder02'
|   |   |   found build user `guixbuilder03'
|   |   |   found build user `guixbuilder04'
|   |   |   found build user `guixbuilder05'
|   |   |   found build user `guixbuilder06'
|   |   |   found build user `guixbuilder07'
|   |   |   found build user `guixbuilder08'
|   |   |   found build user `guixbuilder09'
|   |   |   found build user `guixbuilder10'
|   |   |   trying user `guixbuilder01'
|   |   |   killing all processes running under uid `30001'
|   |   |   setting up chroot environment in `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chroot'
|   |   |   executing builder `/gnu/store/z2i9srf64afxina1g2bd7k7y8cjqsxrr-guile-2.2.3/bin/guile'
|   killing all processes running under uid `30001'
|   recursively deleting path `/tmp/guix-build-vim-8.0.1428.drv-0'
|   recursively deleting path `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chroot'
|   lock released on `/gnu/store/i9smsibsawg6y7bby25iha3q1dkaq7w7-vim-8.0.1428.lock'
|   building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv': goal destroyed
guix build: error: build failed: |   |   |   bind mounting `/dev/full' to `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chroot/dev/full'
--8<---------------cut here---------------end--------------->8---

IOW, the debugging message is interpreted as an error message.

Indeed, if we strace it, we see:

--8<---------------cut here---------------start------------->8---
read(13, "gmlo\0\0\0\0", 8)             = 8
read(13, "_\0\0\0\0\0\0\0", 8)          = 8
read(13, "|   building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv': goal destroyed\n", 95) = 95
read(13, "\0", 1)                       = 1
write(2, "|   building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv': goal destroyed\n", 95) = 95
read(13, "ptxc\0\0\0\0", 8)             = 8
read(13, "w\0\0\0\0\0\0\0", 8)          = 8
read(13, "|   |   |   bind mounting `/dev/full' to `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chr--8<---------------cut here---------------end--------------->8---

Normal messages arrive with the “gmlo” prefix, but the “bind mounting”
message arrives with the “ptxc” prefix, which (guix store) interprets as
‘%stderr-error’ and raises an exception right away.

Not sure why we get that “ptxc” prefix.

Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 12:34:20 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.