You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is happening because MacOS ships with an old version of bash (3.2.57) because of a licensing issue. I upgraded to 5.2.26 with brew install bash, but I actually needed to edit my copy of scripts.sh and change the reference to /bin/bash to /opt/homebrew/bin/bash. Past the first hurdle!
The next problem is in openssl.dockerfile. It's doing a curl to download openssl. Unfortunately the URL has moved and it fails silently... so when I do this:
It returns a 301 with the new location: https://github.com:443/openssl/openssl/releases/download/openssl-3.0.11/openssl-3.0.11.tar.gz
I suggest making curl follow redirects with the --location argument, or updating the URL to the new one.
The next failure is in step 7 because there is no libssl.so.3 file.
0.278 ln: failed to create symbolic link '/lib/x86_64-linux-gnu/libssl.so.3': No such file or directory The file exists, but the path is different. I had to edit openssl.dockerfile to remove instances of "64" and "x86_64-linux-gnu" It looks like this for me:
Final obstacle.... when running the tests it is configured to use "journald" by default. I had to use "json-file" which I could do with an environment variable.
Builds and all tests pass now.
Cheers!
The text was updated successfully, but these errors were encountered:
I was running
./scripts.sh
all and at first it failed because of a call todeclare -A
This is happening because MacOS ships with an old version of bash (3.2.57) because of a licensing issue. I upgraded to 5.2.26 with
brew install bash
, but I actually needed to edit my copy of scripts.sh and change the reference to/bin/bash
to/opt/homebrew/bin/bash
. Past the first hurdle!The next problem is in
openssl.dockerfile
. It's doing a curl to download openssl. Unfortunately the URL has moved and it fails silently... so when I do this:curl https://www.openssl.org/source/openssl-3.0.11.tar.gz
It returns a 301 with the new location:
https://github.com:443/openssl/openssl/releases/download/openssl-3.0.11/openssl-3.0.11.tar.gz
I suggest making curl follow redirects with the
--location
argument, or updating the URL to the new one.The next failure is in step 7 because there is no
libssl.so.3
file.0.278 ln: failed to create symbolic link '/lib/x86_64-linux-gnu/libssl.so.3': No such file or directory
The file exists, but the path is different. I had to editopenssl.dockerfile
to remove instances of "64" and "x86_64-linux-gnu" It looks like this for me:Final obstacle.... when running the tests it is configured to use "journald" by default. I had to use "json-file" which I could do with an environment variable.
Builds and all tests pass now.
Cheers!
The text was updated successfully, but these errors were encountered: