timew: autopkgtests fail with man-db 2.12.0

Bug #2043738 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
timew (Debian)
Fix Released
Unknown
timew (Ubuntu)
Fix Released
Undecided
Dan Bungert

Bug Description

Imported from Debian bug http://bugs.debian.org/1053924:

Source: timew
Version: 1.5.0+ds.1-1
Severity: important
Tags: patch

In response to https://gitlab.com/man-db/man-db/-/issues/17, I changed
the mandb program in man-db 2.12.0 to issue a warning if it's run
without the -u/--user-db option but doesn't have the necessary
permissions to write to system databases. This caused timew's
autopkgtests to fail due to the extra text on stderr. The following
patch fixes it.

diff --git a/debian/tests/timewarrior b/debian/tests/timewarrior
index 53bea1c..dcd6021 100644
--- a/debian/tests/timewarrior
+++ b/debian/tests/timewarrior
@@ -11,7 +11,7 @@ mkdir src
 ln -s /usr/bin/timew src/timew

 # regen man DB, since the tests use it
-mandb
+mandb -u

 cd test
 # requires compilation

Thanks,

--
Colin Watson (he/him) [<email address hidden>]

Dan Bungert (dbungert)
Changed in timew (Ubuntu):
assignee: nobody → Dan Bungert (dbungert)
Dan Bungert (dbungert)
Changed in timew (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package timew - 1.5.0+ds.1-1ubuntu1

---------------
timew (1.5.0+ds.1-1ubuntu1) noble; urgency=medium

  [Colin Watson]
  * Fix autopkgtest failure due to stderr output. (LP: #2043738)

 -- Dan Bungert <email address hidden> Thu, 16 Nov 2023 15:12:16 -0700

Changed in timew (Ubuntu):
status: Fix Committed → Fix Released
Changed in timew (Debian):
importance: Undecided → Unknown
Changed in timew (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.