GNU bug report logs - #36684
"View build log" - but it's empty (at first)!

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Chris Marusich <cmmarusich@HIDDEN>; Keywords: unreproducible; dated Tue, 16 Jul 2019 06:42:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) unreproducible. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36684 <at> debbugs.gnu.org:


Received: (at 36684) by debbugs.gnu.org; 17 Jul 2019 19:57:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 15:57:41 2019
Received: from localhost ([127.0.0.1]:53054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnq3Z-00066Q-94
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2019 15:57:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43488)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hnq3X-00066B-Ns
 for 36684 <at> debbugs.gnu.org; Wed, 17 Jul 2019 15:57:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36251)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hnq3S-0002ZE-Ge; Wed, 17 Jul 2019 15:57:34 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34438 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hnq3O-00006K-TQ; Wed, 17 Jul 2019 15:57:31 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Chris Marusich <cmmarusich@HIDDEN>
Subject: Re: bug#36684: "View build log" - but it's empty (at first)!
References: <87blxu1ny5.fsf@HIDDEN> <877e8i1nnm.fsf@HIDDEN>
Date: Wed, 17 Jul 2019 21:57:29 +0200
In-Reply-To: <877e8i1nnm.fsf@HIDDEN> (Chris Marusich's message of "Mon, 15
 Jul 2019 23:47:25 -0700")
Message-ID: <877e8ga0ye.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36684
Cc: 36684 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Chris,

Chris Marusich <cmmarusich@HIDDEN> skribis:

> Whoops, I got my wires crossed.  Those build logs are for
> evolution-data-server, not ant-bootstrap.  However, the same problem
> holds for evolution-data-server - I built it, it failed, it said I could
> find the logs at
> /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-serve=
r-3.30.2.drv.bz2,
> it was empty at first, but then it became full.

I guess there=E2=80=99s a small window during which the bzip file handle ha=
sn=E2=80=99t
been closed, and so you could see an empty file.  However, that window
should be extremely small: as soon as the client disconnects or the
build terminates, the daemon closes the log.

> In fact, it is only partially full, since the file ends unexpectedly:
>
> $ bzcat /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-da=
ta-server-3.30.2.drv.bz2 > /dev/null
>
> bzcat: Compressed file ends unexpectedly;
>         perhaps it is corrupted?  *Possible* reason follows.
> bzcat: Success
>         Input file =3D /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9=
ni-evolution-data-server-3.30.2.drv.bz2, output file =3D (stdout)
>
> It is possible that the compressed file(s) have become corrupted.
> You can use the -tvv option to test integrity of such files.
>
> You can use the `bzip2recover' program to attempt to recover
> data from undamaged sections of corrupted files.

So this particular log file remained truncated?

I=E2=80=99ve never experienced it.  Is there a scenario that allows you to
reproduce it?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36684; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 06:47:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 16 02:47:39 2019
Received: from localhost ([127.0.0.1]:49539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnHFS-00033B-Nq
	for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 02:47:39 -0400
Received: from lists.gnu.org ([209.51.188.17]:44547)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnHFR-000334-8u
 for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 02:47:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34909)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnHFQ-00068f-2Y
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:47:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnHFO-0002LM-VL
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:47:36 -0400
Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:37194)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1hnHFO-0002Ju-M2
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:47:34 -0400
Received: by mail-pl1-x629.google.com with SMTP id b3so9587596plr.4
 for <bug-guix@HIDDEN>; Mon, 15 Jul 2019 23:47:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version; bh=8dYoMh2nv4BniHMLApVHRuDFbu6zrnbOPg5EWvhzHRQ=;
 b=hUb0AJteOFoxG4AqTp1H6uk4J/cKmHOGo02jsrWOm710tZyF1VQnApYBMvm1yWlgKz
 zS+GcDOYQt/xjjCKHItVgjBvIvrfzjXEORHy+skRjp3+nWIpkY6nVjrFYvHDC2ETZCsE
 txjuLoMVrkTIHgeifKuN3tbXWRJZn6o66RsavVVy1Y9UgWeZR6ZUhjpiarE4prquZbc3
 zlOI+aQfCn4uUWsAWwXvJSw8qWfyPiAEK0VRXJmUX4t3r9eaV95MvTZBIgfKF+wjRIS6
 DD4xDsTdQNTHI+lC2y1xdposVDd4C8zVI0sVCBNoyg9IyTezx68V0fktfcjc4nKO5Z6G
 bMpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=8dYoMh2nv4BniHMLApVHRuDFbu6zrnbOPg5EWvhzHRQ=;
 b=B70HnXBeQuC3+tazUzfVlkvXeV/Xi+xKUVMDVLFzfRFkPU/QjBVHlbQd1Ktfct9rCz
 wFvwLTxH1KhyzgvJMRezWiagDkkv8DQlBfZfsc0aYXaMOTJpLdH437+mDFTrn4FgzYg9
 v5PiB1Kxhq75FHElJgZeyRR7MltY664inxVdDfA1i42vk5qWQGrDg9jXrAKf6vaQHvsv
 aZiuEE4wK1KvxjAvHm7DNUlPz8DDeK+ASCi/RcPefdtn+HrHKkHSqQF/R0xIPRnentkE
 /EyQUg1SapU8TDY7365fFVnX/84HiPkAPmM5xzElU5dXrQtzsOXWqpu49rj7p/hgPevt
 dDlw==
X-Gm-Message-State: APjAAAVOONlTmgUjuFJh3x0UBJs++AvdddNfk5JqdyACgNSCtJwIZ3px
 O9EMqFFw7HEkHlZGZyfqhbAtTkFH
X-Google-Smtp-Source: APXvYqwBjCG81G6rYCUPbHw3Em9FAAWNK4Wt5wOrio8DXYdXXIFd5C3O1xGFUY6phU6th5BM1OApng==
X-Received: by 2002:a17:902:724a:: with SMTP id
 c10mr31113894pll.298.1563259653019; 
 Mon, 15 Jul 2019 23:47:33 -0700 (PDT)
Received: from garuda.local ([2601:601:9d80:25b2::d12])
 by smtp.gmail.com with ESMTPSA id f19sm25612380pfk.180.2019.07.15.23.47.31
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 15 Jul 2019 23:47:31 -0700 (PDT)
From: Chris Marusich <cmmarusich@HIDDEN>
To: bug-guix@HIDDEN
Subject: Re: "View build log" - but it's empty (at first)!
References: <87blxu1ny5.fsf@HIDDEN>
Date: Mon, 15 Jul 2019 23:47:25 -0700
In-Reply-To: <87blxu1ny5.fsf@HIDDEN> (Chris Marusich's message of "Mon, 15
 Jul 2019 23:41:06 -0700")
Message-ID: <877e8i1nnm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::629
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Chris Marusich <cmmarusich@HIDDEN> writes:

> Sometimes, I see an error like the following (it is not specific to
> ant-bootstrap):
>
> $ guix package -m ~/profile-packages.scm=20
> ...
> building /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.=
drv...
> | 'build' phasebuilder for `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-a=
nt-bootstrap-1.8.4.drv' failed with exit code 1
> build of /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.=
drv failed
> View build log at '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5-a=
nt-bootstrap-1.8.4.drv.bz2'.
> cannot build derivation `/gnu/store/3l11fmnyc4k1dcwlijk4vdsq70jc4lqs-iced=
tea-3.7.0.drv': 1 dependencies couldn't be built
> killing process 20600
> cannot build derivation `/gnu/store/b071r8bm2n01mp50g6r5ghxl0m09akdx-prof=
ile.drv': 1 dependencies couldn't be built
> guix package: error: build of `/gnu/store/b071r8bm2n01mp50g6r5ghxl0m09akd=
x-profile.drv' failed
>
>
> But when I try to view the log file very quickly after getting these
> messages (within about 1 minute or so), I get:
>
> $ file  /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-da=
ta-server-3.30.2.drv.bz2
> /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-serve=
r-3.30.2.drv.bz2: empty
>
>
> However, when I come back a few minutes later, mysteriously the file has
> been populated:
>
> $ file  /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-da=
ta-server-3.30.2.drv.bz2=20
> /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-serve=
r-3.30.2.drv.bz2: bzip2 compressed data, block size =3D 900k
>
> Indeed, I was originally going to report that the file was empty, but
> while I was writing this email, it filled up!  Is this behavior
> expected?  I anticipated that the file would be finalized (empty or not)
> before the helpful message "View built log at ..." was printed, but it
> seems like that message is proleptic, which makes it a little confusing.

Whoops, I got my wires crossed.  Those build logs are for
evolution-data-server, not ant-bootstrap.  However, the same problem
holds for evolution-data-server - I built it, it failed, it said I could
find the logs at
/var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-server-=
3.30.2.drv.bz2,
it was empty at first, but then it became full.

In fact, it is only partially full, since the file ends unexpectedly:

=2D-8<---------------cut here---------------start------------->8---
$ bzcat /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data=
-server-3.30.2.drv.bz2 > /dev/null

bzcat: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzcat: Success
        Input file =3D /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni=
-evolution-data-server-3.30.2.drv.bz2, output file =3D (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

=2D-8<---------------cut here---------------end--------------->8---

Sorry for the initial confusion, but I believe this is still a potential
issue, and I wonder if others have observed similar behavior.

=2D-=20
Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0tcv0ACgkQ3UCaFdgi
Rp1sMg//fE7B5P1yRcwNsbttEQDnNRhpMmyjuSm6QrRYpXad70xjiQ3wJP/o26Hs
KBfULmDp8s1uFkbRdzxSg/9KEvGdy2yk+GgXE3U/86b7HZtSJwxrVSaWrs6qi+8U
9Kj9ud4zajwlqrcP2vipHpD884fvd6p8wmW6sis/jISuzAHKeFrsh9xwrWWnekKK
5JD9i3NZKSBBfybaKdrTJLcDaszL5ctOaPaovsT+xz7CmMFoU0DpcMuC5sFxIDAw
MhkRSyxjDe97lBvJgdbdRijjrD8mxT5TmpjY1Mll+MXR2YSm29mN7dTfTbPw7NUq
yYr2HEtH5CthHYzzpvxYPlp/w8vrLPzH6YueDIWWa5KH4Dlr9p8mew5DY5k2RlH3
jxJzwi76DTQtGc8Fous9rzrDI7ooDHSL/3z9euImzUcjBwiZ/mpsqirsCEFHE8Cg
LQOGbBIcrDer3a81J/o3x0qov73ZPkLflxf/oSshteOZxFpKeGchO5WP2OLV5IF4
220yZGPKGnLFCMvZqqXHgs/qxkusoCdZesTpsj6VMR1HsFEZMUfNEXU4/EbM0qPY
rfh52D1bGFfJp1MWPJ/P59KgS5y8kNtPCilZJB4lQfQBznDbBorsOWU/xlTJ4liV
X24ikqw310YS6ZxW+mlWzsfeGHqWZTPT0daSMDurdGzjCWdGx2s=
=PY6j
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#36684; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 06:41:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 16 02:41:15 2019
Received: from localhost ([127.0.0.1]:49534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnH9G-0002sl-U6
	for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 02:41:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:34916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnH9E-0002sa-ML
 for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 02:41:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33112)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnH9D-0005FT-MA
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:41:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1hnH9C-0005DP-LZ
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:41:11 -0400
Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:35522)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1hnH9C-0005Cy-Fk
 for bug-guix@HIDDEN; Tue, 16 Jul 2019 02:41:10 -0400
Received: by mail-pg1-x52d.google.com with SMTP id s1so2610657pgr.2
 for <bug-guix@HIDDEN>; Mon, 15 Jul 2019 23:41:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=j47AYrIzQL1F3h2D/AgnArelqGCcSg//Ag9eT0ZpU1g=;
 b=mt2NTMPCo0UIxt+3o11cqNUTorlaaOAe6fTXvwGWp2gUx0Yovax77LsTKctNxl3v4E
 qpC5ZxlbXQG7TBKdvl5Fethh2aOdVr4RZgSmuIXJYaVwZ/5sURl0AybF/xbuDjhiPI6C
 0ls2xwI58K16oAN2nWZcY0QPDBJiKpxEMwunKFR/5Ql9+TXA90LFbnkbONKmz4Rkf4pl
 ZR4KWcab4L4QyOSPOnFJMg7GKjxtDfc3uALM9tx6P45nZCi/hVrEN4p+CNbYeYR5a09A
 6dB1o3EGVwc6pNtYSaXL7KSPq2W1TPsMOW487+2uui9Y9WdOvsWKxAV35fjT/kRkg0D2
 Wvzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=j47AYrIzQL1F3h2D/AgnArelqGCcSg//Ag9eT0ZpU1g=;
 b=nWEwZxARgryJ23WwTL2rtQieyCW98X3j14Rtm1xs9J8+BfF+p7R/dDZ3QXucdyco37
 TAYrICm03RxLtMq6WvKtqlBF+0VtgsmAM2mFUFmqX9GTUhLxwxtNJgiRmTL3IPl6a9Z6
 wSOBNxWjw2/eLOjuA1rYhfE2FbZcJfu2Vg/S0R0tBzpCBrPTq5ZeCh+lHiVKMa016ghC
 QTBbz1/mdI4VJ1siJDTCWX7U6DcU3tUbKPBzsc3To62Lyka6T7g2C+mwkTitkNCp+BU5
 LtsSITJWwHa7vojdwgTIixCRMNv2sLMj/t3OjAstr+zqVxPh49xXM9kk1XO+Y+3MfpE5
 5CZA==
X-Gm-Message-State: APjAAAWVs570tA+AYbBFpmMYBv1Yi7ARbC0yoAg/yTcYekiC/Ak24GWK
 dvZ9C/bCgsf0zfajD75j5Ns+uz4W
X-Google-Smtp-Source: APXvYqyqIFC0buVWxU/koIIP1NE2f1R9kHqjxaPUdR3wGYmk2kUBId8mdt3HDBUfaw7tDFQ1J5xbuA==
X-Received: by 2002:a17:90a:71ca:: with SMTP id
 m10mr34594488pjs.27.1563259268757; 
 Mon, 15 Jul 2019 23:41:08 -0700 (PDT)
Received: from garuda.local ([2601:601:9d80:25b2::d12])
 by smtp.gmail.com with ESMTPSA id y22sm17716624pgj.38.2019.07.15.23.41.07
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 15 Jul 2019 23:41:07 -0700 (PDT)
From: Chris Marusich <cmmarusich@HIDDEN>
To: bug-guix@HIDDEN
Subject: "View build log" - but it's empty (at first)!
Date: Mon, 15 Jul 2019 23:41:06 -0700
Message-ID: <87blxu1ny5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::52d
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

Sometimes, I see an error like the following (it is not specific to
ant-bootstrap):

--8<---------------cut here---------------start------------->8---
$ guix package -m ~/profile-packages.scm 
...
building /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv...
| 'build' phasebuilder for `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv' failed with exit code 1
build of /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv failed
View build log at '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv.bz2'.
cannot build derivation `/gnu/store/3l11fmnyc4k1dcwlijk4vdsq70jc4lqs-icedtea-3.7.0.drv': 1 dependencies couldn't be built
killing process 20600
cannot build derivation `/gnu/store/b071r8bm2n01mp50g6r5ghxl0m09akdx-profile.drv': 1 dependencies couldn't be built
guix package: error: build of `/gnu/store/b071r8bm2n01mp50g6r5ghxl0m09akdx-profile.drv' failed
--8<---------------cut here---------------end--------------->8---

But when I try to view the log file very quickly after getting these
messages (within about 1 minute or so), I get:

--8<---------------cut here---------------start------------->8---
$ file  /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-server-3.30.2.drv.bz2
/var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-server-3.30.2.drv.bz2: empty
--8<---------------cut here---------------end--------------->8---

However, when I come back a few minutes later, mysteriously the file has
been populated:

--8<---------------cut here---------------start------------->8---
$ file  /var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-server-3.30.2.drv.bz2 
/var/log/guix/drvs/7f/n896phqyv9r636yhjipa9k4qm7g9ni-evolution-data-server-3.30.2.drv.bz2: bzip2 compressed data, block size = 900k
--8<---------------cut here---------------end--------------->8---

Indeed, I was originally going to report that the file was empty, but
while I was writing this email, it filled up!  Is this behavior
expected?  I anticipated that the file would be finalized (empty or not)
before the helpful message "View built log at ..." was printed, but it
seems like that message is proleptic, which makes it a little confusing.

-- 
Chris




Acknowledgement sent to Chris Marusich <cmmarusich@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36684; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 24 Aug 2019 13:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.