From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UCSODF5y42NEsQAAbAwnHQ (envelope-from ) for ; Wed, 08 Feb 2023 10:58:54 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uI+cDF5y42PTuAAA9RJhRA (envelope-from ) for ; Wed, 08 Feb 2023 10:58:54 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id A79C538DBB for ; Wed, 8 Feb 2023 10:58:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPhDX-00080x-Rf; Wed, 08 Feb 2023 04:58:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPhDV-00080i-1O for help-guix@gnu.org; Wed, 08 Feb 2023 04:58:17 -0500 Received: from cczrelay02.in2p3.fr ([134.158.66.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPhDR-0005wF-VD for help-guix@gnu.org; Wed, 08 Feb 2023 04:58:16 -0500 Received: from [192.168.1.11] (buc10-1_migr-88-170-139-253.fbx.proxad.net [88.170.139.253] (may be forged)) (authenticated bits=0) by cczrelay02.in2p3.fr (8.14.4/8.14.4) with ESMTP id 3189w6Ao005671 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 8 Feb 2023 10:58:07 +0100 Message-ID: <880d64fa-94c2-13a4-ff83-cc200795f14b@iphc.cnrs.fr> Date: Wed, 8 Feb 2023 10:58:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Error: cannot close compressed log file To: help-guix References: <867d6ts29w.fsf@gmail.com> <874k1tesw0.fsf@gmail.com> Content-Language: en-US From: Emmanuel Medernach In-Reply-To: <874k1tesw0.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.158.66.142; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay02.in2p3.fr X-Spam_score_int: -52 X-Spam_score: -5.3 X-Spam_bar: ----- X-Spam_report: (-5.3 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.148, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; spf=pass (aspmx2.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675850333; a=rsa-sha256; cv=none; b=pZekNvBS5YR0zF/WhSWqrvLPimmkyww0sHTNk5ODLCrDxzfdFzSEZ7POigfks+Imx+bDQQ NWYgJmxbzBeD76BtImm6KnDWuXvQjsIwRuS4ExpsGil+n+SVT/uW/ttBu8iWLhoYEfxJzw ywTgRHe1v4OFf9TNl+iTyaexxCKoZ6oLgDQGIyKLCrzHsOJCf7cVZviT2iXKHnoR7cTkah vXF3Hzv4Q7YWEpdHFgjvAHb1yjU3rjZ7rEESGAA7A9hBbwmsr9H6RU8sRpCc7inGUV9JZE zv17j9h3OcRbmfPoGGzyZ1hz0eYM5PL4Vc4JBXWSDcKorYdwamitraHeMra8OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675850333; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=xD7q2xnZY4P74Q1YG3Vxq/qojXkj8vDPZnKmDbLe3RY=; b=sCy544O9EX4FvDf+2Z1HNawRZ/zlNMyNLi8ydQTLjVw8DdI4qJ5NozPCVWhDWDjHB/F8nC ULOYLqYnVEaIrY0kz5+VSRLlAwU2u2ZJXCJ/EPVhcdXwAFPvYCxBM2aFsRgayWTnJP5nS+ TqapQXgngfxrRPGM6YH5VmLxQrx4Dqp7CwuprQP/dZu7cQoCM56MPAKUFTfv5ElEdsS6RA 61IDE28Brm0GETD5l/o7+H923lIG+6th77NK98iJwr7TgSYERe9CvCRY/3u+d0irT5EW/S 6RbrQlHaxiBqS0sqEvjVZml/VhkGorbA40IowrJiJ90jItGvL3Iw6IGDTBTGEQ== X-Migadu-Queue-Id: A79C538DBB X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx2.migadu.com; dkim=none; spf=pass (aspmx2.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -3.70 X-Spam-Score: -3.70 X-TUID: oZjuEQlroO0+ 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 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