From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#36684: "View build log" - but it's empty (at first)! Date: Mon, 15 Jul 2019 23:47:25 -0700 Message-ID: <877e8i1nnm.fsf@gmail.com> References: <87blxu1ny5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34972) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnHFr-0006BG-Bm for bug-guix@gnu.org; Tue, 16 Jul 2019 02:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnHFq-0002oV-5f for bug-guix@gnu.org; Tue, 16 Jul 2019 02:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnHFq-0002oN-2b for bug-guix@gnu.org; Tue, 16 Jul 2019 02:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnHFp-00033u-Vq for bug-guix@gnu.org; Tue, 16 Jul 2019 02:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:34909) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnHFQ-00068f-2Y for bug-guix@gnu.org; Tue, 16 Jul 2019 02:47:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnHFO-0002LM-VL for bug-guix@gnu.org; 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 ) id 1hnHFO-0002Ju-M2 for bug-guix@gnu.org; Tue, 16 Jul 2019 02:47:34 -0400 Received: by mail-pl1-x629.google.com with SMTP id b3so9587596plr.4 for ; Mon, 15 Jul 2019 23:47:34 -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 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jul 2019 23:47:31 -0700 (PDT) In-Reply-To: <87blxu1ny5.fsf@gmail.com> (Chris Marusich's message of "Mon, 15 Jul 2019 23:41:06 -0700") 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: 36684@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Chris Marusich 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----- --=-=-=--