Your message dated Tue, 25 Feb 2025 06:04:21 +0000
with message-id <e1tmo3j-005vj8...@fasolo.debian.org>
and subject line Bug#1098314: fixed in logwatch 7.12-3
has caused the Debian Bug report #1098314,
regarding Fix DEP8 failure in packages-and-report test case
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.)


-- 
1098314: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098314
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: logwatch
Version: 7.7-1ubuntu1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)


Recent change added a couple typos that prevent the DEP8 test case from
executing.  This is reproduced on all architectures in both Debian and
Ubuntu.

C.f.:
  - https://ci.debian.net/packages/l/logwatch/testing/amd64/57451983/
  - 
https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-bryce-logwatch-merge-v7.12-2/plucky/s390x/l/logwatch/20250218_145650_2877b@/log.gz

  111s autopkgtest [10:02:08]: test packages-and-report: 
[-----------------------
  111s Checking section SSHD exists in logwatch report for package 
openssh-server
  111s cat: {AUTOPKGTEST_ARTIFACTS}/service-sshd.txt: No such file or directory
  112s autopkgtest [10:02:09]: test packages-and-report: 
-----------------------]

-- System Information:
Debian Release: trixie/sid
  APT prefers noble-updates
  APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), 
(100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.0-52-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
>From 83bda15d2cacdec59b3957ffe99364c97efd7926 Mon Sep 17 00:00:00 2001
From: Bryce Harrington <br...@bryceharrington.org>
Date: Tue, 18 Feb 2025 18:40:58 -0800
Subject: [PATCH] tests/packages-and-report: Fix two typos in DEP8 test

* Add missing $ on env var
* awk pattern should reference $0, not $1

This fixes a test failure seen in Debian and Ubuntu, e.g.:

    https://ci.debian.net/packages/l/logwatch/testing/amd64/57451983/

111s autopkgtest [10:02:08]: test packages-and-report: [-----------------------
111s Checking section SSHD exists in logwatch report for package openssh-server
111s cat: {AUTOPKGTEST_ARTIFACTS}/service-sshd.txt: No such file or directory
112s autopkgtest [10:02:09]: test packages-and-report: -----------------------]
---
 debian/tests/packages-and-report | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/packages-and-report b/debian/tests/packages-and-report
index dc57b39..e41fa34 100644
--- a/debian/tests/packages-and-report
+++ b/debian/tests/packages-and-report
@@ -19,7 +19,7 @@ check_package_report_present(){
 
     PATTERN="- ${key}"
     /usr/sbin/logwatch --detail High --range all --service "${service}" --output file --filename "${AUTOPKGTEST_ARTIFACTS}/service-${service}.txt"
-    section_exists="$(cat "{AUTOPKGTEST_ARTIFACTS}/service-${service}.txt" | awk -v var="${PATTERN}" '$1 ~ var && position{print NR-position-1} $0 ~ var {position=NR}')"
+    section_exists="$(cat "${AUTOPKGTEST_ARTIFACTS}/service-${service}.txt" | awk -v var="${PATTERN}" '$0 ~ var && position{print NR-position-1} $0 ~ var {position=NR}')"
     echo "Number of lines for the report: ${section_exists}"
     if [ -z "${section_exists}" ]; then
         exit 1
-- 
2.43.0


--- End Message ---
--- Begin Message ---
Source: logwatch
Source-Version: 7.12-3
Done: Eric Dorland <e...@debian.org>

We believe that the bug you reported is fixed in the latest version of
logwatch, 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 1098...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Dorland <e...@debian.org> (supplier of updated logwatch 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: SHA512

Format: 1.8
Date: Tue, 25 Feb 2025 00:38:03 -0500
Source: logwatch
Architecture: source
Version: 7.12-3
Distribution: unstable
Urgency: medium
Maintainer: Willi Mann <wi...@debian.org>
Changed-By: Eric Dorland <e...@debian.org>
Closes: 1098314
Changes:
 logwatch (7.12-3) unstable; urgency=medium
 .
   * Tweak output of the packages-and-report test
   * Add salsa CI config
   * Disable packages-and-report test temporarily, which is failing
     (Closes: 1098314)
Checksums-Sha1:
 38f8f1e4d7e71210616773e70d495086ba6c153a 1877 logwatch_7.12-3.dsc
 0b2107eee8a08c4ec3f648c0c29817f776bd8d3d 20488 logwatch_7.12-3.debian.tar.xz
 a98e78f1ccca01aaf4adada67dc3e65351ceda6c 5555 logwatch_7.12-3_amd64.buildinfo
Checksums-Sha256:
 4870f07c56adf4bedf65e99c8f7ee60d182b87d9fdc99c997265f813499be393 1877 
logwatch_7.12-3.dsc
 215d45d8081cd88c889d9b6ded7999d04fe803f83f143bcf2b6f3c1027c388f7 20488 
logwatch_7.12-3.debian.tar.xz
 9887565c7cc571392fc6e620c5ff44d989b48390053dfab0ed70a32c2e9598cf 5555 
logwatch_7.12-3_amd64.buildinfo
Files:
 2dc4b16ac4c5e13050c0dd581246c80a 1877 admin optional logwatch_7.12-3.dsc
 ced66955cbfa5319060ba9cbb4ba830e 20488 admin optional 
logwatch_7.12-3.debian.tar.xz
 b69d4601d2dcd550e242fcf994f716c9 5555 admin optional 
logwatch_7.12-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEQ88SKPcm/VtHTOliwlb71QAiHpMFAme9V8YACgkQwlb71QAi
HpNpjQ/9GyXR6y0razEQrZHT5w5Bk8fUvMMAVFF493hgHCvA9/1A1OeqhXl+494U
X8oeQAZeD+jr5B2RJvLgjLonLo7tD+H0a3cpwIty6aCDxz63Y2ltK5XP33EfkMq4
4+j+sq7n4MZK3kYT4yE0e7hfZiM4SMDXpcZ93Vl/Y2iX/+CpkgPl2nkh1XBNcN3b
EiEnc3Z03R9lK0+6ucyUJLK3uMYhWXJmBtG6T4TQPxnvip8GO9Jdk7+lpqv06k/b
7IrS6R/mXLez14EbJjlRfAvcQ0g2c7fudOdFeBJE5FrrMXBW150vfwcC/DACuxo/
xpaURQXUXYHqOTsxpdw4pfK3fFy9POX19Bhdc1HAcpIrLu2bjGl4jLP8M1cczRg5
tN3guN3FVXpo/r0gzJOEI8reymVXrHCq1pCJu6i4/qxWjGEHb/RjDHx2Stb6+EvI
1qyyD7uDbPlICnCRI1HH5jS14UCjhOSXtXnUZFzQKqyvqAzhLSBAlrnUaiF+NJrF
oEqUmwIb24OGgV7NYj78Jko6JSIhYt51okabhGJPkJ1wMM9yeoOc4aPJ2zx4iidB
CRsCOynovNSZ2oNObVxHThKydnGWsYXuDbvrWiFE1WyIg6cbJH4lYc06Dg43EIxU
B2P6dn2zP1y+aGLgv0AIjyDgg+aCxkrf8Pv5IXjSbzLZQCvr6u8=
=F+Wm
-----END PGP SIGNATURE-----

Attachment: pgpEZ1Ee3sQb1.pgp
Description: PGP signature


--- End Message ---

Reply via email to