Skip to content

Commit 61d8ee2

Browse files
authored
bitcoin-core: Fix build after cryptofuzz removal (google#12765)
Fixes https://issues.oss-fuzz.com/issues/380676570 Excerpt: ``` Step #1: Step 5/13 : RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz Step #1: ---> Running in def8cd621b2d Step #1: �[91mCloning into 'cryptofuzz'... Step #1: �[0m�[91mfatal: could not read Username for 'https://github.com': No such device or address Step #1: The command '/bin/sh -c git clone --depth 1 https://github.com/guidovranken/cryptofuzz' returned a non-zero code: 128 Finished Step #1 ERROR ``` This is a clean removal, which can be reverted in the future, or reworked. For now, go ahead with the removal, to unbreak the build. Co-authored-by: MarcoFalke <[email protected]>
1 parent e17c155 commit 61d8ee2

File tree

3 files changed

+0
-198
lines changed

3 files changed

+0
-198
lines changed

projects/bitcoin-core/Dockerfile

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ RUN apt-get update && apt-get install -y \
2626
RUN git clone --depth=1 https://github.com/bitcoin/bitcoin.git bitcoin-core
2727
RUN git clone --depth=1 https://github.com/bitcoin-core/qa-assets bitcoin-core/assets && \
2828
rm -rf bitcoin-core/assets/.git # Remove git history to save storage
29-
RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz
3029
RUN git clone --depth 1 https://github.com/bitcoin-core/secp256k1.git
31-
RUN git clone --depth 1 https://github.com/randombit/botan.git
32-
RUN git clone --depth 1 https://github.com/trezor/trezor-firmware.git
33-
RUN git clone --depth 1 https://github.com/google/wycheproof.git
34-
RUN wget https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2
3530
WORKDIR bitcoin-core
3631
COPY build.sh $SRC/
37-
COPY build_cryptofuzz.sh $SRC/

projects/bitcoin-core/build.sh

-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
# Print date to embed it into build logs
1919
date
2020

21-
if [ "$SANITIZER" != "introspector" ]; then
22-
# Temporarily skip this under introspector
23-
$SRC/build_cryptofuzz.sh
24-
fi
25-
2621
cd $SRC/bitcoin-core/
2722

2823
# Build dependencies

projects/bitcoin-core/build_cryptofuzz.sh

-187
This file was deleted.

0 commit comments

Comments
 (0)