From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31023: --verbosity=4 breaks build? Date: Fri, 06 Apr 2018 15:12:58 +0200 Message-ID: <871sfs1ns5.fsf@gnu.org> References: <03246993-5134-5605-08f7-5fcea91e5c64@uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4RBv-0005Qi-8W for bug-guix@gnu.org; Fri, 06 Apr 2018 09:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4RBq-00010L-9v for bug-guix@gnu.org; Fri, 06 Apr 2018 09:14:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4RBq-00010F-6R for bug-guix@gnu.org; Fri, 06 Apr 2018 09:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f4RBq-0007ZV-0l for bug-guix@gnu.org; Fri, 06 Apr 2018 09:14:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <03246993-5134-5605-08f7-5fcea91e5c64@uni-bremen.de> (Martin Castillo's message of "Mon, 2 Apr 2018 17:12:48 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Martin Castillo Cc: 31023@debbugs.gnu.org Hello, Martin Castillo skribis: > guix build grep --no-substitutes -M 1 --verbosity=3D4 2>builderr > # I aborted the first after a few seconds You=E2=80=99re right about --verbosity=3D4 interrupting builds, I get: --8<---------------cut here---------------start------------->8--- $ guix build --verbosity=3D4 vim --no-substitutes [=E2=80=A6] | | 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/ld1kzfb1jyh0jw6yxh= prcd3zvj57c986-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.1= 428.lock' | building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.d= rv': goal destroyed guix build: error: build failed: | | | bind mounting `/dev/full' to `= /gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chroot/dev/ful= l' --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) =3D 8 read(13, "_\0\0\0\0\0\0\0", 8) =3D 8 read(13, "| building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-= 8.0.1428.drv': goal destroyed\n", 95) =3D 95 read(13, "\0", 1) =3D 1 write(2, "| building of `/gnu/store/ld1kzfb1jyh0jw6yxhprcd3zvj57c986-vim-= 8.0.1428.drv': goal destroyed\n", 95) =3D 95 read(13, "ptxc\0\0\0\0", 8) =3D 8 read(13, "w\0\0\0\0\0\0\0", 8) =3D 8 read(13, "| | | bind mounting `/dev/full' to `/gnu/store/ld1kzfb1jyh0= jw6yxhprcd3zvj57c986-vim-8.0.1428.drv.chr--8<---------------cut here-------= --------end--------------->8--- Normal messages arrive with the =E2=80=9Cgmlo=E2=80=9D prefix, but the =E2= =80=9Cbind mounting=E2=80=9D message arrives with the =E2=80=9Cptxc=E2=80=9D prefix, which (guix store) = interprets as =E2=80=98%stderr-error=E2=80=99 and raises an exception right away. Not sure why we get that =E2=80=9Cptxc=E2=80=9D prefix. Ludo=E2=80=99.