Hi,
On Mon, 09 May 2022 at 12:50, Emmanuel Medernach
<[email protected]> 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