GNU bug report logs - #44985
ANSI sequences in unattended-upgrades.log?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Simon Josefsson <simon@HIDDEN>; dated Tue, 1 Dec 2020 09:01:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 44985 <at> debbugs.gnu.org:


Received: (at 44985) by debbugs.gnu.org; 14 Jun 2021 14:19:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 14 10:19:34 2021
Received: from localhost ([127.0.0.1]:47317 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lsnR8-00068b-IG
	for submit <at> debbugs.gnu.org; Mon, 14 Jun 2021 10:19:34 -0400
Received: from mail-pf1-f169.google.com ([209.85.210.169]:41674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lantw44@HIDDEN>) id 1lsnR5-00068M-Vb
 for 44985 <at> debbugs.gnu.org; Mon, 14 Jun 2021 10:19:33 -0400
Received: by mail-pf1-f169.google.com with SMTP id x73so10645035pfc.8
 for <44985 <at> debbugs.gnu.org>; Mon, 14 Jun 2021 07:19:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=message-id:subject:from:to:date:user-agent:mime-version
 :content-transfer-encoding;
 bh=kJpDZmzyCndeRa/dAPuvPPQab/UTUOl/nSXVowV4vlM=;
 b=VX/UnbEmBJnb57OXafM/fYeMKwREt62COxikWUvoyWJ9qMp2YXypqpfki+FEXY2YO0
 USO+mAccJvkfLVS98adQIdk6+w1v4fF/9+vaU1U/S8rjbRWcxO9ZT8eJh42yudW+v8Wg
 6c9dyIwIQpctZ2qRApjgG4BhFhlUms3PyOcyZQpfPZ8CAGbn4yapm8UGfUydlyleIK5+
 EXvXu9sWPcA9wHRqDBY9ijuvT3Km52E9OX6Ag9L3mLPB3psXRa9ri1SSWhtDzFcPacio
 zyZF1DdXvzePh5Sov9GJYg53hnbvfvZ/MKGe0jvrW0mc8xSG3gXAzj6tBgJ0fSnvQd1i
 NPPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:date:user-agent
 :mime-version:content-transfer-encoding;
 bh=kJpDZmzyCndeRa/dAPuvPPQab/UTUOl/nSXVowV4vlM=;
 b=iBvaX/QHQyeDoRtejO448kukzvfvwLtjypwHYCfaO0y2toSIxhr5JuuXMoanxxEMTm
 DlwGWxlRqETs2DpdhicwGHBCYatZFXwBP9DAGyiq0tAyzZY3rVexjLXwtRhu0GSQ/APV
 UMfkgFB947RNbg6u1ySipTHpiT+/3ZRHiPUHFpJvtsR1caAN3ftK3dkeNzkeVgBNbbW5
 SyF+BIhjfeQk99TGqhfje07p3EZy5Dg7Cj7a97dtSftTVqQBOLRMzlxNVoQ0+iCr0VDS
 tUKXK8sf/uclkAbDsJv++Io1umxNbau2DkDkcH8lAW3IWWetqNvQ68b6OM+c7mfMME5b
 mlIg==
X-Gm-Message-State: AOAM532NlybF9q1yaMPuQMOEoYITsF30ZDiV1p/rkUYB5ZdpFbsL3JLv
 6ZCK2C9yfm+70ml4lSP4YRJuh7WOLUA3Vg==
X-Google-Smtp-Source: ABdhPJyCvfb1YGJpVKBEDIxHFUfsVc9dszhXEM96kKoBtVJWuXsvXmGaVPFBHClJhZMy9nqeeMse4w==
X-Received: by 2002:a63:475b:: with SMTP id w27mr17124502pgk.305.1623680365849; 
 Mon, 14 Jun 2021 07:19:25 -0700 (PDT)
Received: from [192.168.1.92] ([106.104.151.171])
 by smtp.gmail.com with ESMTPSA id x20sm12759097pfh.112.2021.06.14.07.19.25
 for <44985 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 14 Jun 2021 07:19:25 -0700 (PDT)
Message-ID: <adfb2d96758061498a67f0e622c20a49dea81633.camel@HIDDEN>
Subject: ANSI sequences in unattended-upgrades.log?
From: =?Big5?Q?=C2=C5=AE=BC=DE=B3?= <lantw44@HIDDEN>
To: 44985 <at> debbugs.gnu.org
Date: Mon, 14 Jun 2021 22:19:23 +0800
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.41.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 44985
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

The commit d613c1771a1986d3c0f1e034155fde41f32f9b8e seems to break tests/guix-
environment.sh test for Guix 1.3.0 on Guile 2.2.7.

The line which causes the test to fail is:

  (when (zero? (modulo (round (* 100. (/ transferred size))) 10))

When Guile 2.2.7 runs this line, it fails with the error:

  Wrong type (expecting exact integer): 2.0

The error comes from the call to 'zero?'.




Information forwarded to bug-guix@HIDDEN:
bug#44985; Package guix. Full text available.

Message received at 44985 <at> debbugs.gnu.org:


Received: (at 44985) by debbugs.gnu.org; 18 Dec 2020 21:05:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 18 16:05:45 2020
Received: from localhost ([127.0.0.1]:40128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kqMwb-0006bn-Cz
	for submit <at> debbugs.gnu.org; Fri, 18 Dec 2020 16:05:45 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1kqMwY-0006ba-OB
 for 44985 <at> debbugs.gnu.org; Fri, 18 Dec 2020 16:05:43 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40640)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1kqMwS-0006s5-Sz; Fri, 18 Dec 2020 16:05:36 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53976 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1kqMwR-0008GV-Ss; Fri, 18 Dec 2020 16:05:36 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Josefsson <simon@HIDDEN>
Subject: Re: bug#44985: ANSI sequences in unattended-upgrades.log?
References: <875z5ldhpk.fsf@HIDDEN>
Date: Fri, 18 Dec 2020 22:05:33 +0100
In-Reply-To: <875z5ldhpk.fsf@HIDDEN> (Simon Josefsson's message
 of "Tue, 01 Dec 2020 10:00:07 +0100")
Message-ID: <871rfmakpu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 44985
Cc: 44985 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

Simon Josefsson <simon@HIDDEN> skribis:

> Hi!  The unattended-upgrades.log file is quite unreadable due to ANSI
> sequences.  Probably use of them should be disabled when output is a log
> file?

This is mostly fixed by d613c1771a1986d3c0f1e034155fde41f32f9b8e.

There=E2=80=99s one remaining case where ANSI escapes can go through, that=
=E2=80=99s the
=E2=80=9Cupdating substitutes=E2=80=9D messages.  This one requires a bit m=
ore work
because it=E2=80=99s written on the daemon side.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#44985; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Dec 2020 09:00:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 01 04:00:24 2020
Received: from localhost ([127.0.0.1]:57747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kk1WK-0003fc-MB
	for submit <at> debbugs.gnu.org; Tue, 01 Dec 2020 04:00:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:44106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simon@HIDDEN>) id 1kk1WJ-0003fT-0d
 for submit <at> debbugs.gnu.org; Tue, 01 Dec 2020 04:00:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44718)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simon@HIDDEN>)
 id 1kk1WI-00057Y-Ms
 for bug-guix@HIDDEN; Tue, 01 Dec 2020 04:00:22 -0500
