Package: meson
Version: 1.0.1-5
Tags: patch
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:dpdk

Hi Jussi,

dpdk fails to cross build from source for ppc64el, because its matching
on the host cpu family breaks. As it turns out, debcrossgen (yes, we are
still using this) does not map it to the correct value. I'm attaching a
patch for your convenience. Please port it to env2mfile if necessary.

Helmut
diff --minimal -Nru meson-1.0.1/debian/changelog meson-1.0.1/debian/changelog
--- meson-1.0.1/debian/changelog        2023-03-11 22:06:44.000000000 +0100
+++ meson-1.0.1/debian/changelog        2023-03-27 11:38:05.000000000 +0200
@@ -1,3 +1,10 @@
+meson (1.0.1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debcrossgen: fix cpu family on ppc64el. Closes: #-1.
+
+ -- Helmut Grohne <[email protected]>  Mon, 27 Mar 2023 11:38:05 +0200
+
 meson (1.0.1-5) unstable; urgency=medium
 
   * Fix incorrect usage of fgetc/fputc. Closes: #1032168.
diff --minimal -Nru meson-1.0.1/debian/debcrossgen 
meson-1.0.1/debian/debcrossgen
--- meson-1.0.1/debian/debcrossgen      2023-02-27 00:45:36.000000000 +0100
+++ meson-1.0.1/debian/debcrossgen      2023-03-27 11:38:01.000000000 +0200
@@ -71,7 +71,9 @@
     write_args_line(ofile, 'cpp_link_args', cpp_link_args)
 
 cpu_family_map = dict(mips64el="mips64",
-                      i686='x86')
+                      i686='x86',
+                      powerpc64le="ppc64",
+                      )
 cpu_map = dict(armhf="arm7hlf",
                mips64el="mips64",
                powerpc64le="ppc64",

Reply via email to