Package: clickhouse
Version: 18.16.1+ds-7.1
Severity: serious
Tags: patch
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Hi Alexander,

In Ubuntu, we've found that clickhouse fails to build from source with the
current toolchain due to a missing C++ include file.  The attached patch
fixes the build failure in unstable.

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 clickhouse-18.16.1+ds/debian/control 
clickhouse-18.16.1+ds/debian/control
--- clickhouse-18.16.1+ds/debian/control        2020-07-27 08:39:42.000000000 
-0700
+++ clickhouse-18.16.1+ds/debian/control        2020-07-27 17:59:57.000000000 
-0700
@@ -1,8 +1,7 @@
 Source: clickhouse
 Section: database
 Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
-XSBC-Original-Maintainer: Alexander GQ Gerasiov <g...@debian.org>
+Maintainer: Alexander GQ Gerasiov <g...@debian.org>
 Build-Depends: cmake,
                curl <!nocheck>,
                debhelper (>= 10),
diff -Nru clickhouse-18.16.1+ds/debian/patches/gcc10-ftbfs.patch 
clickhouse-18.16.1+ds/debian/patches/gcc10-ftbfs.patch
--- clickhouse-18.16.1+ds/debian/patches/gcc10-ftbfs.patch      1969-12-31 
16:00:00.000000000 -0800
+++ clickhouse-18.16.1+ds/debian/patches/gcc10-ftbfs.patch      2020-07-27 
17:59:46.000000000 -0700
@@ -0,0 +1,16 @@
+Description: fix missing C++ include, exposed by toolchain changes
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2020-07-27
+
+Index: clickhouse-18.16.1+ds/dbms/src/Interpreters/addMissingDefaults.h
+===================================================================
+--- clickhouse-18.16.1+ds.orig/dbms/src/Interpreters/addMissingDefaults.h
++++ clickhouse-18.16.1+ds/dbms/src/Interpreters/addMissingDefaults.h
+@@ -1,6 +1,7 @@
+ #pragma once
+ 
+ #include <unordered_map>
++#include <string>
+ 
+ 
+ namespace DB
diff -Nru clickhouse-18.16.1+ds/debian/patches/series 
clickhouse-18.16.1+ds/debian/patches/series
--- clickhouse-18.16.1+ds/debian/patches/series 2020-03-29 19:55:51.000000000 
-0700
+++ clickhouse-18.16.1+ds/debian/patches/series 2020-07-27 16:26:21.000000000 
-0700
@@ -17,3 +17,4 @@
 0017-gcc9-mitigation-for-conditional-bug.patch
 fix-ftbfs.patch
 python3.patch
+gcc10-ftbfs.patch

Reply via email to