help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: cannot close compressed log file


From: Emmanuel Medernach
Subject: Re: Error: cannot close compressed log file
Date: Wed, 8 Feb 2023 10:58:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]