foundationdb / fdb-build-support Goto Github PK
View Code? Open in Web Editor NEWFoundationDB build and development resources
FoundationDB build and development resources
With the CentOS project shifting course, and EOL'ing CentOS 8. We need to find an alternative distribution before CentOS 7 ages out of relevancy.
Possible alternatives (not researched, and in no particular order) could be:
BuildKit has a few benefits compared to the "standard" build of Docker, so we should enable it: https://docs.docker.com/build/buildkit/
The issue is related to apple/foundationdb#5717. We should add some documentation on:
build
image:
devel
image, to use:
distcc
image, to use:
codebuild
image.I would love to help on this(and also on Joshua's documentation), but I'm only familiar with the build
image for now.
Is it possible to add to the docker hub AArch64 version of the build
image? Only the amd64 images seems to be available.
Building with foundationdb/build:centos7-latest, when running ninja documentation/html/
, I get
Extension error: Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2k-fips 26 Jan 2017. See: https://github.com/urllib3/urllib3/issues/2168)
This step occasionally fails for unknown reasons. Rebuilding everything sometimes fixes the issue for unknown reasons.
Step 47/48 : RUN if [ ! "$(uname -m)" == "aarch64" ]; then set -e; export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') && export DOWNLOAD_DIR=$(echo $download | sed "s/-${OS_VER}.tar.gz//g") && echo $DOWNLOAD_DIR > .swift_tag && export GNUPGHOME="$(mktemp -d)" && curl -fL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig && curl -fL https://swift.org/keys/all-keys.asc | gpg --import - && gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz && tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 && chmod -R o+r /usr/lib/swift && rm -rf "$GNUPGHOME" latest_toolchain.tar.gz.sig latest_toolchain.tar.gz; fi
---> Running in a158ee48729a
�[91m % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0�[0m�[91m
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0�[0m�[91m
1 612M 1 11.2M 0 0 9242k 0 0:01:07 0:00:01 0:01:06 9241�[0m�[91mk�[0m�[91m
6 612M 6 39.6M 0 0 17.6M 0 0:0�[0m�[91m0:34 0:00:02 0:00:�[0m�[91m32 17.6M�[0m�[91m
11 612M 11 68.2M 0 0 21.0M 0 0:00:29 0:00:03 0:00:26 21.0M�[0m�[91m
15 612M 15 97.1M 0 0 22.8M 0 0:00:26 0:00:04 0:00:22 22.�[0m�[91m8M�[0m�[91m
20 612M 20 126M 0 0 24.1M 0 0:00:25 0:00:05 0:00:20�[0m�[91m 25.5M�[0m�[91m
25 612M 25 156M 0 0 25.0M 0 0:00:24 0:00:06 0:00:18 29.0M�[0m�[91m
30 612M 30 187M 0 0 25.8M 0 0:00:23 0:0�[0m�[91m0:07 0:00:16 29.4M�[0m�[91m
35 612M 35 218M 0 0 26.4M 0 0:00:23�[0m�[91m 0:00:08 0:00:15 29.9M�[0m�[91m
40 612M 40 249M 0 0 26.9M 0 0:00:22 0:00:09 0:00:13 30.5M�[0m�[91m
45 612M 45 281M 0 0 27.4M 0 0:00:22�[0m�[91m 0:00:10 0:00�[0m�[91m:12 30.9M�[0m�[91m
51 612M 51 313M 0 0 27.8M 0 0:00:21 0:00:1�[0m�[91m1 0:00:10 31.3M�[0m�[91m
56 612M 56 346M 0 0 28.2M 0 0:00:21 0:00:12 0:00:09 31.8M�[0m�[91m
62 612M 62 380M 0 0 28.7M 0 0:00:21 0:00:13 0:00:08 32.4M�[0m�[91m
67 612M 67 414M 0 0 29.1M 0 0:00:21 0:00:14 0:00:07 33.0M�[0m�[91m
73 612M 73 450M 0 0 29.5M 0 0:00:20 0:00:15 0:00:05 33.9M�[0m�[91m
79 612M 79 487M 0 0 29.9M 0 0:00:20 0:00:16 0:00:04 34.8M�[0m�[91m
85 612M 85 525M 0 0 30.4M 0 0:00:20 0:00:17 0:00:03 35.9M�[0m�[91m
92 612M 92 565M 0 0 30.9M 0 0:00:�[0m�[91m19 0:00:18 0:00:01 37�[0m�[91m.0M�[0m�[91m
99 612M 99 606M 0 0 31.5M 0 0:00:19 0:00:1�[0m�[91m9 --:--:-- 38.3M�[0m�[91m
100 612M 100 612M 0 0 31.5M 0 0:00:19 0:00:19 --:--:-- 39.1M
�[0m�[91m
100 833 100 833 0 0 4881 0 --:--:-- --:--:-- --:--:-- 4881
�[0m�[91m % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
�[0m�[91m
0 0 0 0 0�[0m�[91m 0 0 �[0m�[91m 0 -�[0m�[91m-:--:--�[0m�[91m --:--:�[0m�[91m-- --:�[0m�[91m--:-- �[0m�[91m 0�[0m�[91mgpg: keyring `/tmp/tmp.aNUBOk4shq/secring.gpg' created
�[0m�[91mgpg: keyring `/tmp/tmp.aNUBOk4shq/pubring.gpg' created
�[0m�[91m
100 257 100 257 0 0 1492 0 �[0m�[91m--:--:-- --:--:-�[0m�[91m- --:--�[0m�[91m:-- 1494�[0m�[91m
�[0m�[91m
0 9845 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0�[0m�[91m
100 9845 100 9845 0 0 12527 0 --:--:-- --:--:-- --:--:-- 2403k
�[0m�[91mgpg: no valid OpenPGP data found.
gpg: Total number processed: 0
�[0mThe command '/bin/sh -c if [ ! "$(uname -m)" == "aarch64" ]; then set -e; export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') && export DOWNLOAD_DIR=$(echo $download | sed "s/-${OS_VER}.tar.gz//g") && echo $DOWNLOAD_DIR > .swift_tag && export GNUPGHOME="$(mktemp -d)" && curl -fL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig && curl -fL https://swift.org/keys/all-keys.asc | gpg --import - && gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz && tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 && chmod -R o+r /usr/lib/swift && rm -rf "$GNUPGHOME" latest_toolchain.tar.gz.sig latest_toolchain.tar.gz; fi' returned a non-zero code: 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.