unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr>
To: help-guix <help-guix@gnu.org>
Subject: Re: Error: cannot close compressed log file
Date: Wed, 8 Feb 2023 10:58:07 +0100	[thread overview]
Message-ID: <880d64fa-94c2-13a4-ff83-cc200795f14b@iphc.cnrs.fr> (raw)
In-Reply-To: <874k1tesw0.fsf@gmail.com>

Hello,

The problem reappeared:

$ guix pack -RR -C bzip2 -f tarball --manifest=manifest.scm
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
The following derivation will be built:
   /gnu/store/5v24idd80hl29cwxijmj4dd13v6vdqa1-....tar.bz2.drv

building /gnu/store/5v24idd80hl29cwxijmj4dd13v6vdqa1-...tar.bz2.drv...
-guix pack: error: cannot close compressed log file (gzip error = -1)

None of my filesystem is empty and guix gc does not solve the problem 
this time :(

What could be done about it ?

Cheers,

Emmanuel

Le 13/05/2022 à 10:30, zimoun a écrit :
> Hi,
>
> On jeu., 12 mai 2022 at 11:34, Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> wrote:
>
>>> --8<---------------cut here---------------start------------->8---
>>> void DerivationGoal::closeLogFile()
>>> {
>>>       if (gzLogFile) {
>>> 	int err;
>>> 	err = gzclose(gzLogFile);
>>> 	gzLogFile = NULL;
>>> 	if (err != Z_OK) throw Error(format("cannot close compressed log file (gzip error = %1%)") % err);
>>>       }
>>> --8<---------------cut here---------------end--------------->8---
> [...]
>
>> After a guix gc it works again, I don't understand what was the problem
>> as there was no logs :/
> I do not know either.  Maybe something wrong with a log file and this
> log file had been removed by GC.
>
> Yes, now it is impossible to understand why that happened.  Feel free to
> report similar errors if they appear again.
>
>
> Cheers,
> simon


  reply	other threads:[~2023-02-08  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09 10:50 Error: cannot close compressed log file Emmanuel Medernach
2022-05-10 17:52 ` zimoun
2022-05-12  9:34   ` Emmanuel Medernach
2022-05-13  8:30     ` zimoun
2023-02-08  9:58       ` Emmanuel Medernach [this message]
2023-02-08 13:48         ` Simon Tournier
2023-02-08 14:57           ` Emmanuel Medernach
2023-02-09  7:33             ` Emmanuel Medernach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=880d64fa-94c2-13a4-ff83-cc200795f14b@iphc.cnrs.fr \
    --to=emmanuel.medernach@iphc.cnrs.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).