-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clickhouse does not get built by Hydra #130101
Comments
This means the log is too long, iirc. |
The passing build is 3.6 MB uncompressed, 50 KB gzip-compressed as delivered by Hydra. The failing build https://hydra.nixos.org/build/147474186 doesn't have any log file, not even a cut-off one. If I buld the one from commit 45fc7d4 on my own machine, its log output is 3.1 MB uncompressed, so that's actually less than the passing build had. |
I've restarted it, to check if the error can be reproduced. |
Well, it is repeatable. Maybe someone familiar with hydra can help. @grahamc? |
According to Hydra, the issue is not the build itself, but fetching the source: I tried building it, and I'm noticing it is fetching Many Git submodules, including grpc, llvm, icu, brotli, and ... well, dozens: https://github.com/ClickHouse/ClickHouse/tree/v21.3.11.5-lts/contrib This source directory ends up being 2120237434 bytes (2.12024 gigabytes) which is above the 2 gigabyte maximum. Of this source result, almost all of it (1975922534 bytes) is the I wonder if there is a way to reduce this somehow? Also, side note the broken attribute should be moved to meta:
|
A big submodule of clickhouse is
Not compiling |
How can we exclude an individual submodule from being cloned? |
Looks like this will be the first use case for that. Might need to add a sort of "postClone" hook to the fetchgit script, where we can do all sorts of dirty stuff before fetching submodules, LFS or whatnot. Not sure if that's compatible with pre-fetch scripts but that's not a loss; just lacking a feature in a corner case. |
I self-host a Hydra anyways, so I can take a look today :) |
Note that it can use more than 2G of space during the build, but the result of the build must be below 2G at the end of the build. |
I'm very sorry, but I'm going to stop working on this. My main motivation was to get plausible building on Hydra again, but my knowledge on clickhouse internals is far too limited. The thing is, with a system-llvm you have to set some additional flags (https://github.com/ClickHouse/ClickHouse/blob/v21.3.14.1-lts/cmake/find/llvm.cmake#L47-L53) which in turn cause some linking errors: https://gist.github.com/Ma27/d8ee175e8581286b75ca59198fa772af. WIth the latest stable ( Of course, we could disable the features that require llvm, btu I don't think that this is a viable option. My hackery can be found at https://git.mbosch.me/ma27/clickhouse-experiments in case someone's interested. |
Consistent with other services and helps to work around NixOS#130101
Looks OK now on master/unstable and 21.11. |
clickhouse
fails to build on Hydra, but succeeds to build on my big machine on current commit 45fc7d4: https://hydra.nixos.org/build/147474186Because of this, the
plausible
NixOS cannot be easily used, asclickhouse
is a large build.It says there
Status: Output limit exceeded
, but I don't know yet what to do about that yet.CC @Ma27 @happysalada
The text was updated successfully, but these errors were encountered: