Your message dated Mon, 19 Feb 2018 18:05:29 +0000
with message-id <e1enpof-000gf2...@fasolo.debian.org>
and subject line Bug#886653: fixed in strace 4.21-1
has caused the Debian Bug report #886653,
regarding strace: Please fix malformed debian/changelog entries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
886653: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886653
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: strace
Version: 4.9-2
Severity: normal
Tags: patch

Hi,

python3-debian will print warnings when parsing the changelog file from
strace:

/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for more change data or trailer:  --
Wichert Akkerman <wakke...@wi.leidenuniv.nl>, Thu Sep 12 14:59:44 MET
DST 1996
  warnings.warn(message)
/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for more change data or trailer: strace
(3.1-3) unstable; urgency=low
  warnings.warn(message)

A patch that fixes the mal-formed changelog entries is attached. The
upload date for the first two uploads are guessed. A small script to
reproduce the warning is also attached.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.dr...@profitbricks.com
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
>From baa769c987982624a560c42bd906d7b015e96e94 Mon Sep 17 00:00:00 2001
From: Benjamin Drung <benjamin.dr...@profitbricks.com>
Date: Mon, 8 Jan 2018 15:25:49 +0100
Subject: [PATCH] Fix malformed debian/changelog entries

python3-debian will print warnings when parsing the changelog file from
strace:

/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for more change data or trailer:  --
Wichert Akkerman <wakke...@wi.leidenuniv.nl>, Thu Sep 12 14:59:44 MET
DST 1996
  warnings.warn(message)
/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for more change data or trailer: strace
(3.1-3) unstable; urgency=low
  warnings.warn(message)

Fix the mal-formed changelog entries and guess the upload date for the
first two uploads.

Signed-off-by: Benjamin Drung <benjamin.dr...@profitbricks.com>
---
 debian/changelog | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 588f1c3a..b1bc41dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -931,23 +931,23 @@ strace (3.1-4) unstable; urgency=low
 
   * Fixed changestemplate
 
- -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>, Thu Sep 12 14:59:44 MET DST 
1996
+ -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>  Thu, 12 Sep 1996 14:59:44 
+0200
 
 strace (3.1-3) unstable; urgency=low
 
   * Revamped debian files
 
- -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>, Thu Jul 11 20:19:11 MET DST 
1996
-
+ -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>  Thu, 11 Jul 1996 20:19:11 
+0200
 
 strace (3.1-2) unstable; urgency=low
+
   * Added some #ifdef's around IPX stuff to make it compilable on non-Linux
     systems.
   * changed debian.control and debian.rules to conform to new debian naming
     schemes
   * added architecture-option to debian.rules and debian.control
 
- -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>
+ -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>  Thu, 1 Jul 1996 00:00:00 
+0000
 
 strace (3.1-1) unstable; urgency=low
 
@@ -960,4 +960,4 @@ strace (3.1-1) unstable; urgency=low
   * added IP, IPX and TCP support to get-/setsockopt()
   * added IPX support
 
- -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>
+ -- Wichert Akkerman <wakke...@wi.leidenuniv.nl>  Thu, 1 Jun 1996 00:00:00 
+0000
-- 
2.14.1

#!/usr/bin/python3

# Copyright (C) 2017, ProfitBricks GmbH
# Authors: Benjamin Drung <benjamin.dr...@profitbricks.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

""" Check changelog from /usr/share/doc/*/changelog.Debian.gz.

Dependencies: apt install python3 python3-debian
"""

import gzip
import os

import debian.changelog

def check(name):
    doc_dir = os.path.join("/usr/share/doc", name)
    changelog_filename = os.path.join(doc_dir, "changelog.Debian.gz")
    if not os.path.exists(changelog_filename):
        changelog_filename = os.path.join(doc_dir, "changelog.gz")
    changelog_file = gzip.open(changelog_filename, 'r')
    debian.changelog.Changelog(file=changelog_file)

check("strace")

--- End Message ---
--- Begin Message ---
Source: strace
Source-Version: 4.21-1

