[Android-tools-devel] Bug#982326: convert android-libbase-dev to Architecture: any

Helmut Grohne helmut at subdivi.de
Mon Feb 8 20:59:24 GMT 2021


Package: android-libbase-dev
Version: 1:10.0.0+r36-7
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability
Control: affects -1 + src:android-platform-build src:android-platform-frameworks-base src:android-platform-libnativehelper src:android-platform-system-extras src:android-platform-system-tools-aidl src:android-platform-system-tools-hidl

The affected packages cannot satisfy their cross Build-Depends, because
their transitive dependency on android-libbase-dev is not satisfiable.
In general, Architecture: all packages can never satisfy cross build
dependencies unless marked Multi-Arch: foreign or annotated :native. A
foreign marking would be fatal in this case, because it would mask the
architecture constraint and android-libbase would be installed for the
build architecture while requested for the host architecture. In a
similar vein, :native does not solve the problem. This is known as the
"multiarch interpreter problem" and the standard workaround is
converting affected packages to Architecture: any. Please consider
applying the attached patch.

I suspect that more binary packages from this source package are
affected by this issue. Likely and android-*-dev Arch: all package that
depends on an Arch: any package containing a shared library needs to be
converted. Can you handle that as well?

Helmut
-------------- next part --------------
diff --minimal -Nru android-platform-system-core-10.0.0+r36/debian/changelog android-platform-system-core-10.0.0+r36/debian/changelog
--- android-platform-system-core-10.0.0+r36/debian/changelog	2021-01-19 21:09:43.000000000 +0100
+++ android-platform-system-core-10.0.0+r36/debian/changelog	2021-02-08 16:34:23.000000000 +0100
@@ -1,3 +1,10 @@
+android-platform-system-core (1:10.0.0+r36-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch android-libbase-dev to Architecture: any. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 08 Feb 2021 16:34:23 +0100
+
 android-platform-system-core (1:10.0.0+r36-7) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru android-platform-system-core-10.0.0+r36/debian/control android-platform-system-core-10.0.0+r36/debian/control
--- android-platform-system-core-10.0.0+r36/debian/control	2021-01-19 21:09:05.000000000 +0100
+++ android-platform-system-core-10.0.0+r36/debian/control	2021-02-08 16:34:21.000000000 +0100
@@ -268,9 +268,8 @@
 
 Package: android-libbase-dev
 Section: libdevel
-Architecture: all
-Depends: android-libbase (>= ${binary:Version}),
-         android-libbase (<< ${binary:Version}.1~),
+Architecture: any
+Depends: android-libbase (= ${binary:Version}),
          ${misc:Depends}
 Description: Android base library - Development files
  This library provides APIs for basic tasks like handling files, Unicode


More information about the Android-tools-devel mailing list