I've stumbled upon this while merging quickml for Ubuntu 26.10, and fixed
it. The root cause is that patch 0001 tagged the character encoding of
message.ja as EUC-JP, which *used* to be correct, but has since changed, as
the file is now UTF-8. This means the multibyte UTF-8 Japanese in the file
is no longer valid EUC-JP, causing build failure.

Another build error occurred due to attempted chowning in d/rules, I
removed this entirely (the chowning is already done in postinst, making it
redundant regardless of the build failure).

See attached patch.

Thanks
Grayson Wolf
diff --git a/debian/patches/0001-Upstream-all-the-debian-patches.patch b/debian/patches/0001-Upstream-all-the-debian-patches.patch
index 8222a6a..ca5885e 100644
--- a/debian/patches/0001-Upstream-all-the-debian-patches.patch
+++ b/debian/patches/0001-Upstream-all-the-debian-patches.patch
@@ -5,7 +5,6 @@ Subject: Upstream all the debian patches.
 ---
  lib/quickml/core.rb    | 1 +
  lib/quickml/gettext.rb | 1 +
- messages.ja            | 1 +
  3 files changed, 3 insertions(+)
 
 diff --git a/lib/quickml/core.rb b/lib/quickml/core.rb
@@ -26,12 +25,3 @@ index 09ae558..700929a 100644
  #
  # quickml/gettext - a part of quickml server
  #
-diff --git a/messages.ja b/messages.ja
-index a99af25..b91d47f 100644
---- a/messages.ja
-+++ b/messages.ja
-@@ -1,3 +1,4 @@
-+# coding: euc-jp
- # -*- mode: ruby -*-
- Messages = {
-   "<%s> was removed from the mailing list:\n<%s>\n" =>
diff --git a/debian/rules b/debian/rules
index 5d56b0b..e4dfd42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,8 +98,6 @@ binary-indep: build install
 #	dh_strip
 	dh_compress
 	dh_fixperms
-	chown list:list $(DESTDIR)/var/lib/quickml
-	chown list:list $(DESTDIR)/var/log/quickml
 #	dh_makeshlibs
 	dh_installdeb
 #	dh_perl

Reply via email to