Package: meson
Version: 0.63.2-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:dpdk

host_arch.cpu_family() should be reporting ppc64 on ppc64el according to
https://mesonbuild.com/Reference-tables.html, but it actually reports
powerpc64le when debcrossgen is in use. The relevant mapping should be
fixed in debcrossgen. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru meson-0.63.2/debian/changelog meson-0.63.2/debian/changelog
--- meson-0.63.2/debian/changelog       2022-09-03 18:33:44.000000000 +0200
+++ meson-0.63.2/debian/changelog       2022-09-08 22:26:00.000000000 +0200
@@ -1,3 +1,10 @@
+meson (0.63.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debcrossgen: fix host_arch.cpu_family() on ppc64el. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 08 Sep 2022 22:26:00 +0200
+
 meson (0.63.2-1) unstable; urgency=medium
 
   * New upstream release. Closes: #1017087.
diff --minimal -Nru meson-0.63.2/debian/debcrossgen 
meson-0.63.2/debian/debcrossgen
--- meson-0.63.2/debian/debcrossgen     2021-02-14 13:58:40.000000000 +0100
+++ meson-0.63.2/debian/debcrossgen     2022-09-08 22:25:57.000000000 +0200
@@ -73,7 +73,8 @@
 cpu_family_map = dict(mips64el="mips64",
                       i686='x86')
 cpu_map = dict(armhf="arm7hlf",
-               mips64el="mips64",)
+               mips64el="mips64",
+               powerpc64le="ppc64",)
 
 def run(options):
     if options.arch is None:

Reply via email to