Bug#1113904: trixie-pu: package brltty/6.7-3.1+deb13u1
Hello,
I have uploaded brltty_6.7-3.1+deb13u2 on top of this.
Here are the additional details:
[ Reason ]
When brltty is installed on a machine without USB or bluetooth support
(e.g. a VM without any usb device), it starts spamming logs, about one
line per second.
[ Impact ]
This clutters log and fills disks
[ Tests ]
Manual test
[ Risks ]
The code is trivial
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the previously-proposed update
[X] the issue is verified as fixed in unstable
[ Changes ]
The (upstream) change downgrades the log messages from warning/error
down to debugging, so it's not printed by default.
diff -Nru brltty-6.7/debian/changelog brltty-6.7/debian/changelog
--- brltty-6.7/debian/changelog 2025-09-03 23:42:53.000000000 +0200
+++ brltty-6.7/debian/changelog 2025-09-10 23:44:02.000000000 +0200
@@ -1,3 +1,10 @@
+brltty (6.7-3.1+deb13u2) trixie; urgency=medium
+
+ * patches/noverbose-bluetooth: Avoid verbose bluetooth spam.
+ * patches/noverbose-usbfs: Avoid verbose usbfs spam (Closes: Bug#845496)
+
+ -- Samuel Thibault <sthibault@debian.org> Wed, 10 Sep 2025 23:44:02 +0200
+
brltty (6.7-3.1+deb13u1) trixie; urgency=medium
* patches/git-notext-noread: AtSpi2: not manage widgets without text
diff -Nru brltty-6.7/debian/patches/noverbose-bluetooth brltty-6.7/debian/patches/noverbose-bluetooth
--- brltty-6.7/debian/patches/noverbose-bluetooth 1970-01-01 01:00:00.000000000 +0100
+++ brltty-6.7/debian/patches/noverbose-bluetooth 2025-09-10 23:44:02.000000000 +0200
@@ -0,0 +1,25 @@
+Forwarded: https://github.com/brltty/brltty/commit/406d76d32b45c748699f858e1ae4ae134cd67917
+
+commit 406d76d32b45c748699f858e1ae4ae134cd67917
+Author: Dave Mielke <Dave@Mielke.cc>
+Date: Wed Sep 10 16:21:44 2025 -0400
+
+ The "unsupported generic resoure identifier" warning should only be logged if the generic I/O category is enabled.
+
+diff --git a/Programs/gio.c b/Programs/gio.c
+index 640b1a40a..a9ff0b8d6 100644
+--- a/Programs/gio.c
++++ b/Programs/gio.c
+@@ -120,8 +120,11 @@ gioGetProperties (
+ }
+ }
+
++ logMessage(LOG_CATEGORY(GENERIC_IO),
++ "unsupported generic resource identifier: %s", *identifier
++ );
++
+ errno = ENOSYS;
+- logMessage(LOG_WARNING, "unsupported generic resource identifier: %s", *identifier);
+ return NULL;
+ }
+
diff -Nru brltty-6.7/debian/patches/noverbose-usbfs brltty-6.7/debian/patches/noverbose-usbfs
--- brltty-6.7/debian/patches/noverbose-usbfs 1970-01-01 01:00:00.000000000 +0100
+++ brltty-6.7/debian/patches/noverbose-usbfs 2025-09-10 23:44:02.000000000 +0200
@@ -0,0 +1,38 @@
+Forwarded: https://github.com/brltty/brltty/commit/843310afa066e142ec8d861cec69785b33a0af1d
+
+commit 843310afa066e142ec8d861cec69785b33a0af1d
+Author: Dave Mielke <Dave@Mielke.cc>
+Date: Wed Sep 10 16:29:36 2025 -0400
+
+ The file system mount error message should be logged as debug if the error is no such device.
+
+diff --git a/Programs/mntpt.c b/Programs/mntpt.c
+index ab5493226..245b85f3d 100644
+--- a/Programs/mntpt.c
++++ b/Programs/mntpt.c
+@@ -106,8 +106,10 @@ makeMountPoint (const char *path, const char *reference, const char *type) {
+ if (mountFileSystem(path, reference, type)) {
+ MountEntry *entry;
+
+- logMessage(LOG_NOTICE, "file system mounted: %s[%s] -> %s",
+- type, reference, path);
++ logMessage(LOG_NOTICE,
++ "file system mounted: %s[%s] -> %s",
++ type, reference, path
++ );
+
+ if ((entry = malloc(sizeof(*entry)))) {
+ memset(entry, 0, sizeof(*entry));
+@@ -142,8 +144,10 @@ makeMountPoint (const char *path, const char *reference, const char *type) {
+ logMallocError();
+ }
+ } else {
+- logMessage(LOG_ERR, "file system mount error: %s[%s] -> %s: %s",
+- type, reference, path, strerror(errno));
++ logMessage((errno == ENODEV)? LOG_DEBUG: LOG_ERR,
++ "file system mount error: %s[%s] -> %s: %s",
++ type, reference, path, strerror(errno)
++ );
+ }
+
+ return 0;
diff -Nru brltty-6.7/debian/patches/series brltty-6.7/debian/patches/series
--- brltty-6.7/debian/patches/series 2025-09-03 23:42:53.000000000 +0200
+++ brltty-6.7/debian/patches/series 2025-09-10 23:44:02.000000000 +0200
@@ -5,3 +5,5 @@
git-make-shuffle
fix_german_translation_for_brltty_6.7
git-notext-noread
+noverbose-bluetooth
+noverbose-usbfs
diff -Nru brltty-6.7/debian/salsa-ci.yml brltty-6.7/debian/salsa-ci.yml
--- brltty-6.7/debian/salsa-ci.yml 2025-09-03 23:42:33.000000000 +0200
+++ brltty-6.7/debian/salsa-ci.yml 2025-09-10 23:44:02.000000000 +0200
@@ -4,6 +4,9 @@
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
variables:
+ SALSA_CI_DISABLE_VERSION_BUMP: 1
+ RELEASE: trixie
+
# Disable reprotest until salsa-ci-team/pipeline#26 is resolved
# as well as #988999
SALSA_CI_DISABLE_REPROTEST: 1
Reply to: