tags 968497 + patch
thanks

Le 16/08/2020 à 14:04, Stéphane Glondu a écrit :
> astra-toolbox is one of the 3 packages (along with qtcreator and
> oclgrind) that still depend on llvm-toolchain-8 (which FTBFS on all
> architectures, see #957496), and that prevents removing it from
> testing.

It builds fine (on amd64) with the attached patch.


Cheers,

-- 
Stéphane
>From dd1c1884de69afd664fcb647bde76fc3e731bdcc Mon Sep 17 00:00:00 2001
From: Stephane Glondu <st...@glondu.net>
Date: Sun, 16 Aug 2020 14:09:53 +0200
Subject: [PATCH] Build with llvm-9 (Closes: #968497)

---
 debian/changelog | 7 +++++++
 debian/control   | 2 +-
 debian/rules     | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ef14fd7..628338b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+astra-toolbox (1.8.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with llvm-9 (Closes: #968497)
+
+ -- Stéphane Glondu <glo...@debian.org>  Sun, 16 Aug 2020 14:09:39 +0200
+
 astra-toolbox (1.8.3-1) unstable; urgency=medium
 
   * Initial release (Closes: #955357)
diff --git a/debian/control b/debian/control
index 4509422..0d8963c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: non-free/python
 Priority: optional
 Maintainer: Freexian Packaging Team <team+freex...@tracker.debian.org>
 Uploaders: Sebastien Delafond <s...@debian.org>
-Build-Depends: debhelper (>= 11), libboost-dev, nvidia-cuda-toolkit, clang-8, python3-dev, cython3, python3-numpy, python3-six, python3-scipy, liboctave-dev
+Build-Depends: debhelper (>= 11), libboost-dev, nvidia-cuda-toolkit, clang-9, python3-dev, cython3, python3-numpy, python3-six, python3-scipy, liboctave-dev
 Standards-Version: 4.4.1
 Homepage: https://github.com/centreon/astra-toolbox
 Vcs-Browser: https://salsa.debian.org/centreon-team/astra-toolbox
diff --git a/debian/rules b/debian/rules
index 427dcd1..15ebd68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ override_dh_auto_configure:
 
 	# python package
 	mkdir -p $(BUILD_DIRECTORY_PYTHON)
-	export NVCCFLAGS="-ccbin clang-8" ; dh_auto_configure --builddirectory $(BUILD_DIRECTORY_PYTHON) --sourcedirectory=$(SOURCE_DIRECTORY) -- $(CONFIGURE_FLAGS_PYTHON)
+	export NVCCFLAGS="-ccbin clang-9" ; dh_auto_configure --builddirectory $(BUILD_DIRECTORY_PYTHON) --sourcedirectory=$(SOURCE_DIRECTORY) -- $(CONFIGURE_FLAGS_PYTHON)
 
 	# octave package
 	mkdir -p $(BUILD_DIRECTORY_OCTAVE)
-- 
2.28.0

Reply via email to