Bug#1033579: debcrossgen: wrong cpu family for ppc64el
Hi Jussi, On Mon, Mar 27, 2023 at 09:33:35PM +0300, Jussi Pakkanen wrote: > On Mon, 27 Mar 2023 at 20:45, Helmut Grohne wrote: > > > 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. > > I assume this is serious enough to warrant a freeze exception to > upload a new version? If this was serious, the severity of this bug was serious. Quite to the contrary. The fact that it took us so long to even discover this issue serves as a testament of how few packages are affected by this. If you happen to require an unblock for other reasons, you may piggy back this change, but I don't think it justifies an upload on its own. Helmut
Bug#1033579: debcrossgen: wrong cpu family for ppc64el
On Mon, 27 Mar 2023 at 20:45, Helmut Grohne wrote: > 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. I assume this is serious enough to warrant a freeze exception to upload a new version?
Bug#1033579: debcrossgen: wrong cpu family for ppc64el
Package: meson Version: 1.0.1-5 Tags: patch User: debian-cr...@lists.debian.org 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/changelog2023-03-11 22:06:44.0 +0100 +++ meson-1.0.1/debian/changelog2023-03-27 11:38:05.0 +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 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.0 +0100 +++ meson-1.0.1/debian/debcrossgen 2023-03-27 11:38:01.0 +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",