ouinet
ouinet copied to clipboard
make error z-lib related, on ubuntu 20.04
web@racknerd-9e3111:~/oui$ make
[ 2%] Built target uri
[ 4%] Built target json
[ 6%] Built target built_boost
[ 6%] Built target boost_asio
[ 6%] Built target configfiles
[ 7%] Built target boost_asio_ssl
[ 9%] Built target zdnsparser
[ 10%] Built target cpp_upnp
[ 12%] Built target gpg_error
[ 14%] Built target gcrypt
[ 16%] Built target golang
[ 17%] Performing download step (download, verify and extract) for 'zlib-project'
-- verifying file...
file='/home/web/oui/src/ouiservice/i2p/i2pd/build/zlib/src/zlib-1.2.11.tar.gz'
-- SHA256 hash of
/home/web/oui/src/ouiservice/i2p/i2pd/build/zlib/src/zlib-1.2.11.tar.gz
does not match expected value
expected: 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1'
actual: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
-- File already exists but hash mismatch. Removing...
-- Downloading...
dst='/home/web/oui/src/ouiservice/i2p/i2pd/build/zlib/src/zlib-1.2.11.tar.gz'
timeout='none'
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
-- Retrying...
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://zlib.net/zlib-1.2.11.tar.gz'
CMake Error at zlib-project-stamp/download-zlib-project.cmake:159 (message):
Each download failed!
error: downloading 'https://zlib.net/zlib-1.2.11.tar.gz' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 85.187.148.2:443...
TCP_NODELAY set
Connected to zlib.net (85.187.148.2) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
[5 bytes data]
TLSv1.3 (OUT), TLS handshake, Client hello (1):
[512 bytes data]
[5 bytes data]
TLSv1.3 (IN), TLS handshake, Server hello (2):
[122 bytes data]
[5 bytes data]
[5 bytes data]
[1 bytes data]
............ similar stuff about tls and bytes data until the log ends
--- LOG END ---
make[2]: *** [src/ouiservice/i2p/i2pd/build/CMakeFiles/zlib-project.dir/build.make:91: src/ouiservice/i2p/i2pd/build/zlib/src/zlib-project-stamp/zlib-project-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:706: src/ouiservice/i2p/i2pd/build/CMakeFiles/zlib-project.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
any fix for this?