note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> openssl 1.1.1k [from:libcurl]
-> zlib 1.2.11 [from:libcurl]
-> libcurl 7.73.0 [openssl:y, zlib:y]
please input: y (y/n/m)
y
checking for ping ... /usr/bin/ping
pinging for the host(curl.mirror.anstey.ca) ... 65535 ms
pinging for the host(github.com) ... 221 ms
pinging for the host(curl.haxx.se) ... 65535 ms
checking for curl ... /usr/bin/curl
/usr/bin/curl -SL -A "Xmake/2.5.6+202107260756 (Linux;5.10.16.3-microsoft-standard-WSL2) curl/7.68.0" https://github.com
/openssl/openssl/archive/OpenSSL_1_1_1k.zip -o OpenSSL_1_1_1k.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 128 100 128 0 0 131 0 --:--:-- --:--:-- --:--:-- 131
100 11.2M 0 11.2M 0 0 2478k 0 --:--:-- 0:00:04 --:--:-- 3812k
/usr/bin/tar -xvf OpenSSL_1_1_1k.zip -C source.tmp --exclude /fuzz/
/usr/bin/tar: This does not look like a tar archive
/usr/bin/tar: Skipping to next header
/usr/bin/tar: Exiting with failure status due to previous errors
error: execv(/usr/bin/tar -xvf OpenSSL_1_1_1k.zip -C source.tmp --exclude /fuzz/) failed(2)
=> download https://github.com/openssl/openssl/archive/OpenSSL_1_1_1k.zip .. failed
we can also download these packages manually:
xmake g --pkg_searchdirs=/xxx
to set the search directories.