We believe that the bug you reported is fixed in the latest version of
strace, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 886...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <93...@debian.org> (supplier of updated strace package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 19 Feb 2018 14:59:09 +0000
Source: strace
Binary: strace strace64 strace-udeb
Architecture: source
Version: 4.21-1
Distribution: unstable
Urgency: medium
Maintainer: Steve McIntyre <93...@debian.org>
Changed-By: Steve McIntyre <93...@debian.org>
Description:
 strace     - System call tracer
 strace-udeb - System call tracer (udeb)
 strace64   - System call tracer for 64bit binaries
Closes: 782427 826223 864858 882413 883697 886653
Changes:
 strace (4.21-1) unstable; urgency=medium
 .
   * New upstream release(s)
   * Moved git repo from alioth to salsa.d.o
   * Several Debian changes from upstream:
     + Build strace-udeb separately so we can enable libunwind (Closes: #826223)
     + Re-enable building with libiberty and libunwind for the full amd64
       package (Closes: #782427)
     + Add "strace -V" output to build log
     + Use the new --enable-mpers=check option at build time
     + Install strace-log-merge and its man page
   * Add build-dep on libbluetooth-dev to allow decoding of AF_BLUETOOTH
     socket operations too (Closes: #882413)
   * Fix ancient Changelog entries to fix up errors in various
     tools. Thanks to Benjamin Drung for the patch. Closes: #886653
   * Disallow unaligned access on ARM in tests. Thanks to Steve Langasek /
     Ubuntu for the patch. Closes: #864858
   * Minor packaging updates:
     + Updated versioned dependency on debhelper
     + Use /usr/share/dpkg/architecture.mk instead of manually setting
       build variables
     + Switch all the binary packages from Priority: extra to optional
     + Switch to linux-any from a hard-coded list of arches for the normal
       packages. (Leaving alone for the 32-bit multilib versions.)
       Closes: #883697
     + Update Standards-Version to 4.1.3
   * Multiple general changes and bugfixes - see the NEWS file
   * Upstream moved from sourceforge to github, so upstream release style
     changed slightly. Now need to bootstrap at build time.
Checksums-Sha1:
 394b802cdb433d7750e4c3225e7fd92ee62b77a7 2137 strace_4.21-1.dsc
 5db605a4101fe1c7a7764e59f0e55faa754532a5 701736 strace_4.21.orig.tar.xz
 47972ee62c9047f145c6741be89e9b8de0e38dc3 19252 strace_4.21-1.debian.tar.xz
 a1cda5daed2d3044ebe991191fd1afcefc9121f7 7000 strace_4.21-1_source.buildinfo
Checksums-Sha256:
 c8cb241b6412b0f2e205d78def768a276cc913f28292adbf8f01236d9e01a2b3 2137 
strace_4.21-1.dsc
 7480aab9a5100ee8cc512de5a2af704a4477efcb7135f43f6006de965b3a6c5b 701736 
strace_4.21.orig.tar.xz
 3aa392ec29c5d06157cbf5f37a945314ab0e3fd54659dbbd5225f468fed1c14d 19252 
strace_4.21-1.debian.tar.xz
 b65dbaa21ab45918939dbfc87f9335c82a4a56fd1a49b29e9f01c2316d67961e 7000 
strace_4.21-1_source.buildinfo
Files:
 beedf575705385d1ec8200c4c1f5f9c2 2137 utils optional strace_4.21-1.dsc
 4c0c10e69fff920447c1d964e83528fc 701736 utils optional strace_4.21.orig.tar.xz
 79222c17c9ce253dba63a78c116c5eef 19252 utils optional 
strace_4.21-1.debian.tar.xz
 f0b0ca350697ccdf2c5719bfe15b12e3 7000 utils optional 
strace_4.21-1_source.buildinfo

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

iQIzBAEBCAAdFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAlqLDQYACgkQWHl5VzRC
aE6lcA/+IKneFRSzIN0Uxwf2giUXaBRFqKbu86YqJOsl6cKmAfjqJg54Y4wJEhC6
QEViviyvBw8NqxnnFNA8HCWsiIOsT6aq3e95w3GYFCewGxRocxVY+CIHUYlj4foV
2Ccm6ZBbVGqRJBCfDrHFCxCmeQ4O9ZsV5aPnZMurGCM4mFhExCdZlU5p8DE6QOwZ
SEXGIWON9uLNXZTRH4jZzOEHxa+j1wCGiFOOgkmg2MYu/2WTpO0jBpnItKSuiSjT
QfQXCVvzJBMXnwN+6bK80iTnibaZ64Il8emVyUhBTnqykit7CbQPzlhoTyeJBTUD
YiLaUI/BQpKn6EZIjfVSGZQLiTAJT470IXNtEvj74jRpiHTAxoGXwNosDvbk0QoD
KSSTMZHc/k0af/7Ky41TMAy/SAJoSpxTLC9dObIoDhnlIOIs7PvqeT1JoLnnjs6M
Z6iEE0XJo+tBz/9Kmnga/idnZJt3Qx2vUjIRlpSQdA8LdVtopNxLrEoB1lTQkV/I
sp5AvU8Y8YEbf68NH5nLb1guZV4HUrQ7H5ceAZDOeuTwOtSOblZwBZfwal+08L2Q
SqXFc9ZiVSC6dCUN+6waO3qSKMz0Kcgm+UlYFCtF3cu3TqnIcddd6/hSQ20yDp7q
23bUmefnYCrwUIVeXCr9IqwPIYdEZr+DZ5g85KGmqeuf5Pz8Tuk=
=LQB/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to