Bug#966007: qtcreator: link to library libclang-1.9 (instead libclang-1.8)
tags 966007 + patch
thanks
Antonio wrote:
> I can't remove the old version of clang because it is a dependency of
> qtcreator (and only he uses it): is it possible to recompile this package
> with the next version of clang library?
qtcreator is one of the 3 packages (along with oclgrind and
astra-toolbox) 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 018d4204689c95836adc621eb77088eacdace248 Mon Sep 17 00:00:00 2001
From: Stephane Glondu <steph@glondu.net>
Date: Sun, 16 Aug 2020 10:59:53 +0200
Subject: [PATCH] Build with llvm-9 (Closes: #966007)
---
debian/changelog | 7 +++++++
debian/control | 4 ++--
debian/rules | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d7f0b2fc..0f41c77f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+qtcreator (4.12.3-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build with llvm-9 (Closes: #966007)
+
+ -- Stéphane Glondu <glondu@debian.org> Sun, 16 Aug 2020 10:59:33 +0200
+
qtcreator (4.12.3-3) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 2124f813..c418e465 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders: Adam Majer <adamm@zombino.com>,
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>,
Simon Quigley <tsimonq2@debian.org>
Build-Depends: debhelper-compat (= 12),
- libclang-8-dev,
+ libclang-9-dev,
libdw-dev,
libicu-dev,
libjs-jquery,
@@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 12),
libqt5serialport5-dev (>= 5.11.0~),
libqt5sql5-sqlite (>= 5.11.0~),
libqt5x11extras5-dev (>= 5.11.0~),
- llvm-8-dev,
+ llvm-9-dev,
pkg-config,
qml-module-qtquick-controls (>= 5.11.0~),
qml-module-qtquick2 (>= 5.11.0~),
diff --git a/debian/rules b/debian/rules
index 98464ee9..16241f2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export QT_SELECT := qt5
-export LLVM_INSTALL_DIR := "/usr/lib/llvm-8"
+export LLVM_INSTALL_DIR := "/usr/lib/llvm-9"
# Upstream changelog
upstream_changes := $(wildcard dist/changes-*)
--
2.28.0
Reply to: