Package: mir-core Version: 1.1.111-1 Severity: serious Tags: patch Justification: ftbfs User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu kinetic ubuntu-patch
Hi Matthias, The mir-core package is failing to build on all gdc archs in unstable because meson.build includes a compiler option, '-preview=dip1008', which is ldc-specific and not understood by gdc. Patching this option out lets the package build on all archs, including those using ldc, so it doesn't appear to be needed. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru mir-core-1.1.111/debian/patches/drop-non-portable-option.patch mir-core-1.1.111/debian/patches/drop-non-portable-option.patch --- mir-core-1.1.111/debian/patches/drop-non-portable-option.patch 1969-12-31 16:00:00.000000000 -0800 +++ mir-core-1.1.111/debian/patches/drop-non-portable-option.patch 2022-08-30 15:48:27.000000000 -0700 @@ -0,0 +1,17 @@ +Description: Don't pass -preview= to the compiler + This option is understood by ldc and not by gdc, and is not required in order + for the package to build. +Author: Steve Langasek <steve.langa...@ubuntu.com> +Last-Update: 2022-08-30 +Forwarded: no + +--- mir-core-1.1.111.orig/meson.build ++++ mir-core-1.1.111/meson.build +@@ -37,7 +37,6 @@ foreach s : sources_list + endforeach + + add_project_arguments([ +- '-preview=dip1008', + '-lowmem', + ], language: 'd') + diff -Nru mir-core-1.1.111/debian/patches/series mir-core-1.1.111/debian/patches/series --- mir-core-1.1.111/debian/patches/series 1969-12-31 16:00:00.000000000 -0800 +++ mir-core-1.1.111/debian/patches/series 2022-08-30 15:47:47.000000000 -0700 @@ -0,0 +1 @@ +drop-non-portable-option.patch