[Pkg-telepathy-maintainers] Bug#1115560: ofono-dev is wrongly marked Multi-Arch: foreign
Helmut Grohne
helmut at subdivi.de
Fri Sep 12 13:37:14 BST 2025
Package: ofono-dev
Version: 2.18-1
Severity: important
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:lomiri-indicator-network src:modem-manager-gui
The affected packages fail to cross build from source, because
dbus-1.pc is not found. It is a transitive dependency via ofono-dev and
it happens to be installed for the wrong architecture, because ofono-dev
is marked Multi-Arch: foreign. Back in #893941, I requested that it be
thus marked and at that time, I removed its dependencies to be able to
do this and back then M-A:foreign was correct. It became incorrect when
it gained the libdbus-1-dev dependency. Just dropping M-A:foreign will
make #893941 return, so the way forward is to also change its
Architecture from all to any to enable the package to transfer
architecture constraints to its own dependencies. I'm attaching a patch
for your convenience.
Flagging this as important, because it is violating a Debian policy
draft.
Helmut
-------------- next part --------------
diff -Nru ofono-2.18/debian/changelog ofono-2.18/debian/changelog
--- ofono-2.18/debian/changelog 2025-08-11 23:46:39.000000000 +0200
+++ ofono-2.18/debian/changelog 2025-09-12 14:29:01.000000000 +0200
@@ -1,3 +1,10 @@
+ofono (2.18-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Change ofono-dev from M-A:foreign to M-A:same. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 12 Sep 2025 14:29:01 +0200
+
ofono (2.18-1) unstable; urgency=medium
[ Mike Gabriel ]
diff -Nru ofono-2.18/debian/control ofono-2.18/debian/control
--- ofono-2.18/debian/control 2025-05-04 16:32:54.000000000 +0200
+++ ofono-2.18/debian/control 2025-09-12 14:28:57.000000000 +0200
@@ -46,8 +46,8 @@
This package includes the core daemon.
Package: ofono-dev
-Architecture: all
-Multi-Arch: foreign
+Architecture: linux-any
+Multi-Arch: same
Depends: libdbus-1-dev, libglib2.0-dev, ${misc:Depends}, ${shlibs:Depends}
Description: Mobile telephony stack (development files)
oFono is a stack for mobile telephony devices on Linux. oFono supports
More information about the Pkg-telepathy-maintainers
mailing list