ansible-coreos-bootstrap icon indicating copy to clipboard operation
ansible-coreos-bootstrap copied to clipboard

Upgrade to latest pypy portable

Open tuxalex opened this issue 8 years ago • 5 comments

tuxalex avatar Nov 18 '16 11:11 tuxalex

As of coreOS 1800.4.0, this PR is in fact needed for python to work; This is due to libncurses being switched to version 6. See: https://bitbucket.org/pypy/pypy/issues/2856/provide-a-version-that-requires-libncurses https://github.com/kubernetes/contrib/issues/1675

paolope avatar Jul 26 '18 12:07 paolope

@defunctzombie can you please take a look?

paolope avatar Jul 26 '18 12:07 paolope

+1 on having this fixed

r7vme avatar Jul 26 '18 12:07 r7vme

Using portable pypy causes errors on updating CA certiticates via update-ca-certificates

/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
...

Some info why it works in that way can be found here https://github.com/squeaky-pl/portable-pypy#a-word-about-openssl

corest avatar Jul 26 '18 14:07 corest

Worked for me with pypy2

PYPY_VERSION=v6.0.0

if [[ -e $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2 ]]; then
  tar -xjf $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2
  rm -rf $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2
else
  wget -O - https://bitbucket.org/pypy/pypy/downloads/pypy2-${PYPY_VERSION}-linux64.tar.bz2 |tar -xjf -
fi

mv -n pypy2-$PYPY_VERSION-linux64 pypy

corest avatar Jul 26 '18 15:07 corest