Skip to content

Instantly share code, notes, and snippets.

@dasTholo
Created August 5, 2020 07:54
Show Gist options
  • Save dasTholo/1c31b52095db2daf2ac8bcab7c9041b8 to your computer and use it in GitHub Desktop.
Save dasTholo/1c31b52095db2daf2ac8bcab7c9041b8 to your computer and use it in GitHub Desktop.
matrix-nio docker build log
niotor git:(docker-install) ✗ docker-compose up --build
Building nio-smith
Step 1/19 : ARG PYTHON_VERSION=3.8
Step 2/19 : FROM docker.io/python:${PYTHON_VERSION}-alpine3.11 as builder
3.8-alpine3.11: Pulling from library/python
Digest: sha256:87ac062801f85f85472124fbd4a346568640cf5b13e277c83d058a56364967bc
Status: Downloaded newer image for python:3.8-alpine3.11
---> aec0a31f4b72
Step 3/19 : LABEL name="nio-smith"
---> Using cache
---> 5862b235eccb
Step 4/19 : LABEL authors="alturiak "
---> Using cache
---> 876d7b654a0a
Step 5/19 : LABEL description="General purpose matrix bot based on matrix-nio-template"
---> Using cache
---> 3d2bf5184065
Step 6/19 : ARG LIBOLM_VERSION=3.1.4
---> Using cache
---> a00c2cb7ba54
Step 7/19 : RUN apk add --no-cache make cmake gcc g++ git libffi-dev python3-dev
---> Using cache
---> ea62c5063b9a
Step 8/19 : COPY build_and_install_libolm.sh /scripts/
---> ae5cdfd8acd2
Step 9/19 : RUN /scripts/build_and_install_libolm.sh ${LIBOLM_VERSION} /python-libs
---> Running in 9cd77803d9fa
+ git clone -b 3.1.4 https://gitlab.matrix.org/matrix-org/olm.git olm
Cloning into 'olm'...
Note: switching to '6753595300767dd70150831dbbe6f92d64e75038'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
+ cd olm
+ cmake . -Bbuild
-- The CXX compiler identification is GNU 9.2.0
-- The C compiler identification is GNU 9.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /olm/build
+ cmake --build build
Scanning dependencies of target olm
[ 1%] Building CXX object CMakeFiles/olm.dir/src/account.cpp.o
[ 3%] Building CXX object CMakeFiles/olm.dir/src/base64.cpp.o
[ 5%] Building CXX object CMakeFiles/olm.dir/src/cipher.cpp.o
[ 7%] Building CXX object CMakeFiles/olm.dir/src/crypto.cpp.o
[ 9%] Building CXX object CMakeFiles/olm.dir/src/memory.cpp.o
[ 11%] Building CXX object CMakeFiles/olm.dir/src/message.cpp.o
[ 13%] Building CXX object CMakeFiles/olm.dir/src/pickle.cpp.o
[ 15%] Building CXX object CMakeFiles/olm.dir/src/ratchet.cpp.o
[ 16%] Building CXX object CMakeFiles/olm.dir/src/session.cpp.o
[ 18%] Building CXX object CMakeFiles/olm.dir/src/utility.cpp.o
[ 20%] Building CXX object CMakeFiles/olm.dir/src/pk.cpp.o
[ 22%] Building C object CMakeFiles/olm.dir/src/sas.c.o
[ 24%] Building C object CMakeFiles/olm.dir/src/ed25519.c.o
[ 26%] Building C object CMakeFiles/olm.dir/src/error.c.o
[ 28%] Building C object CMakeFiles/olm.dir/src/inbound_group_session.c.o
[ 30%] Building C object CMakeFiles/olm.dir/src/megolm.c.o
[ 32%] Building CXX object CMakeFiles/olm.dir/src/olm.cpp.o
[ 33%] Building C object CMakeFiles/olm.dir/src/outbound_group_session.c.o
[ 35%] Building C object CMakeFiles/olm.dir/src/pickle_encoding.c.o
[ 37%] Building C object CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o
[ 39%] Building C object CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o
[ 41%] Building C object CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o
[ 43%] Linking CXX shared library libolm.so
[ 43%] Built target olm
Scanning dependencies of target test_ratchet
[ 45%] Building CXX object tests/CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o
[ 47%] Linking CXX executable test_ratchet
[ 47%] Built target test_ratchet
Scanning dependencies of target test_sas
[ 49%] Building CXX object tests/CMakeFiles/test_sas.dir/test_sas.cpp.o
[ 50%] Linking CXX executable test_sas
[ 50%] Built target test_sas
Scanning dependencies of target test_pk
[ 52%] Building CXX object tests/CMakeFiles/test_pk.dir/test_pk.cpp.o
[ 54%] Linking CXX executable test_pk
[ 54%] Built target test_pk
Scanning dependencies of target test_session
[ 56%] Building CXX object tests/CMakeFiles/test_session.dir/test_session.cpp.o
[ 58%] Linking CXX executable test_session
[ 58%] Built target test_session
Scanning dependencies of target test_list
[ 60%] Building CXX object tests/CMakeFiles/test_list.dir/test_list.cpp.o
[ 62%] Linking CXX executable test_list
[ 62%] Built target test_list
Scanning dependencies of target test_olm_signature
[ 64%] Building CXX object tests/CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o
[ 66%] Linking CXX executable test_olm_signature
[ 66%] Built target test_olm_signature
Scanning dependencies of target test_megolm
[ 67%] Building CXX object tests/CMakeFiles/test_megolm.dir/test_megolm.cpp.o
[ 69%] Linking CXX executable test_megolm
[ 69%] Built target test_megolm
Scanning dependencies of target test_base64
[ 71%] Building CXX object tests/CMakeFiles/test_base64.dir/test_base64.cpp.o
[ 73%] Linking CXX executable test_base64
[ 73%] Built target test_base64
Scanning dependencies of target test_olm
[ 75%] Building CXX object tests/CMakeFiles/test_olm.dir/test_olm.cpp.o
[ 77%] Linking CXX executable test_olm
[ 77%] Built target test_olm
Scanning dependencies of target test_olm_decrypt
[ 79%] Building CXX object tests/CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o
[ 81%] Linking CXX executable test_olm_decrypt
[ 81%] Built target test_olm_decrypt
Scanning dependencies of target test_crypto
[ 83%] Building CXX object tests/CMakeFiles/test_crypto.dir/test_crypto.cpp.o
[ 84%] Linking CXX executable test_crypto
[ 84%] Built target test_crypto
Scanning dependencies of target test_group_session
[ 86%] Building CXX object tests/CMakeFiles/test_group_session.dir/test_group_session.cpp.o
[ 88%] Linking CXX executable test_group_session
[ 88%] Built target test_group_session
Scanning dependencies of target test_message
[ 90%] Building CXX object tests/CMakeFiles/test_message.dir/test_message.cpp.o
[ 92%] Linking CXX executable test_message
[ 92%] Built target test_message
Scanning dependencies of target test_olm_sha256
[ 94%] Building CXX object tests/CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o
[ 96%] Linking CXX executable test_olm_sha256
[ 96%] Built target test_olm_sha256
Scanning dependencies of target test_olm_using_malloc
[ 98%] Building CXX object tests/CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o
[100%] Linking CXX executable test_olm_using_malloc
[100%] Built target test_olm_using_malloc
+ make install
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/memory.o src/memory.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/utility.o src/utility.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/ratchet.o src/ratchet.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/pk.o src/pk.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/cipher.o src/cipher.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/olm.o src/olm.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/crypto.o src/crypto.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/session.o src/session.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/message.o src/message.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/account.o src/account.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/pickle.o src/pickle.cpp
mkdir -p build/release/src/
g++ -Wall -Werror -std=c++11 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/base64.o src/base64.cpp
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/outbound_group_session.o src/outbound_group_session.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/sas.o src/sas.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/inbound_group_session.o src/inbound_group_session.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/pickle_encoding.o src/pickle_encoding.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/error.o src/error.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/megolm.o src/megolm.c
mkdir -p build/release/src/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/src/ed25519.o src/ed25519.c
mkdir -p build/release/lib/crypto-algorithms/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/lib/crypto-algorithms/sha256.o lib/crypto-algorithms/sha256.c
mkdir -p build/release/lib/crypto-algorithms/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/lib/crypto-algorithms/aes.o lib/crypto-algorithms/aes.c
mkdir -p build/release/lib/curve25519-donna/
gcc -Wall -Werror -std=c99 -g -O3 -fPIC -Iinclude -Ilib -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=1 -DOLMLIB_VERSION_PATCH=4 -MMD -c -o build/release/lib/curve25519-donna/curve25519-donna.o lib/curve25519-donna/curve25519-donna.c
g++ -Wall -Werror -g -O3 --shared -fPIC \
-Wl,-soname,libolm.so.3 -Wl,--version-script,version_script.ver \
-o build/libolm.so.3.1.4 build/release/src/memory.o build/release/src/utility.o build/release/src/ratchet.o build/release/src/pk.o build/release/src/cipher.o build/release/src/olm.o build/release/src/crypto.o build/release/src/session.o build/release/src/message.o build/release/src/account.o build/release/src/pickle.o build/release/src/base64.o build/release/src/outbound_group_session.o build/release/src/sas.o build/release/src/inbound_group_session.o build/release/src/pickle_encoding.o build/release/src/error.o build/release/src/megolm.o build/release/src/ed25519.o build/release/lib/crypto-algorithms/sha256.o build/release/lib/crypto-algorithms/aes.o build/release/lib/curve25519-donna/curve25519-donna.o
ln -sf libolm.so.3.1.4 build/libolm.so.3
ln -sf libolm.so.3.1.4 build/libolm.so
test -d /usr/local/include/olm || mkdir -p /usr/local/include/olm
install -Dm644 include/olm/olm.h include/olm/outbound_group_session.h include/olm/inbound_group_session.h include/olm/pk.h include/olm/sas.h /usr/local/include/olm/
test -d /usr/local/lib || mkdir -p /usr/local/lib
install -Dm755 build/libolm.so.3.1.4 /usr/local/lib/libolm.so.3.1.4
ln -sf libolm.so.3.1.4 /usr/local/lib/libolm.so.3
ln -sf libolm.so.3.1.4 /usr/local/lib/libolm.so
+ cd python
+ make olm-python3
mkdir -p include/olm
cc -E -I dummy -I ../include ../include/olm/olm.h -o include/olm/olm.h
echo 'void *memset(void *s, int c, size_t n);' >> include/olm/olm.h
cc -E -I dummy -I ../include ../include/olm/pk.h -o include/olm/pk.h
cc -E -I dummy -I ../include ../include/olm/sas.h -o include/olm/sas.h
DEVELOP= python3 setup.py build
make[1]: Entering directory '/olm/python'
make[1]: Nothing to be done for 'headers'.
make[1]: Leaving directory '/olm/python'
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/olm
copying olm/account.py -> build/lib.linux-x86_64-3.8/olm
copying olm/_finalize.py -> build/lib.linux-x86_64-3.8/olm
copying olm/pk.py -> build/lib.linux-x86_64-3.8/olm
copying olm/__init__.py -> build/lib.linux-x86_64-3.8/olm
copying olm/session.py -> build/lib.linux-x86_64-3.8/olm
copying olm/utility.py -> build/lib.linux-x86_64-3.8/olm
copying olm/_compat.py -> build/lib.linux-x86_64-3.8/olm
copying olm/group_session.py -> build/lib.linux-x86_64-3.8/olm
copying olm/sas.py -> build/lib.linux-x86_64-3.8/olm
copying olm/__version__.py -> build/lib.linux-x86_64-3.8/olm
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.8/_libolm.c'
creating build/temp.linux-x86_64-3.8
building '_libolm' extension
creating build/temp.linux-x86_64-3.8/build
creating build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.8 -c build/temp.linux-x86_64-3.8/_libolm.c -o build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8/_libolm.o -I../include
gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8/_libolm.o -L/usr/local/lib -lolm -o build/lib.linux-x86_64-3.8/_libolm.abi3.so -L../build
+ mkdir -p /python-libs
+ DESTDIR=/python-libs make install-python3
DEVELOP= python3 setup.py build
make[1]: Entering directory '/olm/python'
make[1]: Nothing to be done for 'headers'.
make[1]: Leaving directory '/olm/python'
running build
running build_py
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.8/_libolm.c'
already up-to-date
python3 setup.py install --skip-build -O1 --root=/python-libs
make[1]: Entering directory '/olm/python'
make[1]: Nothing to be done for 'headers'.
make[1]: Leaving directory '/olm/python'
running install
running install_lib
creating /python-libs/usr
creating /python-libs/usr/local
creating /python-libs/usr/local/lib
creating /python-libs/usr/local/lib/python3.8
creating /python-libs/usr/local/lib/python3.8/site-packages
creating /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/account.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/_finalize.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/pk.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/__init__.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/session.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/utility.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/_compat.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/group_session.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/sas.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/olm/__version__.py -> /python-libs/usr/local/lib/python3.8/site-packages/olm
copying build/lib.linux-x86_64-3.8/_libolm.abi3.so -> /python-libs/usr/local/lib/python3.8/site-packages
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/account.py to account.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/_finalize.py to _finalize.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/pk.py to pk.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/__init__.py to __init__.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/session.py to session.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/utility.py to utility.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/_compat.py to _compat.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/group_session.py to group_session.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/sas.py to sas.cpython-38.pyc
byte-compiling /python-libs/usr/local/lib/python3.8/site-packages/olm/__version__.py to __version__.cpython-38.pyc
writing byte-compilation script '/tmp/tmp08u1ey6a.py'
/usr/local/bin/python3 /tmp/tmp08u1ey6a.py
removing /tmp/tmp08u1ey6a.py
running install_egg_info
running egg_info
creating python_olm.egg-info
writing python_olm.egg-info/PKG-INFO
writing dependency_links to python_olm.egg-info/dependency_links.txt
writing requirements to python_olm.egg-info/requires.txt
writing top-level names to python_olm.egg-info/top_level.txt
writing manifest file 'python_olm.egg-info/SOURCES.txt'
reading manifest file 'python_olm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'python_olm.egg-info/SOURCES.txt'
Copying python_olm.egg-info to /python-libs/usr/local/lib/python3.8/site-packages/python_olm-3.1.4-py3.8.egg-info
running install_scripts
Removing intermediate container 9cd77803d9fa
---> 1959a1a1b2f5
Step 10/19 : RUN pip install --prefix="/python-libs" --no-warn-script-location "matrix-nio[e2e]"
---> Running in 1b325e39fc5c
Collecting matrix-nio[e2e]
Downloading matrix_nio-0.14.1-py3-none-any.whl (170 kB)
Collecting pycryptodome<4.0.0,>=3.9.7
Downloading pycryptodome-3.9.8.tar.gz (15.6 MB)
Collecting h2<4.0.0,>=3.2.0
Downloading h2-3.2.0-py2.py3-none-any.whl (65 kB)
Collecting jsonschema<4.0.0,>=3.2.0
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting h11<0.10.0,>=0.9.0
Downloading h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting logbook<2.0.0,>=1.5.3
Downloading Logbook-1.5.3.tar.gz (85 kB)
Collecting unpaddedbase64<2.0.0,>=1.1.0
Downloading unpaddedbase64-1.1.0-py2.py3-none-any.whl (3.3 kB)
Collecting future<0.19.0,>=0.18.2
Downloading future-0.18.2.tar.gz (829 kB)
Collecting aiohttp<4.0.0,>=3.6.2
Downloading aiohttp-3.6.2-py3-none-any.whl (441 kB)
Collecting aiofiles<0.5.0,>=0.4.0
Downloading aiofiles-0.4.0-py3-none-any.whl (9.2 kB)
Collecting python-olm<4.0.0,>=3.1.3; extra == "e2e"
Downloading python-olm-3.1.3.tar.gz (27 kB)
Collecting cachetools<5.0.0,>=4.0.0; extra == "e2e"
Downloading cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting atomicwrites<2.0.0,>=1.3.0; extra == "e2e"
Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting peewee<4.0.0,>=3.13.2; extra == "e2e"
Downloading peewee-3.13.3.tar.gz (2.3 MB)
Collecting hyperframe<6,>=5.2.0
Downloading hyperframe-5.2.0-py2.py3-none-any.whl (12 kB)
Collecting hpack<4,>=3.0
Downloading hpack-3.0.0-py2.py3-none-any.whl (38 kB)
Collecting attrs>=17.4.0
Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting pyrsistent>=0.14.0
Downloading pyrsistent-0.16.0.tar.gz (108 kB)
Collecting six>=1.11.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->matrix-nio[e2e]) (49.2.1)
Collecting yarl<2.0,>=1.0
Downloading yarl-1.5.1.tar.gz (173 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting chardet<4.0,>=2.0
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting multidict<5.0,>=4.5
Downloading multidict-4.7.6.tar.gz (50 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting async-timeout<4.0,>=3.0
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Processing /root/.cache/pip/wheels/43/36/0c/6d41dce8ea6a7e301555ae4318c711c74a0b8a149eedf1474c/cffi-1.14.1-cp38-cp38-linux_x86_64.whl
Collecting idna>=2.0
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: pycryptodome, logbook, future, python-olm, peewee, pyrsistent, yarl, multidict
Building wheel for pycryptodome (setup.py): started
Building wheel for pycryptodome (setup.py): finished with status 'done'
Created wheel for pycryptodome: filename=pycryptodome-3.9.8-cp38-cp38-linux_x86_64.whl size=13343168 sha256=a9bf1fc75fe70412df168066bd2719c465545e30144f1a8c00177f5fa725eb78
Stored in directory: /root/.cache/pip/wheels/89/a6/2c/f2362b23b78c34b2ae7a1bff14c896b7d62b0bffd29fed327e
Building wheel for logbook (setup.py): started
Building wheel for logbook (setup.py): finished with status 'done'
Created wheel for logbook: filename=Logbook-1.5.3-cp38-cp38-linux_x86_64.whl size=66379 sha256=3f472e43073e1f3a820796159b75fcb069e04bee15283e31e4629f113375f12b
Stored in directory: /root/.cache/pip/wheels/25/9a/c0/03bf368ac5f673e9c0bde58837146b004424b25555ca3aedfb
Building wheel for future (setup.py): started
Building wheel for future (setup.py): finished with status 'done'
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=6ce0daa86d6c6c4048a79ab36f8c3f9e94b5de2935493d6a4e8c9f8068229b81
Stored in directory: /root/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4
Building wheel for python-olm (setup.py): started
Building wheel for python-olm (setup.py): finished with status 'done'
Created wheel for python-olm: filename=python_olm-3.1.3-cp38-cp38-linux_x86_64.whl size=53519 sha256=83586d50b043dde8ee6de2659032ff490cf0fda8922db8bd6eefd63b9e52eb36
Stored in directory: /root/.cache/pip/wheels/1c/a0/53/ea4c79f60693fcef0951216bb94ee25545632e686403fbb438
Building wheel for peewee (setup.py): started
Building wheel for peewee (setup.py): finished with status 'done'
Created wheel for peewee: filename=peewee-3.13.3-py3-none-any.whl size=127265 sha256=5dc70ead03e12af302b6c5c3b55723e72a42478e5c94383aa361c6dc23e2260a
Stored in directory: /root/.cache/pip/wheels/31/c2/e3/758b28810363cabd2ea3126fa71ee31be916528dcbc6c59eaf
Building wheel for pyrsistent (setup.py): started
Building wheel for pyrsistent (setup.py): finished with status 'done'
Created wheel for pyrsistent: filename=pyrsistent-0.16.0-cp38-cp38-linux_x86_64.whl size=73886 sha256=54d0867932524900bc7e591e8d03b577891d07af46097a79c927d8fffdb6372e
Stored in directory: /root/.cache/pip/wheels/17/be/0f/727fb20889ada6aaaaba861f5f0eb21663533915429ad43f28
Building wheel for yarl (PEP 517): started
Building wheel for yarl (PEP 517): finished with status 'done'
Created wheel for yarl: filename=yarl-1.5.1-cp38-cp38-linux_x86_64.whl size=134621 sha256=a04df19caafdf25b7e2484778a1b14978ead64b9dd2ca3afb43567e529a6a6a3
Stored in directory: /root/.cache/pip/wheels/89/ac/3b/1c8e86f1d7a8d9dbb91ca2540a61d0413a0a8b7565070a96ba
Building wheel for multidict (PEP 517): started
Building wheel for multidict (PEP 517): finished with status 'done'
Created wheel for multidict: filename=multidict-4.7.6-cp38-cp38-linux_x86_64.whl size=53005 sha256=25783d394974806b300e6d76b5e78a59f42aa1cc0b479c5d44328b4b58056a55
Stored in directory: /root/.cache/pip/wheels/78/82/3a/e149e5c0e123a9094d46ec7249c95ceff6d63c90dcdd2c295d
Successfully built pycryptodome logbook future python-olm peewee pyrsistent yarl multidict
Installing collected packages: pycryptodome, hyperframe, hpack, h2, attrs, six, pyrsistent, jsonschema, h11, logbook, unpaddedbase64, future, multidict, idna, yarl, chardet, async-timeout, aiohttp, aiofiles, pycparser, cffi, python-olm, cachetools, atomicwrites, peewee, matrix-nio
Successfully installed aiofiles-0.4.0 aiohttp-3.6.2 async-timeout-3.0.1 atomicwrites-1.4.0 attrs-19.3.0 cachetools-4.1.1 cffi-1.14.1 chardet-3.0.4 future-0.18.2 h11-0.9.0 h2-3.2.0 hpack-3.0.0 hyperframe-5.2.0 idna-2.10 jsonschema-3.2.0 logbook-1.5.3 matrix-nio-0.14.1 multidict-4.7.6 peewee-3.13.3 pycparser-2.20 pycryptodome-3.9.8 pyrsistent-0.16.0 python-olm-3.1.3 six-1.15.0 unpaddedbase64-1.1.0 yarl-1.5.1
WARNING: You are using pip version 20.2; however, version 20.2.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container 1b325e39fc5c
---> 2e906caebbe8
Step 11/19 : FROM docker.io/python:${PYTHON_VERSION}-alpine3.11
---> aec0a31f4b72
Step 12/19 : COPY --from=builder /python-libs /usr/local
---> 3955843aa10c
Step 13/19 : COPY --from=builder /usr/local/lib/libolm* /usr/local/lib/
---> d4553c4d6349
Step 14/19 : RUN apk add --no-cache libstdc++
---> Running in ac0c99d1dee0
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/2) Installing libgcc (9.2.0-r4)
(2/2) Installing libstdc++ (9.2.0-r4)
OK: 13 MiB in 36 packages
Removing intermediate container ac0c99d1dee0
---> d12dfd449287
Step 15/19 : ADD . /opt
---> 685c729b6335
Step 16/19 : WORKDIR /opt
---> Running in 195aca5fa7a7
Removing intermediate container 195aca5fa7a7
---> 01a1ab865e8a
Step 17/19 : RUN pip --no-cache-dir install -r /opt/requirements.txt
---> Running in 01885ca648d0
Requirement already satisfied: aiohttp in /usr/local/lib/python3.8/site-packages (from -r /opt/requirements.txt (line 1)) (3.6.2)
Collecting nio
Downloading nio-3.4.2.tar.gz (88 kB)
Collecting humanize
Downloading humanize-2.5.0-py3-none-any.whl (65 kB)
Collecting googletrans
Downloading googletrans-3.0.0.tar.gz (17 kB)
Collecting requests
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting fuzzywuzzy
Downloading fuzzywuzzy-0.18.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: matrix-nio[e2e]>=0.14.1 in /usr/local/lib/python3.8/site-packages (from -r /opt/requirements.txt (line 7)) (0.14.1)
Collecting Markdown>=3.1.1
Downloading Markdown-3.2.2-py3-none-any.whl (88 kB)
Collecting PyYAML>=5.1.2
Downloading PyYAML-5.3.1.tar.gz (269 kB)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/local/lib/python3.8/site-packages (from aiohttp->-r /opt/requirements.txt (line 1)) (3.0.4)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.8/site-packages (from aiohttp->-r /opt/requirements.txt (line 1)) (3.0.1)
Requirement already satisfied: multidict<5.0,>=4.5 in /usr/local/lib/python3.8/site-packages (from aiohttp->-r /opt/requirements.txt (line 1)) (4.7.6)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.8/site-packages (from aiohttp->-r /opt/requirements.txt (line 1)) (19.3.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.8/site-packages (from aiohttp->-r /opt/requirements.txt (line 1)) (1.5.1)
Collecting safepickle>=0.1.0
Downloading safepickle-0.2.0-py3-none-any.whl (8.9 kB)
Collecting httpx==0.13.3
Downloading httpx-0.13.3-py3-none-any.whl (55 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->-r /opt/requirements.txt (line 5)) (2.10)
Requirement already satisfied: pycryptodome<4.0.0,>=3.9.7 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.9.8)
Requirement already satisfied: aiofiles<0.5.0,>=0.4.0 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (0.4.0)
Requirement already satisfied: unpaddedbase64<2.0.0,>=1.1.0 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (1.1.0)
Requirement already satisfied: future<0.19.0,>=0.18.2 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (0.18.2)
Requirement already satisfied: h2<4.0.0,>=3.2.0 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.2.0)
Requirement already satisfied: jsonschema<4.0.0,>=3.2.0 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.2.0)
Requirement already satisfied: logbook<2.0.0,>=1.5.3 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (1.5.3)
Requirement already satisfied: h11<0.10.0,>=0.9.0 in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (0.9.0)
Requirement already satisfied: peewee<4.0.0,>=3.13.2; extra == "e2e" in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.13.3)
Requirement already satisfied: python-olm<4.0.0,>=3.1.3; extra == "e2e" in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.1.3)
Requirement already satisfied: cachetools<5.0.0,>=4.0.0; extra == "e2e" in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (4.1.1)
Requirement already satisfied: atomicwrites<2.0.0,>=1.3.0; extra == "e2e" in /usr/local/lib/python3.8/site-packages (from matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (1.4.0)
Collecting sniffio
Downloading sniffio-1.1.0-py3-none-any.whl (4.5 kB)
Collecting rfc3986<2,>=1.3
Downloading rfc3986-1.4.0-py2.py3-none-any.whl (31 kB)
Collecting httpcore==0.9.*
Downloading httpcore-0.9.1-py3-none-any.whl (42 kB)
Collecting hstspreload
Downloading hstspreload-2020.8.5-py3-none-any.whl (930 kB)
Requirement already satisfied: hpack<4,>=3.0 in /usr/local/lib/python3.8/site-packages (from h2<4.0.0,>=3.2.0->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (3.0.0)
Requirement already satisfied: hyperframe<6,>=5.2.0 in /usr/local/lib/python3.8/site-packages (from h2<4.0.0,>=3.2.0->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (5.2.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (0.16.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (49.2.1)
Requirement already satisfied: six>=1.11.0 in /usr/local/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (1.15.0)
Requirement already satisfied: cffi>=1.0.0 in /usr/local/lib/python3.8/site-packages (from python-olm<4.0.0,>=3.1.3; extra == "e2e"->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (1.14.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/site-packages (from cffi>=1.0.0->python-olm<4.0.0,>=3.1.3; extra == "e2e"->matrix-nio[e2e]>=0.14.1->-r /opt/requirements.txt (line 7)) (2.20)
Building wheels for collected packages: nio, googletrans, PyYAML
Building wheel for nio (setup.py): started
Building wheel for nio (setup.py): finished with status 'done'
Created wheel for nio: filename=nio-3.4.2-py3-none-any.whl size=144896 sha256=3479762ca4f14587d2a3b44930c91b598b1ee9c006f9164504632f8d22a11034
Stored in directory: /tmp/pip-ephem-wheel-cache-3059325z/wheels/0d/39/a5/f9167b458228a1e69f7fc61859433b171ff903c1d33f2ff529
Building wheel for googletrans (setup.py): started
Building wheel for googletrans (setup.py): finished with status 'done'
Created wheel for googletrans: filename=googletrans-3.0.0-py3-none-any.whl size=15734 sha256=3c6f0dc27a767e20989a785b859c36ca9f1e7f7a228a27c827745d3ebdfc5aa8
Stored in directory: /tmp/pip-ephem-wheel-cache-3059325z/wheels/0e/ce/9b/d51de1064911d42480ab6b57fc943ee36572441f27546354e2
Building wheel for PyYAML (setup.py): started
Building wheel for PyYAML (setup.py): finished with status 'done'
Created wheel for PyYAML: filename=PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl size=44617 sha256=7f6d926e7ebc2258758a5325f09fd02a0671c3bc67a5c7fc2ca0a6025a90f53f
Stored in directory: /tmp/pip-ephem-wheel-cache-3059325z/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c
Successfully built nio googletrans PyYAML
Installing collected packages: safepickle, nio, humanize, sniffio, certifi, rfc3986, httpcore, hstspreload, httpx, googletrans, urllib3, requests, fuzzywuzzy, Markdown, PyYAML
Successfully installed Markdown-3.2.2 PyYAML-5.3.1 certifi-2020.6.20 fuzzywuzzy-0.18.0 googletrans-3.0.0 hstspreload-2020.8.5 httpcore-0.9.1 httpx-0.13.3 humanize-2.5.0 nio-3.4.2 requests-2.24.0 rfc3986-1.4.0 safepickle-0.2.0 sniffio-1.1.0 urllib3-1.25.10
WARNING: You are using pip version 20.2; however, version 20.2.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container 01885ca648d0
---> 9d6d12c6b9ae
Step 18/19 : VOLUME ["/opt/store", "/opt/data"]
---> Running in 3f3e26c548c4
Removing intermediate container 3f3e26c548c4
---> b228d26e6765
Step 19/19 : CMD [ "python3", "/opt/main.py" ]
---> Running in 3693edbddd46
Removing intermediate container 3693edbddd46
---> 27998b6ba67d
Successfully built 27998b6ba67d
Successfully tagged niotor_nio-smith:latest
Recreating nio-smith ... done
Attaching to nio-smith
nio-smith | Traceback (most recent call last):
nio-smith | File "/opt/main.py", line 8, in <module>
nio-smith | from nio import (
nio-smith | ImportError: cannot import name 'AsyncClient' from 'nio' (/usr/local/lib/python3.8/site-packages/nio/__init__.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment