XPost: linux.debian.bugs.dist
From:
ykonotopov@gnome.org
Package: libdpkg-perl
Version: 1.22.17
Severity: normal
Tags: patch
X-Debbugs-Cc:
ykonotopov@gnome.org
Hello!
While building apt-mirror2 I recently got
`Undefined subroutine &Dpkg::OpenPGP::Backend::Sequoia::g_` error.
It looks like Dpkg::Gettext is missing from the Sequoia.pm.
Below is the patch that fixes this issue:
From 5085a80c6298f1b924140ee10cfce7f4c641242e Mon Sep 17 00:00:00 2001
From: Yuri Konotopov <
ykonotopov@gnome.org>
Date: Sun, 9 Mar 2025 10:41:10 +0400
Subject: [PATCH] Dpkg::OpenPGP::Backend::Sequoia: add missing `Dpkg::Gettext`
dependency
Signed-off-by: Yuri Konotopov <
ykonotopov@gnome.org>
---
scripts/Dpkg/OpenPGP/Backend/Sequoia.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm b/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm
index 55cde3e2d..666bbe37c 100644
--- a/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm
+++ b/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm
@@ -36,6 +36,7 @@ use warnings;
use POSIX qw(:sys_wait_h);
use Dpkg::ErrorHandling;
+use Dpkg::Gettext;
use Dpkg::IPC;
use Dpkg::OpenPGP::ErrorCodes;
--
2.45.3
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.16 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages libdpkg-perl depends on:
ii dpkg 1.22.17
ii perl 5.40.1-2
Versions of packages libdpkg-perl recommends:
ii