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: zimoun
Subject: Re: Error: cannot close compressed log file
Date: Tue, 10 May 2022 19:52:59 +0200

Hi,

On Mon, 09 May 2022 at 12:50, Emmanuel Medernach 
<Emmanuel.Medernach@iphc.cnrs.fr> wrote:

> When trying to install a custom package the build stop after downloading 
> the source code with this error:
>
> guix install: error: cannot close compressed log file (gzip error = -1)

Well, I guess this message comes from ’nix/libstore/build.cc’:

--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---

which seems very unexpected. :-)


> I verified the archive file downloaded is fine, please help me how to 
> debug this ?

Could share the package definition?
Are you using Guix System or Guix on the top of a foreign distro?
Have you tweaked the option ’--log-compression’ from ’guix-daemon’?


Cheers,
simon





reply via email to

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