[
https://issues.apache.org/jira/browse/MINIFICPP-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Hunyadi resolved MINIFICPP-1420.
-------------------------------------
Resolution: Fixed
> Add alternate mirrors for libsodium
> -----------------------------------
>
> Key: MINIFICPP-1420
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1420
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Adam Hunyadi
> Assignee: Adam Hunyadi
> Priority: Minor
> Labels: MiNiFi-CPP-Hygiene
> Fix For: 0.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> *Backgroud:*
> The official libsodium downloads page is unstable, causing clean builds to
> fail with the following error:
> {code:bash|title=Libsodium server not available}
> CMake Error at
> /home/hunyadix/Documents/Projects/nifi-minifi-cpp_1/build/libsodium-external-prefix/src/libsodium-external-stamp/download-libsodium-external.cmake:170
> (message):
> Each download failed!
>
>
>
>
>
>
>
> error: downloading
> 'https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz'
> failed
>
> status_code: 6
>
>
>
> status_string: "Couldn't resolve host name"
>
>
>
> log:
>
>
>
> --- LOG BEGIN ---
>
>
>
> getaddrinfo(3) failed for download.libsodium.org:443
>
>
>
>
>
>
>
> Couldn't resolve host 'download.libsodium.org'
>
>
>
>
>
>
>
> Closing connection 0
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- LOG END ---
>
>
>
> error: downloading
> 'https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz'
> failed
>
> status_code: 6
>
>
>
> status_string: "Couldn't resolve host name"
>
>
>
> log:
>
>
>
> --- LOG BEGIN ---
>
>
>
> getaddrinfo(3) failed for download.libsodium.org:443
>
>
>
> Couldn't resolve host 'download.libsodium.org'
> Closing connection 0
> (...)
> {code}
> *Proposal:*
> We should add the following alternate mirrors to the ExternalProject_add
> cmake command:
> *
> https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
>
> * https://gentoo.osuosl.org/distfiles/libsodium-1.0.18.tar.gz
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
