Your message dated Tue, 16 Dec 2025 10:35:30 +0000
with message-id <[email protected]>
and subject line Bug#1123019: fixed in mini-soong 0.20251216
has caused the Debian Bug report #1123019,
regarding mini-soong: support cross compilation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1123019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123019
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mini-soong
Version: 0.20201028
Tags: patch
User: [email protected]
Usertags: ftcbfs cross-satisfiability
Control: affects -1 + src:libldac

libldac cannot be cross built from source, because its mini-soong
dependency is not satisfiable. In general, Arch:all packages can never
satisfy cross Build-Depends unless marked Multi-Arch: foreign or
annotated :native. Most build systems tend to be annotated Multi-Arch:
foreign so I suggest doing it here as well. However, it defaults to the
build architecture compiler. While mini-soong consumes DEB_HOST_*
variables for a lot of things, it does not yet seed the compiler from
them. Doing so is relatively easy using dpkg's buildtools.mk as
buildflags.mk already is being used. I'm attaching a combined patch and
once it is applied, libldac actually cross builds. What do you think
about it?

Helmut
diff -Nru mini-soong-0.20201028/debian/changelog 
mini-soong-0.20201028+nmu1/debian/changelog
--- mini-soong-0.20201028/debian/changelog      2020-10-28 19:04:02.000000000 
+0100
+++ mini-soong-0.20201028+nmu1/debian/changelog 2025-12-15 21:15:07.000000000 
+0100
@@ -1,3 +1,13 @@
+mini-soong (0.20201028+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support cross building: (Closes: #-1)
+    + Since mini-soong already relies on DEB_HOST_* for compiler flags and
+      other aspects, also seed the compiler.
+    + Mark Multi-Arch: foreign.
+
+ -- Helmut Grohne <[email protected]>  Mon, 15 Dec 2025 21:15:07 +0100
+
 mini-soong (0.20201028) unstable; urgency=medium
 
   * Do not relativise variable substitutions.
diff -Nru mini-soong-0.20201028/debian/control 
mini-soong-0.20201028+nmu1/debian/control
--- mini-soong-0.20201028/debian/control        2020-10-28 19:04:02.000000000 
+0100
+++ mini-soong-0.20201028+nmu1/debian/control   2025-12-15 21:15:07.000000000 
+0100
@@ -20,6 +20,7 @@
 
 Package: mini-soong
 Architecture: all
+Multi-Arch: foreign
 Depends:
  python3-pkg-resources,
  ${python3:Depends},
diff -Nru mini-soong-0.20201028/mini_soong/builders/cc.py 
mini-soong-0.20201028+nmu1/mini_soong/builders/cc.py
--- mini-soong-0.20201028/mini_soong/builders/cc.py     2020-10-28 
19:04:02.000000000 +0100
+++ mini-soong-0.20201028+nmu1/mini_soong/builders/cc.py        2025-12-15 
21:15:07.000000000 +0100
@@ -298,6 +298,8 @@
             filename.endswith('.C'))
 
 def flag_defaults():
+    print("DPKG_EXPORT_BUILDTOOLS = 1")
+    print("-include /usr/share/dpkg/buildtools.mk\n")
     print("DPKG_EXPORT_BUILDFLAGS = 1")
     print("-include /usr/share/dpkg/buildflags.mk\n")
     print("CXXFLAGS += " + ' '.join([

--- End Message ---
--- Begin Message ---
Source: mini-soong
Source-Version: 0.20251216
Done: Andrej Shadura <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mini-soong, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <[email protected]> (supplier of updated mini-soong package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 16 Dec 2025 10:51:07 +0100
Source: mini-soong
Architecture: source
Version: 0.20251216
Distribution: unstable
Urgency: medium
Maintainer: Android Tools Maintainers 
<[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 1123019
Changes:
 mini-soong (0.20251216) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Support cross building: (Closes: #1123019)
     + Since mini-soong already relies on DEB_HOST_* for compiler flags and
       other aspects, also seed the compiler.
     + Mark Multi-Arch: foreign.
Checksums-Sha1:
 220bb8afb509b20a68732a16db29712220c8eadc 1342 mini-soong_0.20251216.dsc
 3b58006039f11d4d90b33366e74869583648fa64 9936 mini-soong_0.20251216.tar.xz
Checksums-Sha256:
 0ffad1bf866a36ac0941cd2b32e4159f9c1a9738ce0385f513e562ce1feec097 1342 
mini-soong_0.20251216.dsc
 153c0618ba1baf4ac0d6343093208dbc76f79342681c24af9f3ee26b022e788b 9936 
mini-soong_0.20251216.tar.xz
Files:
 a182f5de7e18bb18b1ea8978877e8a41 1342 devel optional mini-soong_0.20251216.dsc
 236cdd8306235d3b03c64d6364aff861 9936 devel optional 
mini-soong_0.20251216.tar.xz

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaUEsDQAKCRDoRGtKyMdy
YS3SAQCWg6GodnO/kDBQLdW/QYrIh+IAqPAdJXEKixAxcc6chgEAtPHD0P9zLhf7
iNWei3sDYtiZMQnD6XG56Bc8E3l6WA4=
=rHxN
-----END PGP SIGNATURE-----

Attachment: pgp0bXDcqnvXh.pgp
Description: PGP signature


--- End Message ---

Reply via email to