Received: from uggla.sjd.se ([2001:9b1:8633::107]:36096)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simon@HIDDEN>)
 id 1kk1WC-0003e1-Rr
 for bug-guix@HIDDEN; Tue, 01 Dec 2020 04:00:21 -0500
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=ed20b09; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=jqm8OUN5e1JiPAdV3FrC/rVwYbjIrmo4X/9jnbn4Rr4=; b=droUtFhqmIZ75N0/KduIPJ5hJh
 y7PTck/TllvemmY6BPiTjBSLLxutxVaV/+aHLWZ6utddxWBARgRh/Kk/cpCQ==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=rsa20b09; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=jqm8OUN5e1JiPAdV3FrC/rVwYbjIrmo4X/9jnbn4Rr4=; b=Bk3eboL+NVp1tmXSNvZEh371B4
 yhYF93x0Ka7ltZ4ARaDwE214lQDCSvjTkd54ANVKC6TUOZ/v3fe8SVAaakZWv2bh8Ggp/zn/Uq8an
 kdkbwBRyJBvIb65GVwxasK7RGGSfT0xa6ma7U7WoonaT46Pq6nJmqvq40q7nl6na7tyNuX+WKQn4t
 LnGs5x/VfAmf/ZuAK6/C3oncBRIKJGgRObl9mE/FORXxRYn3OOkiR2ager5Y0OG4cnaMoLiYhn96C
 ULXjZGedurX103RnA/IFCOjENT0hNPcune5tCuA0uiptBr890Ptczox99eND19Ha7gYM5tsHxem6F
 HP5++TZxmDQjUbaTA7Hkn4HS+/BbNXIbsR6xJ2LSg9JLyd4dk4/UkZ1Ye3hfubifYhgpHuq/61hpJ
 y+pbVvqHys3fiOu4pnJIO+j+b2e2W3uXcUUD87vTNbpAX;
Received: from 31-208-42-58.cust.bredband2.com ([31.208.42.58]:52202
 helo=latte)
 by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <simon@HIDDEN>) id 1kk1W3-0004fB-TY
 for bug-guix@HIDDEN; Tue, 01 Dec 2020 09:00:07 +0000
X-Hashcash: 1:22:201201:bug-guix@HIDDEN::/SbShxSJ/Fg+Ieo3:0WWT
From: Simon Josefsson <simon@HIDDEN>
To: bug-guix@HIDDEN
Subject: ANSI sequences in unattended-upgrades.log?
OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
Date: Tue, 01 Dec 2020 10:00:07 +0100
Message-ID: <875z5ldhpk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-uggla-rspamd: ---- Score: -4.2 Action: no action Symbol: ARC_NA(0.00)
 Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: FROM_HAS_DN(0.00)
 Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: MIME_GOOD(-0.20)
 Symbol: TO_DN_NONE(0.00) Symbol: RCPT_COUNT_ONE(0.00)
 Symbol: RCVD_COUNT_ONE(0.00) Symbol: SIGNED_PGP(-2.00)
 Symbol: FROM_EQ_ENVFROM(0.00) Symbol: MIME_TRACE(0.00)
 Symbol: SUBJECT_ENDS_QUESTION(1.00) Symbol: ASN(0.00)
 Symbol: RCVD_TLS_ALL(0.00) Symbol: BAYES_HAM(-2.99)
 Message-ID: 875z5ldhpk.fsf@HIDDEN
Received-SPF: pass client-ip=2001:9b1:8633::107;
 envelope-from=simon@HIDDEN; helo=uggla.sjd.se
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain

Hi!  The unattended-upgrades.log file is quite unreadable due to ANSI
sequences.  Probably use of them should be disabled when output is a log
file?

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCX8YGFwAKCRBRcisI/kdF
opweAQCuk8rulEnw2mdvz66KjBbq1uuyesIGoRB8NW3eUJWpYAD+KT8x6FZ/hw3v
c3NoouU2OB2pkg8KDrwePP/BmT2lVwU=
=RBmo
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Simon Josefsson <simon@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#44985; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 14 Jun 2021 14:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.