Commit Graph

51 Commits

Author SHA1 Message Date
Azat Khuzhin
af6be3ad5f build: require clang-11/llvm-11 for building debian package in d/control
Now the script that builds debian package handle this, so I guess it has
installed some gcc version, but uses clang to compile, and this produces
new errors in other builds.
2020-12-11 01:32:38 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
Azat Khuzhin
79674ea892 Drop python from build dependencies
I don't see where it can be required.
And plus there is no python package in debian:testing anymore, only:
- python2
- python3
So that said that you cannot build debian package on debian:testing
anymore (but debian:stable don't have gcc9 for example).

Everything would be great, if there will be packages for python2, i.e.
python2-lxml, but there isn't, I guess because python2 had been
deprecated long time ago...
So it looks like converting to python3 is coming.

Just for the history, now it is:
- debian:stable -> buster
- debian:testing -> bullseye
2020-09-19 00:20:54 +03:00
Alexey Milovidov
bba0cf6064 Remove dependency on tzdata 2020-06-20 15:31:18 +03:00
alesapin
a014a74e8a Return tzdata 2020-05-14 21:37:13 +03:00
Alexey Milovidov
beaa686639 Remove dependency 2020-04-22 06:23:10 +03:00
proller
5d08a7b353 Remove gcc-7 from build scripts 2019-09-17 13:37:35 +03:00
proller
d6a90b6079
Build fixes (#5368) 2019-05-22 13:16:16 +03:00
proller
fd63093032 Add gperf to build requirements (for upcoming pull request #5030 ) 2019-04-25 17:31:08 +03:00
proller
c78176603c
clickhouse-test - prepare for use other than 'test' database (#4961) 2019-04-11 20:20:36 +03:00
proller
7bcf8ec344 Fix install in shared mode 2019-03-27 20:37:38 +03:00
alexey-milovidov
b1279c1323
Merge pull request #4743 from azat-archive/clickhouse-client-tty
clickhouse-client: fix --help without tty
2019-03-23 05:54:05 +03:00
Azat Khuzhin
6d8706e692
clickhouse-client: fix --help without tty
stdin_is_not_tty is detected too late when the --help message is
printed, so fix this and do not call ioctl if stdin is not tty.

Before this patch:
  $ clickhouse-client --help < /dev/null

debug build:
  $ dbms/programs/clickhouse-client --help < /dev/null
  Main options:
    --help
  clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542:
  void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed.
  Aborted (core dumped)

release build:
  $ dbms/programs/clickhouse-client --help < /dev/null
  .... print lots of empty lines and so forth ...

v2: add a test and bsdutils into image for tests
v3: adjust minimal cols to the length of one of the longest arguments,
since with line_length=3 boost will bail anyway (under script(1)
ioctl(TIOCGWINSZ) returnes ws_col=0)
2019-03-23 02:01:32 +03:00
alesapin
739ea17407 Remove old packages from control 2019-03-19 17:37:47 +03:00
proller
00e50f1502
Build fixes (#4471) 2019-02-21 23:11:21 +03:00
Alex Zatelepin
9b8fd5f8a2
add brotli to clickhouse-test deps 2019-02-13 18:32:04 +03:00
Alexey Milovidov
d6c8b27c55 Suggest installation of dbg package 2019-02-05 16:33:44 +03:00
Alexey Milovidov
1f7d17bad2 Added recommended package for clickhouse-server #4091 2019-01-18 15:36:20 +03:00
Alexey Milovidov
3b889e29a9 Removed obsolete "build-depends" [#CLICKHOUSE-3] 2018-08-06 21:34:36 +03:00
Alexey Milovidov
56feaccce4 Fixed Travis [#CLICKHOUSE-2] 2018-08-02 22:15:29 +03:00
Alexey Milovidov
15f5ee4d29 Fixed bad package descriptions [#CLICKHOUSE-2] 2018-07-31 06:59:41 +03:00
Alexey Zatelepin
742dea6c09 add dependency that is needed for tests [#CLICKHOUSE-3834] 2018-07-16 17:06:11 +03:00
proller
cb65528147 Build fixes (#2481)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test

* test fixes

* test: netcat-openbsd

* Compile fixes

* Update AggregateFunctionStatisticsSimple.h

* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
proller
efe661b620 Build fixes (#2347)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap
2018-05-11 17:16:16 +03:00
proller
76468d8d89 Change build system DIST from artful to bionic (#2330)
* Pbuilder: use ubuntu-ports mirror (with arm64 packages)

* Fix arm64

* Fixed tests isolation. [#CLICKHOUSE-2]

* Fix nodes leak in case of session expiration. [#CLICKHOUSE-2]

* fix

* Add new clang versions

* ubuntu bionic && gcc-8 fixes

* Fixes

* wip

* Change build system DIST from artful to bionic
2018-05-09 07:50:54 +03:00
proller
349009a0d3 Build fixes (#2324)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt

* Fixes

* Update boost to 1.67.0

* Fix ninja

* fix
2018-05-07 23:31:50 +03:00
proller
634ba89f90 Build fixes 2018-05-05 15:34:17 +03:00
proller
899c65af63 Build fixes (#2275)
* Change obsolete comment

* Simpler disable logging to file in conf.d (<log/> <errorlog/>)

* Arm64 packag fixes

* Build fixes
2018-04-24 22:59:48 -07:00
proller
bd23b8790c Debian packages: better deprecated message, docker: do not use old package 2018-04-20 22:48:31 +03:00
proller
1bf49fe844 Docker fixes 2018-04-18 00:03:33 +03:00
Alexey Milovidov
c9c09a9d13 Fixed Travis [#CLICKHOUSE-2] 2018-04-17 00:13:17 +03:00
proller
2ae1c99441
Debian: Try fix compatible dependencies (#2209) 2018-04-11 07:22:41 -07:00
proller
0c2ba39978
Debian: Try make compatible package depends (#2194)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc

* Fix clickhouse-server.postinst

* Debian: Try make compatible package depends

* Try fix fail on travis tests fail

* Try fix package

* Fix ssl test

* fix

* fix

* wip

* try fix

* clean

* fix
2018-04-10 11:25:08 -07:00
proller
f1f1f09500
Debian: temporary keep packages with old names (#2186)
* cmake fixes

* Fix test server config

* Debian: temporary keep packages with old names

* fix

* fix

* Debian postinst: adjustable user
2018-04-06 13:49:42 -07:00
proller
6e03373b8d clickhouse-common-dbg -> clickhouse-common-static-dbg (#2157) 2018-04-02 21:44:19 +03:00
proller
802cac725f Debian: Rename packages (#678)
* Debian: rename packages

* wip

* wip

* wip

* move limits.d/clickhouse.conf to common

* wip

* fix

* bad clang

* update changelog

* more Provides: Conflicts:

* clickhouse-zookeeper-cli [#CLICKHOUSE-2947]

* fix utils desc

* Fix docs

* use cmake links

* fix doc

* Fix test install

* Test me

* Test me

* Test me.

* Dont use pre-depends

* fix

* Minimize control changes

* del

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install
2018-04-01 15:33:39 +03:00
proller
9744ddf70f Use ninja for package build 2018-03-27 21:36:50 +03:00
proller
9f22e46774 Add openssl to debian test 2018-03-13 22:51:12 +03:00
proller
ed80378a43 Split too long test 2018-01-17 16:43:29 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
proller
623999b7bf Debian: Soft replace clickhouse-compressor package 2018-01-10 21:01:06 +03:00
proller
b0469def79 Remove package clickhouse-compressor, simpler pbuilder test 2018-01-10 02:43:04 +03:00
proller
f9d3c01a01 Add package clickhouse-test, allow testing in pbuilder (#1709)
* Allow 32bit build (with warning)

* Add package clickhouse-test

* Test fixes

* fix

* fix

* clickhouse-test: aloow work in read-only queries dir (--tmp)

* Fix test
2017-12-27 22:01:57 +03:00
proller
ab5cbcc627 Try fix internal compiler [tests run] (#1651)
* Try fic interal compiler

* Debian: depend on tzdata package

* fix order

* Try fix

* fix

* try

* fix

* fix

* fix

* fix
2017-12-18 23:30:19 +03:00
proller
16eb293b15 No more gcc-6 and clang 3.8 2017-11-16 20:47:54 +03:00
proller
13e5e9fbde Fix build in ubuntu xenial in pbuilder 2017-10-23 20:35:43 +03:00
proller
ad46d061a4 Improve debian building 2017-08-30 17:32:11 +03:00
proller
221110454e Prefer mariadbclient 2017-08-29 20:32:15 +03:00
proller
dd90a43d90 debian package: remove not used dependency libglib2.0-dev 2017-05-02 13:00:55 +03:00
Vasily Okunev
c12cbfc1e3 Removed clickhouse-server-metrika from debian/control. 2017-04-18 11:06:34 +03:00