Your message dated Sun, 04 Feb 2018 17:50:17 +0000
with message-id <e1eioqj-000avs...@fasolo.debian.org>
and subject line Bug#886649: fixed in man-db 2.8.0-1
has caused the Debian Bug report #886649,
regarding man-db: Please fix malformed debian/changelog entry
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.)


-- 
886649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886649
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: man-db
Version: 2.7.0.2-5
Severity: normal
Tags: patch

Hi,

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

/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for next heading of EOF:   * In man-db
-69g: Mon,  5 Apr 1999 20:27:12 +0300
  warnings.warn(message)
/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for next heading of EOF:    * corrected
typo in aclocal.m4 that made detection of broken pclose
  warnings.warn(message)
[...]

A patch that fixes the mal-formed changelog entry is attached. 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 5b0380ba066dee971df9e4afbcc01f7745c64749 Mon Sep 17 00:00:00 2001
From: Benjamin Drung <benjamin.dr...@profitbricks.com>
Date: Mon, 8 Jan 2018 14:02:59 +0100
Subject: [PATCH] Fix malformed debian/changelog entry

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

/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for next heading of EOF:   * In man-db
-69g: Mon,  5 Apr 1999 20:27:12 +0300
  warnings.warn(message)
/usr/lib/python3/dist-packages/debian/changelog.py:275: UserWarning:
Unexpected line while looking for next heading of EOF:    * corrected
typo in aclocal.m4 that made detection of broken pclose
  warnings.warn(message)
[...]

Fix the mal-formed changelog entry.
---
 debian/changelog | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cd2d1054..610458ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2723,6 +2723,8 @@ man-db (2.3.10-69h) unstable; urgency=low
 
  -- Fabrizio Polacco <fpola...@debian.org>  Fri,  9 Apr 1999 10:49:11 +0300
 
+man-db (2.3.10-69g) unstable; urgency=low
+
   * In man-db -69g:    Mon,  5 Apr 1999 20:27:12 +0300
    * corrected typo in aclocal.m4 that made detection of broken pclose
      unavailable for configure. Thanx to UNO Takeshi <u...@sysplan.co.jp>
-- 
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("man-db")

--- End Message ---
--- Begin Message ---
Source: man-db
Source-Version: 2.8.0-1

We believe that the bug you reported is fixed in the latest version of
man-db, 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.
Colin Watson <cjwat...@debian.org> (supplier of updated man-db 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: Sun, 04 Feb 2018 17:25:58 +0000
Source: man-db
Binary: man-db
Architecture: source
Version: 2.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Colin Watson <cjwat...@debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Description:
 man-db     - on-line manual pager
Closes: 867857 877199 886649
Changes:
 man-db (2.8.0-1) unstable; urgency=medium
 .
   [ Colin Watson ]
   * New upstream release:
     - If man adds prefixes to a page to handle such things as disabling
       hyphenation, then take account of those when looking for a
       preprocessor line at the start of the page (closes: #867857).
     - Confine most subprocesses that handle untrusted data using seccomp
       (closes: #877199).
   * Move VCS to salsa.debian.org.
 .
   [ Benjamin Drung ]
   * Fix malformed debian/changelog entry (closes: #886649).
Checksums-Sha1:
 3339ab8fcde4e692a36c8650de987702f3dbb3cc 2189 man-db_2.8.0-1.dsc
 889e440f5e5a6efb47f970681276d283f83bd79d 1620344 man-db_2.8.0.orig.tar.xz
 7b79adf05d65f797a48b0653d9dccb8914a8ec69 833 man-db_2.8.0.orig.tar.xz.asc
 4cd871bda13bfe7df3e9e4311a8f0bd4a1523ebf 258964 man-db_2.8.0-1.debian.tar.xz
 f8afd80b591f033c5fd6078eb1adaafe07c2b7a0 7014 man-db_2.8.0-1_source.buildinfo
Checksums-Sha256:
 4698967b01a6ec9d73fa14452062c12c26c05a2eaaadca13b142a3413ef91f61 2189 
man-db_2.8.0-1.dsc
 362aad1c14751456b3c32c96864c655aeffb79841f70b87cb3d3c20962f59727 1620344 
man-db_2.8.0.orig.tar.xz
 c6b0b47558f531c0a20795161836db54bc6b38dc9ca9ce0206f9c271daf842a3 833 
man-db_2.8.0.orig.tar.xz.asc
 d4b097d56aa25fe04beb5175c13e40043479da3464186a555406a5f69c5a8979 258964 
man-db_2.8.0-1.debian.tar.xz
 9f2e0df4c5849e0e7216ae8e06cfd4439ec49c99de086a08dd7a75567898cfe3 7014 
man-db_2.8.0-1_source.buildinfo
Files:
 ce69bfdf89eb6b78cf3b01fcda93f49c 2189 doc important man-db_2.8.0-1.dsc
 2b7d6cf6350735544522859d93983fab 1620344 doc important man-db_2.8.0.orig.tar.xz
 27a15f5b50d333ca97ec0023ad98e6f2 833 doc important man-db_2.8.0.orig.tar.xz.asc
 587cbd8382716925172d6347acec5e64 258964 doc important 
man-db_2.8.0-1.debian.tar.xz
 57a0178a5fdee191c9a58cd81ec3b3e6 7014 doc important 
man-db_2.8.0-1_source.buildinfo

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

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlp3Q4cACgkQOTWH2X2G
UAurCxAApi0SA6iOHeTm7W7DP9Lx79kBcUgLUyWfZhY5rrcMWABW649MEjpylucP
82nbv0FhbyhZQlKfSeClfXuqZMujF7rYICj2jFeHQ1bmmag9XWJymGOnCIiH04ap
l7kCJLmDui5B5LERIqDXR6F1GFAHa1YCTKuAHfeefZmXxmDMh1gzw7CJogkbqtp+
uinAoHh/rI8fsWxqDHAGjcC6TzGkdhCfgp6IOA2Mhab/viiUmjUQkFAaFUG/IEnf
DezHFmrjN+hlxe0S6PXCtxzggTT7/PQZFpwY10vfZwD8a7asW5WjM9lMTsiEdhxk
P+PsOIzb5DDu8zDvQktjVP40Dv64IbCt8DEO0nnkUL9MVaiEvPPQUmo0yOGVbDdc
rDnPXbVQC8k0zwa1JWtn2jAkbaovqqK7r2GyHDtcOQAUfyn5SObSUlA7xLb7o2ND
dyNZsIu7XmepRojy9V0wCWRh7ntkIQH3Ua6QtrnNyFCCfshLCKAG5oyOoWqX7uSp
XZcN8sZ1IKnixJ/c46/uS49Kpk6V/dJV/cTViftXeq7eFmzx+kvsbNXorAA4V73k
VbLBtVI/33yc6S/uk3xzahFuyddvV3U6G02yWPSqIwJICVo44xnJLflXw5QqiU3o
2yGixHpg90VyvkZnj5xECGOk8bWRKSpXi/P3f70MGCUvagq3XNo=
=PbdG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to