X-Loop: help-debbugs@HIDDEN
Subject: bug#44985: ANSI sequences in unattended-upgrades.log?
Resent-From: Simon Josefsson <simon@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 01 Dec 2020 09:01:01 +0000
Resent-Message-ID: <handler.44985.B.160681322514116 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44985
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 44985 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160681322514116
(code B ref -1); Tue, 01 Dec 2020 09:01:01 +0000
Received: (at submit) by debbugs.gnu.org; 1 Dec 2020 09:00:25 +0000
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>
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-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-----
--=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Simon Josefsson <simon@HIDDEN> Subject: bug#44985: Acknowledgement (ANSI sequences in unattended-upgrades.log?) Message-ID: <handler.44985.B.160681322514116.ack <at> debbugs.gnu.org> References: <875z5ldhpk.fsf@HIDDEN> X-Gnu-PR-Message: ack 44985 X-Gnu-PR-Package: guix Reply-To: 44985 <at> debbugs.gnu.org Date: Tue, 01 Dec 2020 09:01:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 44985 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 44985: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44985 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#44985: ANSI sequences in unattended-upgrades.log?
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 18 Dec 2020 21:06:01 +0000
Resent-Message-ID: <handler.44985.B44985.160832554525412 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44985
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Simon Josefsson <simon@HIDDEN>
Cc: 44985 <at> debbugs.gnu.org
Received: via spool by 44985-submit <at> debbugs.gnu.org id=B44985.160832554525412
(code B ref 44985); Fri, 18 Dec 2020 21:06:01 +0000
Received: (at 44985) by debbugs.gnu.org; 18 Dec 2020 21:05:45 +0000
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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
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-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.
X-Loop: help-debbugs@HIDDEN
Subject: bug#44985: ANSI sequences in unattended-upgrades.log?
References: <875z5ldhpk.fsf@HIDDEN>
In-Reply-To: <875z5ldhpk.fsf@HIDDEN>
Resent-From: =?UTF-8?Q?=E8=97=8D=E6=8C=BA=E7=91=8B?= <lantw44@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 14 Jun 2021 14:20:02 +0000
Resent-Message-ID: <handler.44985.B44985.162368037423601 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44985
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 44985 <at> debbugs.gnu.org
Received: via spool by 44985-submit <at> debbugs.gnu.org id=B44985.162368037423601
(code B ref 44985); Mon, 14 Jun 2021 14:20:02 +0000
Received: (at 44985) by debbugs.gnu.org; 14 Jun 2021 14:19:34 +0000
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>
From: =?UTF-8?Q?=E8=97=8D=E6=8C=BA=E7=91=8B?= <lantw44@HIDDEN>
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-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?'.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.