[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006996: Bug #1006996: mate-polkit: On arm64 architecture mate-polkit tries to open an amd64 file and fails



Control: affects -1 mate-polkit-bin
Control: tags -1 patch

Dear maintainers,

in addition to Christian Britz' report, the autostart desktop file should also be in mate-polkit because of the architecture triplet in the path to polkit-mate-authentication-agent-1, and the provided manpage has not yet been moved to mate-polkit-bin what causes a lintian issue.

I have prepared a patch that should fix all these packaging issues.

Best regards,

Thomas Uhle



On Thu, 10 Mar 2022, Christian Britz wrote:

Package: mate-polkit
Version: 1.24.0-2
Severity: important
X-Debbugs-Cc: cbritz@t-online.de

Dear Maintainer,

on arm64 architecture, mate-polkit tries to open an amd64 file and fails:

mate-polkit &
[1] 25011
cbritz@raspberrypi:~$ /usr/bin/mate-polkit: 3: /usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1: not found

This renders the package unusable on arm64.

Regards,
Christian

-- System Information:
Debian Release: 11.2
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-12-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mate-polkit depends on:
ii  accountsservice        0.6.55-3
ii  libc6                  2.31-13+deb11u2
ii  libgdk-pixbuf2.0-0     2.40.2-2
ii  libglib2.0-0           2.66.8-1
ii  libgtk-3-0             3.24.24-4
ii  libpolkit-agent-1-0    0.105-31+deb11u1
ii  libpolkit-gobject-1-0  0.105-31+deb11u1
ii  mate-polkit-common     1.24.0-2
ii  policykit-1            0.105-31+deb11u1

mate-polkit recommends no packages.

mate-polkit suggests no packages.
diff --git a/debian/control b/debian/control
index e1ccb8c..990d5cc 100644
--- a/debian/control
+++ b/debian/control
@@ -23,10 +23,10 @@
 Vcs-Git: https://salsa.debian.org/debian-mate-team/mate-polkit.git
 
 Package: mate-polkit-bin
-Architecture: all
-Depends: mate-polkit (>= ${source:Version}),
+Architecture: any
+Depends: mate-polkit (= ${binary:Version}),
          ${misc:Depends},
-Breaks: mate-polkit (<< 1.12.0-3~),
+         ${shlibs:Depends},
 Description: MATE authentication agent for PolicyKit-1 (executable wrapper script)
  The mate-polkit package provides a D-Bus session bus service that is used to
  bring up authentication dialogs used for obtaining privileges.
@@ -40,9 +40,8 @@
 
 Package: mate-polkit
 Architecture: any
-Multi-Arch: same
 Depends: accountsservice,
-         mate-polkit-common (= ${binary:Version}),
+         mate-polkit-common (>= ${source:Version}),
          policykit-1,
          ${misc:Depends},
          ${shlibs:Depends},
@@ -54,10 +53,9 @@
  This package contains the MATE policy kit authentication agent.
 
 Package: mate-polkit-common
-Architecture: any
+Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends},
-         ${shlibs:Depends},
 Breaks: mate-polkit (<< 1.8.0),
 Description: MATE authentication agent for PolicyKit-1 (common files)
  The mate-polkit package provides a D-Bus session bus service that is used to
diff --git a/debian/mate-polkit.install b/debian/mate-polkit.install
index b0bfa1a..3d97aa9 100644
--- a/debian/mate-polkit.install
+++ b/debian/mate-polkit.install
@@ -1 +1,2 @@
+etc/
 usr/lib/*/polkit-mate/
diff --git a/debian/mate-polkit-common.install b/debian/mate-polkit-common.install
index 7034e54..2568e1f 100644
--- a/debian/mate-polkit-common.install
+++ b/debian/mate-polkit-common.install
@@ -1,2 +1 @@
-etc/
 usr/share/locale/
diff --git a/debian/mate-polkit.manpages b/debian/mate-polkit.manpages
deleted file mode 100644
index 43f8a64..0000000
--- a/debian/mate-polkit.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/man/mate-polkit.1
diff --git a/debian/mate-polkit-bin.manpages b/debian/mate-polkit-bin.manpages
new file mode 100644
index 0000000..43f8a64
--- /dev/null
+++ b/debian/mate-polkit-bin.manpages
@@ -0,0 +1 @@
+debian/man/mate-polkit.1

Reply to: