[tarantool-patches] Re: [PATCH v2 1/2] Reinstall curl to 7.65.0 version on OSX

Alexander Turenko alexander.turenko at tarantool.org
Fri Jul 5 16:16:19 MSK 2019


I changed wording in the commit message a bit:

* Added 'travis-ci: ' prefix: this helps developers a lot with filtering
  (un)related commits.
* 'OS X' is the name of the OS, not 'OSX'.
* Removed 'At OSX images', because it does not matter whether a machine
  is virtual or hardware: the question is that 7.65.1 is the last
  version in homebrew.

So now the commit message looks so:

> travis-ci: freeze curl version on 7.65.0 on OS X
    
> Homebrew now contains curl-7.65.1 which affected by curl/curl#3995 (this
> problem leads to segfaults). The next version is not released yet. The
> current commit downgrades the curl version to 7.65.0.
    
> Close #4288

Pushed to master, 2.1 and 1.10.

WBR, Alexander Turenko.

On Wed, Jul 03, 2019 at 06:23:45PM +0300, Alexander V. Tikhonov wrote:
> At OSX images brew now contains curl-7.65.1 which affected
> by curl/curl#3995 (this problem leads to segfaults). The next
> version is not released yet. The current commit downgrades the
> curl version to 7.65.0.
> 
> Close #4288
> ---
> 
> Github: https://github.com/tarantool/tarantool/tree/avtikhon/curl-downgrade
> Issue: https://github.com/tarantool/tarantool/issues/4288
> 
>  .travis.mk | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/.travis.mk b/.travis.mk
> index 6d0c42207..d02aec7ef 100644
> --- a/.travis.mk
> +++ b/.travis.mk
> @@ -51,6 +51,23 @@ deps_osx:
>  	brew update
>  	brew install openssl readline curl icu4c --force
>  	python2 -V || brew install python2 --force
> +	###################################################
> +	# Temporary workaround to curl version from
> +	# issue #4288 to downgrade from 7.65.1 to 7.65.0:
> +	# TODO: remove the workaround after 7.65.2 released
> +	# Warning message from brew installer:
> +	#   curl-openssl is keg-only, which means it was not symlinked into /usr/local,
> +	#   because macOS already provides this software and installing another version in
> +	#   parallel can cause all kinds of trouble.
> +	export PATH="/usr/local/opt/curl-openssl/bin:${PATH}"
> +	export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
> +	export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"
> +	echo "Curl version before its downgrade:"
> +	curl -V
> +	brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/e47f3e2682fa3d8a6ee58ded40718a1326e08a6d/Formula/curl.rb
> +	echo "Curl version after its downgrade:"
> +	curl -V
> +	###################################################
>  	curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python
>  	pip install -r test-run/requirements.txt
>  
> -- 
> 2.17.1
> 




More information about the Tarantool-patches mailing list