Control: tag -1 patch

On Wed, 7 Apr 2021 08:32:20 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
> /usr/lib/gcc/x86_64-linux-gnu/10/plugin/include/config/i386/i386.h:2500:10: 
fatal error: common/config/i386/i386-cpuinfo.h: No such file or directory

This is fixed in gcc-10 10.3 in experimental, according to doko the workaround is to build with g++-9 for bullseye. (#986519)

Andreas
diff -Nru odb-2.4.0/debian/control odb-2.4.0/debian/control
--- odb-2.4.0/debian/control	2020-07-26 14:47:04.000000000 +0200
+++ odb-2.4.0/debian/control	2021-04-14 21:03:41.000000000 +0200
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
-Build-Depends: debhelper-compat (= 11), g++ (>= 4:10), gcc-10-plugin-dev, libexpat1-dev, libcutl-dev
+Build-Depends: debhelper-compat (= 11), g++-9, gcc-9-plugin-dev, libexpat1-dev, libcutl-dev
 Standards-Version: 4.5.0
 Homepage: https://www.codesynthesis.com/products/odb
 
diff -Nru odb-2.4.0/debian/rules odb-2.4.0/debian/rules
--- odb-2.4.0/debian/rules	2018-12-06 15:54:26.000000000 +0100
+++ odb-2.4.0/debian/rules	2021-04-14 21:03:41.000000000 +0200
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export CC=gcc-9
+export CXX=g++-9
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 

Reply via email to