pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
113 stars 70 forks source link

[Pharo branch]openssl download url doesn't exists #78

Open VincentBlondeau opened 4 years ago

VincentBlondeau commented 4 years ago

In ./third-party/openssl,spec, the first line contains a depreacted url (https://www.openssl.org/source/openssl-1.0.2q.tar.gz) that avoid to compile properly the image.

First Execution:

-----------------------------------------------------
if [ ! -d /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64 ]; then mkdir -p /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64; fi
wget -q --no-check-certificate  -O ../../.thirdparty-cache/openssl-1.0.2q.tar.gz https://www.openssl.org/source/openssl-1.0.2q.tar.gz
make[1]: *** [../third-party/Makefile.openssl:20: ../../.thirdparty-cache/openssl-1.0.2q.tar.gz] Error 8
make[1]: Leaving directory '/cygdrive/c/pharo-vm/opensmalltalk-vm/build.win64x64/pharo.cog.spur'
make: *** [../common/Makefile:156: debug] Error 2

Second execution:

-----------------------------------------------------
if [ ! -d /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64 ]; then mkdir -p /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64; fi
ESTEBAN: ENTER
tar x -f ../../.thirdparty-cache/openssl-1.0.2q.tar.gz -C builddbg/third-party
tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[1]: *** [../third-party/Makefile.openssl:24: /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64/bin/ssleay32.dll] Error 2
make[1]: Leaving directory '/cygdrive/c/pharo-vm/opensmalltalk-vm/build.win64x64/pharo.cog.spur'
make: *** [../common/Makefile:156: debug] Error 2

Changing it to: https://www.openssl.org/source/openssl-1.1.1f.tar.gz and updating the version number doesn't fix the issue and more changes seems to be required:

-----------------------------------------------------
if [ ! -d /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64 ]; then mkdir -p /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64; fi
ESTEBAN: ENTER
tar x -f ../../.thirdparty-cache/openssl-1.1.1f.tar.gz -C builddbg/third-party
sed -i 's/symlink/copy/g'  builddbg/third-party/openssl-1.1.1f/util/mklink.pl
sed: can't read builddbg/third-party/openssl-1.1.1f/util/mklink.pl: No such file or directory
make[1]: *** [../third-party/Makefile.openssl:25: /cygdrive/c/pharo-vm/opensmalltalk-vm/.thirdparty-cache/windows/x86_64/bin/ssleay32.dll] Error 2
make[1]: Leaving directory '/cygdrive/c/pharo-vm/opensmalltalk-vm/build.win64x64/pharo.cog.spur'
make: *** [../common/Makefile:156: debug] Error 2
VincentBlondeau commented 4 years ago

fix upstream there: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/455