Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi support #8

Closed
mboehm21 opened this issue Apr 25, 2019 · 9 comments
Closed

Raspberry Pi support #8

mboehm21 opened this issue Apr 25, 2019 · 9 comments

Comments

@mboehm21
Copy link

I was unable to build the image on Raspberry Pi 3:

    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'
    ERROR: Complete output from command /cowrie/cowrie-env/bin/python3 /cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpk982pkrt:
    ERROR: Traceback (most recent call last):
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
        main()
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
        return hook(metadata_directory, config_settings)
      File "/tmp/pip-build-env-1wbut0kg/overlay/lib/python3.5/site-packages/poetry/masonry/api.py", line 49, in prepare_metadata_for_build_wheel
        builder._write_metadata_file(f)
      File "/tmp/pip-build-env-1wbut0kg/overlay/lib/python3.5/site-packages/poetry/masonry/builders/wheel.py", line 314, in _write_metadata_file
        fp.write(decode(self.get_metadata_content()))
    UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 178: ordinal not in range(128)
    ----------------------------------------
ERROR: Command "/cowrie/cowrie-env/bin/python3 /cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpk982pkrt" failed with error code 1 in /tmp/pip-install-jpxknzh3/pendulum
The command '/bin/sh -c git clone --separate-git-dir=/tmp/cowrie.git http://github.com/cowrie/cowrie ${COWRIE_HOME}/cowrie-git &&     cd ${COWRIE_HOME} &&       python3 -m venv cowrie-env &&       . cowrie-env/bin/activate &&       pip install --no-cache-dir --upgrade pip &&       pip install --no-cache-dir --upgrade cffi &&       pip install --no-cache-dir --upgrade setuptools &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements.txt &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements-output.txt' returned a non-zero code: 1
Makefile:10: recipe for target 'build' failed
make: *** [build] Error 1

Would it be possible to provide a pre-built ARM-image on the Docker Hub? The Raspi is ideal for a small standalone honeypot.

@micheloosterhof
Copy link
Member

Hi!
Could you show a larger part of log output piece? I can't see where it's failing exactly.
I know people run on Raspberry PI, so a docker image should be possible...

@mboehm21
Copy link
Author

mboehm21 commented Apr 27, 2019

Hi Michel,

here you have the whole log:

pi@raspi1:~/cowrie $ make all
docker build -t cowrie:devel .
Sending build context to Docker daemon  14.34kB
Step 1/24 : FROM debian:stretch-slim as builder
 ---> 42bd20a400f3
Step 2/24 : LABEL maintainer="Michel Oosterhof <michel@oosterhof.net>"
 ---> Running in 662f97a57733
Removing intermediate container 662f97a57733
 ---> 7c832e4aad81
Step 3/24 : ENV COWRIE_GROUP=cowrie     COWRIE_USER=cowrie     COWRIE_HOME=/cowrie
 ---> Running in 4ccd29ffc3cc
Removing intermediate container 4ccd29ffc3cc
 ---> cc9b9c87e412
Step 4/24 : RUN groupadd -r -g 1000 ${COWRIE_GROUP} &&     useradd -r -u 1000 -d ${COWRIE_HOME} -m -g ${COWRIE_GROUP} ${COWRIE_USER}
 ---> Running in 8df5d020a5ce
Removing intermediate container 8df5d020a5ce
 ---> 026da5f6dd68
Step 5/24 : RUN export DEBIAN_FRONTEND=noninteractive;     apt-get update &&     apt-get install -y         -o APT::Install-Suggests=false         -o APT::Install-Recommends=false       python3-pip       libssl-dev       libffi-dev       python3-dev       python3-venv       python3       gcc       git       build-essential       python3-virtualenv       libsnappy-dev       default-libmysqlclient-dev &&     rm -rf /var/lib/apt/lists/*
 ---> Running in b5d0682fe58f
Get:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://security-cdn.debian.org/debian-security stretch/updates/main armhf Packages [470 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch-updates/main armhf Packages [10.8 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main armhf Packages [6913 kB]
Fetched 7700 kB in 7s (1070 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils bzip2 ca-certificates cpp cpp-6 dh-python dpkg-dev g++ g++-6 gcc-6
  git-man libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcurl3-gnutls
  libdpkg-perl liberror-perl libexpat1 libexpat1-dev libffi6 libgcc-6-dev
  libgdbm3 libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2 libhogweed4 libidn11
  libidn2-0 libisl15 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
  libldap-2.4-2 libldap-common libmariadbclient-dev
  libmariadbclient-dev-compat libmariadbclient18 libmpc3 libmpdec2 libmpfr4
  libnettle6 libnghttp2-14 libp11-kit0 libperl5.24 libpsl5 libpython3-dev
  libpython3-stdlib libpython3.5 libpython3.5-dev libpython3.5-minimal
  libpython3.5-stdlib libreadline7 librtmp1 libsasl2-2 libsasl2-modules-db
  libsnappy1v5 libsqlite3-0 libssh2-1 libssl1.1 libstdc++-6-dev libtasn1-6
  libubsan0 libunistring0 linux-libc-dev make mime-support mysql-common
  openssl patch perl perl-modules-5.24 python-pip-whl python3-minimal
  python3-pkg-resources python3.5 python3.5-dev python3.5-minimal
  python3.5-venv readline-common xz-utils zlib1g-dev
Suggested packages:
  binutils-doc bzip2-doc cpp-doc gcc-6-locales debian-keyring gcc-6-doc
  libstdc++6-6-dbg gcc-multilib manpages-dev autoconf automake libtool flex
  bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
  libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
  libmpx2-dbg libquadmath0-dbg gettext-base git-daemon-run
  | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
  git-cvs git-mediawiki git-svn glibc-doc gnupg | gnupg2 gnutls-bin krb5-doc
  krb5-user libstdc++-6-doc make-doc ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl python3-doc
  python3-tk python3-setuptools python3.5-doc binfmt-support readline-doc
Recommended packages:
  fakeroot gnupg | gnupg2 libalgorithm-merge-perl less rsync ssh-client
  manpages manpages-dev libfile-fcntllock-perl liblocale-gettext-perl
  krb5-locales publicsuffix libsasl2-modules libssl-doc file netbase rename
  python3-setuptools python3-wheel
The following NEW packages will be installed:
  binutils build-essential bzip2 ca-certificates cpp cpp-6
  default-libmysqlclient-dev dh-python dpkg-dev g++ g++-6 gcc gcc-6 git
  git-man libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcurl3-gnutls
  libdpkg-perl liberror-perl libexpat1 libexpat1-dev libffi-dev libffi6
  libgcc-6-dev libgdbm3 libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2
  libhogweed4 libidn11 libidn2-0 libisl15 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 libldap-2.4-2 libldap-common libmariadbclient-dev
  libmariadbclient-dev-compat libmariadbclient18 libmpc3 libmpdec2 libmpfr4
  libnettle6 libnghttp2-14 libp11-kit0 libperl5.24 libpsl5 libpython3-dev
  libpython3-stdlib libpython3.5 libpython3.5-dev libpython3.5-minimal
  libpython3.5-stdlib libreadline7 librtmp1 libsasl2-2 libsasl2-modules-db
  libsnappy-dev libsnappy1v5 libsqlite3-0 libssh2-1 libssl-dev libssl1.1
  libstdc++-6-dev libtasn1-6 libubsan0 libunistring0 linux-libc-dev make
  mime-support mysql-common openssl patch perl perl-modules-5.24
  python-pip-whl python3 python3-dev python3-minimal python3-pip
  python3-pkg-resources python3-venv python3-virtualenv python3.5
  python3.5-dev python3.5-minimal python3.5-venv readline-common xz-utils
  zlib1g-dev
0 upgraded, 97 newly installed, 0 to remove and 3 not upgraded.
Need to get 97.7 MB of archives.
After this operation, 268 MB of additional disk space will be used.
Get:1 http://security-cdn.debian.org/debian-security stretch/updates/main armhf libssh2-1 armhf 1.7.0-1+deb9u1 [129 kB]
Get:2 http://security-cdn.debian.org/debian-security stretch/updates/main armhf libmariadbclient18 armhf 10.1.37-0+deb9u1 [731 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch/main armhf perl-modules-5.24 all 5.24.1-3+deb9u5 [2722 kB]
Get:3 http://security-cdn.debian.org/debian-security stretch/updates/main armhf libmariadbclient-dev armhf 10.1.37-0+deb9u1 [1588 kB]
Get:4 http://security-cdn.debian.org/debian-security stretch/updates/main armhf libmariadbclient-dev-compat armhf 10.1.37-0+deb9u1 [27.1 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgdbm3 armhf 1.8.3-14 [28.5 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libperl5.24 armhf 5.24.1-3+deb9u5 [2850 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main armhf perl armhf 5.24.1-3+deb9u5 [219 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgmp10 armhf 2:6.1.2+dfsg-1 [195 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libnettle6 armhf 3.3-1+b2 [211 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libhogweed4 armhf 3.3-1+b2 [126 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libidn11 armhf 1.33-1 [112 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libffi6 armhf 3.2.1-6 [18.9 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libp11-kit0 armhf 0.23.3-2 [96.7 kB]
Get:15 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libtasn1-6 armhf 4.10-1.1+deb9u1 [45.7 kB]
Get:16 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgnutls30 armhf 3.5.8-5+deb9u4 [841 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libkeyutils1 armhf 1.5.9-9 [11.8 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libkrb5support0 armhf 1.15-1+deb9u1 [58.0 kB]
Get:19 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libk5crypto3 armhf 1.15-1+deb9u1 [117 kB]
Get:20 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libkrb5-3 armhf 1.15-1+deb9u1 [267 kB]
Get:21 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgssapi-krb5-2 armhf 1.15-1+deb9u1 [133 kB]
Get:22 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [255 kB]
Get:23 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libidn2-0 armhf 0.16-1+deb9u1 [58.8 kB]
Get:24 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libsasl2-modules-db armhf 2.1.27~101-g0780600+dfsg-3 [66.7 kB]
Get:25 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libsasl2-2 armhf 2.1.27~101-g0780600+dfsg-3 [98.2 kB]
Get:26 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libldap-common all 2.4.44+dfsg-5+deb9u2 [85.5 kB]
Get:27 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libldap-2.4-2 armhf 2.4.44+dfsg-5+deb9u2 [197 kB]
Get:28 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libnghttp2-14 armhf 1.18.1-1 [69.1 kB]
Get:29 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpsl5 armhf 0.17.0-3 [40.7 kB]
Get:30 http://cdn-fastly.deb.debian.org/debian stretch/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-1+b1 [55.1 kB]
Get:31 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libcurl3-gnutls armhf 7.52.1-5+deb9u9 [262 kB]
Get:32 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libexpat1 armhf 2.2.0-2+deb9u1 [64.4 kB]
Get:33 http://cdn-fastly.deb.debian.org/debian stretch/main armhf liberror-perl all 0.17024-1 [26.9 kB]
Get:34 http://cdn-fastly.deb.debian.org/debian stretch/main armhf git-man all 1:2.11.0-3+deb9u4 [1433 kB]
Get:35 http://cdn-fastly.deb.debian.org/debian stretch/main armhf git armhf 1:2.11.0-3+deb9u4 [3661 kB]
Get:36 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libssl1.1 armhf 1.1.0j-1~deb9u1 [1147 kB]
Get:37 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3.5-minimal armhf 3.5.3-1+deb9u1 [565 kB]
Get:38 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3.5-minimal armhf 3.5.3-1+deb9u1 [1441 kB]
Get:39 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-minimal armhf 3.5.3-1 [35.3 kB]
Get:40 http://cdn-fastly.deb.debian.org/debian stretch/main armhf mime-support all 3.60 [36.7 kB]
Get:41 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libmpdec2 armhf 2.4.2-1 [69.6 kB]
Get:42 http://cdn-fastly.deb.debian.org/debian stretch/main armhf readline-common all 7.0-3 [70.4 kB]
Get:43 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libreadline7 armhf 7.0-3 [131 kB]
Get:44 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u1 [499 kB]
Get:45 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3.5-stdlib armhf 3.5.3-1+deb9u1 [2085 kB]
Get:46 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3.5 armhf 3.5.3-1+deb9u1 [229 kB]
Get:47 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3-stdlib armhf 3.5.3-1 [18.6 kB]
Get:48 http://cdn-fastly.deb.debian.org/debian stretch/main armhf dh-python all 2.20170125 [86.8 kB]
Get:49 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3 armhf 3.5.3-1 [21.6 kB]
Get:50 http://cdn-fastly.deb.debian.org/debian stretch/main armhf bzip2 armhf 1.0.6-8.1 [46.6 kB]
Get:51 http://cdn-fastly.deb.debian.org/debian stretch/main armhf xz-utils armhf 5.2.2-1.2+b1 [263 kB]
Get:52 http://cdn-fastly.deb.debian.org/debian stretch/main armhf binutils armhf 2.28-5 [3900 kB]
Get:53 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libc-dev-bin armhf 2.24-11+deb9u4 [253 kB]
Get:54 http://cdn-fastly.deb.debian.org/debian stretch-updates/main armhf linux-libc-dev armhf 4.9.144-3.1 [1370 kB]
Get:55 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libc6-dev armhf 2.24-11+deb9u4 [1995 kB]
Get:56 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libisl15 armhf 0.18-1 [441 kB]
Get:57 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libmpfr4 armhf 3.1.5-1 [536 kB]
Get:58 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libmpc3 armhf 1.0.3-1+b2 [32.6 kB]
Get:59 http://cdn-fastly.deb.debian.org/debian stretch/main armhf cpp-6 armhf 6.3.0-18+deb9u1 [5239 kB]
Get:60 http://cdn-fastly.deb.debian.org/debian stretch/main armhf cpp armhf 4:6.3.0-4 [18.7 kB]
Get:61 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libcc1-0 armhf 6.3.0-18+deb9u1 [25.2 kB]
Get:62 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgomp1 armhf 6.3.0-18+deb9u1 [64.6 kB]
Get:63 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libatomic1 armhf 6.3.0-18+deb9u1 [6010 B]
Get:64 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libasan3 armhf 6.3.0-18+deb9u1 [284 kB]
Get:65 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libubsan0 armhf 6.3.0-18+deb9u1 [92.9 kB]
Get:66 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libgcc-6-dev armhf 6.3.0-18+deb9u1 [531 kB]
Get:67 http://cdn-fastly.deb.debian.org/debian stretch/main armhf gcc-6 armhf 6.3.0-18+deb9u1 [5511 kB]
Get:68 http://cdn-fastly.deb.debian.org/debian stretch/main armhf gcc armhf 4:6.3.0-4 [5212 B]
Get:69 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libstdc++-6-dev armhf 6.3.0-18+deb9u1 [1487 kB]
Get:70 http://cdn-fastly.deb.debian.org/debian stretch/main armhf g++-6 armhf 6.3.0-18+deb9u1 [5665 kB]
Get:71 http://cdn-fastly.deb.debian.org/debian stretch/main armhf g++ armhf 4:6.3.0-4 [1520 B]
Get:72 http://cdn-fastly.deb.debian.org/debian stretch/main armhf make armhf 4.1-9.1 [290 kB]
Get:73 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libdpkg-perl all 1.18.25 [1287 kB]
Get:74 http://cdn-fastly.deb.debian.org/debian stretch/main armhf patch armhf 2.7.5-1+deb9u1 [106 kB]
Get:75 http://cdn-fastly.deb.debian.org/debian stretch/main armhf dpkg-dev all 1.18.25 [1595 kB]
Get:76 http://cdn-fastly.deb.debian.org/debian stretch/main armhf build-essential armhf 12.3 [7342 B]
Get:77 http://cdn-fastly.deb.debian.org/debian stretch/main armhf openssl armhf 1.1.0j-1~deb9u1 [724 kB]
Get:78 http://cdn-fastly.deb.debian.org/debian stretch/main armhf ca-certificates all 20161130+nmu1+deb9u1 [182 kB]
Get:79 http://cdn-fastly.deb.debian.org/debian stretch/main armhf mysql-common all 5.8+1.0.2 [5608 B]
Get:80 http://cdn-fastly.deb.debian.org/debian stretch/main armhf zlib1g-dev armhf 1:1.2.8.dfsg-5 [200 kB]
Get:81 http://cdn-fastly.deb.debian.org/debian stretch/main armhf default-libmysqlclient-dev armhf 1.0.2 [3272 B]
Get:82 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libexpat1-dev armhf 2.2.0-2+deb9u1 [116 kB]
Get:83 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libffi-dev armhf 3.2.1-6 [160 kB]
Get:84 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3.5 armhf 3.5.3-1+deb9u1 [1204 kB]
Get:85 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3.5-dev armhf 3.5.3-1+deb9u1 [37.0 MB]
Get:86 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libpython3-dev armhf 3.5.3-1 [18.7 kB]
Get:87 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libssl-dev armhf 1.1.0j-1~deb9u1 [1410 kB]
Get:88 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python-pip-whl all 9.0.1-2 [1406 kB]
Get:89 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3.5-dev armhf 3.5.3-1+deb9u1 [413 kB]
Get:90 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-dev armhf 3.5.3-1 [1158 B]
Get:91 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-pip all 9.0.1-2 [142 kB]
Get:92 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-pkg-resources all 33.1.1-1 [137 kB]
Get:93 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3.5-venv armhf 3.5.3-1+deb9u1 [5932 B]
Get:94 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-venv armhf 3.5.3-1 [1066 B]
Get:95 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python3-virtualenv all 15.1.0+ds-1 [57.7 kB]
Get:96 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libsnappy1v5 armhf 1.1.3-3 [49.4 kB]
Get:97 http://cdn-fastly.deb.debian.org/debian stretch/main armhf libsnappy-dev armhf 1.1.3-3 [64.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 97.7 MB in 10s (9598 kB/s)
Selecting previously unselected package perl-modules-5.24.
(Reading database ... 6310 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u5_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u5) ...
Selecting previously unselected package libgdbm3:armhf.
Preparing to unpack .../01-libgdbm3_1.8.3-14_armhf.deb ...
Unpacking libgdbm3:armhf (1.8.3-14) ...
Selecting previously unselected package libperl5.24:armhf.
Preparing to unpack .../02-libperl5.24_5.24.1-3+deb9u5_armhf.deb ...
Unpacking libperl5.24:armhf (5.24.1-3+deb9u5) ...
Selecting previously unselected package perl.
Preparing to unpack .../03-perl_5.24.1-3+deb9u5_armhf.deb ...
Unpacking perl (5.24.1-3+deb9u5) ...
Selecting previously unselected package libgmp10:armhf.
Preparing to unpack .../04-libgmp10_2%3a6.1.2+dfsg-1_armhf.deb ...
Unpacking libgmp10:armhf (2:6.1.2+dfsg-1) ...
Selecting previously unselected package libnettle6:armhf.
Preparing to unpack .../05-libnettle6_3.3-1+b2_armhf.deb ...
Unpacking libnettle6:armhf (3.3-1+b2) ...
Selecting previously unselected package libhogweed4:armhf.
Preparing to unpack .../06-libhogweed4_3.3-1+b2_armhf.deb ...
Unpacking libhogweed4:armhf (3.3-1+b2) ...
Selecting previously unselected package libidn11:armhf.
Preparing to unpack .../07-libidn11_1.33-1_armhf.deb ...
Unpacking libidn11:armhf (1.33-1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../08-libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) ...
Selecting previously unselected package libp11-kit0:armhf.
Preparing to unpack .../09-libp11-kit0_0.23.3-2_armhf.deb ...
Unpacking libp11-kit0:armhf (0.23.3-2) ...
Selecting previously unselected package libtasn1-6:armhf.
Preparing to unpack .../10-libtasn1-6_4.10-1.1+deb9u1_armhf.deb ...
Unpacking libtasn1-6:armhf (4.10-1.1+deb9u1) ...
Selecting previously unselected package libgnutls30:armhf.
Preparing to unpack .../11-libgnutls30_3.5.8-5+deb9u4_armhf.deb ...
Unpacking libgnutls30:armhf (3.5.8-5+deb9u4) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../12-libkeyutils1_1.5.9-9_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-9) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../13-libkrb5support0_1.15-1+deb9u1_armhf.deb ...
Unpacking libkrb5support0:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../14-libk5crypto3_1.15-1+deb9u1_armhf.deb ...
Unpacking libk5crypto3:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../15-libkrb5-3_1.15-1+deb9u1_armhf.deb ...
Unpacking libkrb5-3:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../16-libgssapi-krb5-2_1.15-1+deb9u1_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../17-libunistring0_0.9.6+really0.9.3-0.1_armhf.deb ...
Unpacking libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package libidn2-0:armhf.
Preparing to unpack .../18-libidn2-0_0.16-1+deb9u1_armhf.deb ...
Unpacking libidn2-0:armhf (0.16-1+deb9u1) ...
Selecting previously unselected package libsasl2-modules-db:armhf.
Preparing to unpack .../19-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3_armhf.deb ...
Unpacking libsasl2-modules-db:armhf (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libsasl2-2:armhf.
Preparing to unpack .../20-libsasl2-2_2.1.27~101-g0780600+dfsg-3_armhf.deb ...
Unpacking libsasl2-2:armhf (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../21-libldap-common_2.4.44+dfsg-5+deb9u2_all.deb ...
Unpacking libldap-common (2.4.44+dfsg-5+deb9u2) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Preparing to unpack .../22-libldap-2.4-2_2.4.44+dfsg-5+deb9u2_armhf.deb ...
Unpacking libldap-2.4-2:armhf (2.4.44+dfsg-5+deb9u2) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../23-libnghttp2-14_1.18.1-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.18.1-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../24-libpsl5_0.17.0-3_armhf.deb ...
Unpacking libpsl5:armhf (0.17.0-3) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../25-librtmp1_2.4+20151223.gitfa8646d.1-1+b1_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-1+b1) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../26-libssh2-1_1.7.0-1+deb9u1_armhf.deb ...
Unpacking libssh2-1:armhf (1.7.0-1+deb9u1) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../27-libcurl3-gnutls_7.52.1-5+deb9u9_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.52.1-5+deb9u9) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../28-libexpat1_2.2.0-2+deb9u1_armhf.deb ...
Unpacking libexpat1:armhf (2.2.0-2+deb9u1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../29-liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../30-git-man_1%3a2.11.0-3+deb9u4_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u4) ...
Selecting previously unselected package git.
Preparing to unpack .../31-git_1%3a2.11.0-3+deb9u4_armhf.deb ...
Unpacking git (1:2.11.0-3+deb9u4) ...
Selecting previously unselected package libssl1.1:armhf.
Preparing to unpack .../32-libssl1.1_1.1.0j-1~deb9u1_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.0j-1~deb9u1) ...
Selecting previously unselected package libpython3.5-minimal:armhf.
Preparing to unpack .../33-libpython3.5-minimal_3.5.3-1+deb9u1_armhf.deb ...
Unpacking libpython3.5-minimal:armhf (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../34-python3.5-minimal_3.5.3-1+deb9u1_armhf.deb ...
Unpacking python3.5-minimal (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../35-python3-minimal_3.5.3-1_armhf.deb ...
Unpacking python3-minimal (3.5.3-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../36-mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../37-libmpdec2_2.4.2-1_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.2-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../38-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:armhf.
Preparing to unpack .../39-libreadline7_7.0-3_armhf.deb ...
Unpacking libreadline7:armhf (7.0-3) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../40-libsqlite3-0_3.16.2-5+deb9u1_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.16.2-5+deb9u1) ...
Selecting previously unselected package libpython3.5-stdlib:armhf.
Preparing to unpack .../41-libpython3.5-stdlib_3.5.3-1+deb9u1_armhf.deb ...
Unpacking libpython3.5-stdlib:armhf (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../42-python3.5_3.5.3-1+deb9u1_armhf.deb ...
Unpacking python3.5 (3.5.3-1+deb9u1) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../43-libpython3-stdlib_3.5.3-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.5.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../44-dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up libssl1.1:armhf (1.1.0j-1~deb9u1) ...
Setting up libpython3.5-minimal:armhf (3.5.3-1+deb9u1) ...
Setting up libexpat1:armhf (2.2.0-2+deb9u1) ...
Setting up python3.5-minimal (3.5.3-1+deb9u1) ...
Setting up python3-minimal (3.5.3-1) ...
Selecting previously unselected package python3.
(Reading database ... 10202 files and directories currently installed.)
Preparing to unpack .../00-python3_3.5.3-1_armhf.deb ...
Unpacking python3 (3.5.3-1) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../01-bzip2_1.0.6-8.1_armhf.deb ...
Unpacking bzip2 (1.0.6-8.1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../02-xz-utils_5.2.2-1.2+b1_armhf.deb ...
Unpacking xz-utils (5.2.2-1.2+b1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.28-5_armhf.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../04-libc-dev-bin_2.24-11+deb9u4_armhf.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u4) ...
Selecting previously unselected package linux-libc-dev:armhf.
Preparing to unpack .../05-linux-libc-dev_4.9.144-3.1_armhf.deb ...
Unpacking linux-libc-dev:armhf (4.9.144-3.1) ...
Selecting previously unselected package libc6-dev:armhf.
Preparing to unpack .../06-libc6-dev_2.24-11+deb9u4_armhf.deb ...
Unpacking libc6-dev:armhf (2.24-11+deb9u4) ...
Selecting previously unselected package libisl15:armhf.
Preparing to unpack .../07-libisl15_0.18-1_armhf.deb ...
Unpacking libisl15:armhf (0.18-1) ...
Selecting previously unselected package libmpfr4:armhf.
Preparing to unpack .../08-libmpfr4_3.1.5-1_armhf.deb ...
Unpacking libmpfr4:armhf (3.1.5-1) ...
Selecting previously unselected package libmpc3:armhf.
Preparing to unpack .../09-libmpc3_1.0.3-1+b2_armhf.deb ...
Unpacking libmpc3:armhf (1.0.3-1+b2) ...
Selecting previously unselected package cpp-6.
Preparing to unpack .../10-cpp-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking cpp-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a6.3.0-4_armhf.deb ...
Unpacking cpp (4:6.3.0-4) ...
Selecting previously unselected package libcc1-0:armhf.
Preparing to unpack .../12-libcc1-0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libcc1-0:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgomp1:armhf.
Preparing to unpack .../13-libgomp1_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libgomp1:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../14-libatomic1_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libatomic1:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:armhf.
Preparing to unpack .../15-libasan3_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libasan3:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:armhf.
Preparing to unpack .../16-libubsan0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libubsan0:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:armhf.
Preparing to unpack .../17-libgcc-6-dev_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libgcc-6-dev:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../18-gcc-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../19-gcc_4%3a6.3.0-4_armhf.deb ...
Unpacking gcc (4:6.3.0-4) ...
Selecting previously unselected package libstdc++-6-dev:armhf.
Preparing to unpack .../20-libstdc++-6-dev_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libstdc++-6-dev:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../21-g++-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking g++-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++.
Preparing to unpack .../22-g++_4%3a6.3.0-4_armhf.deb ...
Unpacking g++ (4:6.3.0-4) ...
Selecting previously unselected package make.
Preparing to unpack .../23-make_4.1-9.1_armhf.deb ...
Unpacking make (4.1-9.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../24-libdpkg-perl_1.18.25_all.deb ...
Unpacking libdpkg-perl (1.18.25) ...
Selecting previously unselected package patch.
Preparing to unpack .../25-patch_2.7.5-1+deb9u1_armhf.deb ...
Unpacking patch (2.7.5-1+deb9u1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../26-dpkg-dev_1.18.25_all.deb ...
Unpacking dpkg-dev (1.18.25) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../27-build-essential_12.3_armhf.deb ...
Unpacking build-essential (12.3) ...
Selecting previously unselected package openssl.
Preparing to unpack .../28-openssl_1.1.0j-1~deb9u1_armhf.deb ...
Unpacking openssl (1.1.0j-1~deb9u1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../29-ca-certificates_20161130+nmu1+deb9u1_all.deb ...
Unpacking ca-certificates (20161130+nmu1+deb9u1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../30-mysql-common_5.8+1.0.2_all.deb ...
Unpacking mysql-common (5.8+1.0.2) ...
Selecting previously unselected package libmariadbclient18:armhf.
Preparing to unpack .../31-libmariadbclient18_10.1.37-0+deb9u1_armhf.deb ...
Unpacking libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../32-zlib1g-dev_1%3a1.2.8.dfsg-5_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-5) ...
Selecting previously unselected package libmariadbclient-dev.
Preparing to unpack .../33-libmariadbclient-dev_10.1.37-0+deb9u1_armhf.deb ...
Unpacking libmariadbclient-dev (10.1.37-0+deb9u1) ...
Selecting previously unselected package libmariadbclient-dev-compat:armhf.
Preparing to unpack .../34-libmariadbclient-dev-compat_10.1.37-0+deb9u1_armhf.deb ...
Unpacking libmariadbclient-dev-compat:armhf (10.1.37-0+deb9u1) ...
Selecting previously unselected package default-libmysqlclient-dev:armhf.
Preparing to unpack .../35-default-libmysqlclient-dev_1.0.2_armhf.deb ...
Unpacking default-libmysqlclient-dev:armhf (1.0.2) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../36-libexpat1-dev_2.2.0-2+deb9u1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.0-2+deb9u1) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../37-libffi-dev_3.2.1-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.2.1-6) ...
Selecting previously unselected package libpython3.5:armhf.
Preparing to unpack .../38-libpython3.5_3.5.3-1+deb9u1_armhf.deb ...
Unpacking libpython3.5:armhf (3.5.3-1+deb9u1) ...
Selecting previously unselected package libpython3.5-dev:armhf.
Preparing to unpack .../39-libpython3.5-dev_3.5.3-1+deb9u1_armhf.deb ...
Unpacking libpython3.5-dev:armhf (3.5.3-1+deb9u1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../40-libpython3-dev_3.5.3-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.5.3-1) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../41-libssl-dev_1.1.0j-1~deb9u1_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.0j-1~deb9u1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../42-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../43-python3.5-dev_3.5.3-1+deb9u1_armhf.deb ...
Unpacking python3.5-dev (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../44-python3-dev_3.5.3-1_armhf.deb ...
Unpacking python3-dev (3.5.3-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../45-python3-pip_9.0.1-2_all.deb ...
Unpacking python3-pip (9.0.1-2) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../46-python3-pkg-resources_33.1.1-1_all.deb ...
Unpacking python3-pkg-resources (33.1.1-1) ...
Selecting previously unselected package python3.5-venv.
Preparing to unpack .../47-python3.5-venv_3.5.3-1+deb9u1_armhf.deb ...
Unpacking python3.5-venv (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../48-python3-venv_3.5.3-1_armhf.deb ...
Unpacking python3-venv (3.5.3-1) ...
Selecting previously unselected package python3-virtualenv.
Preparing to unpack .../49-python3-virtualenv_15.1.0+ds-1_all.deb ...
Unpacking python3-virtualenv (15.1.0+ds-1) ...
Selecting previously unselected package libsnappy1v5:armhf.
Preparing to unpack .../50-libsnappy1v5_1.1.3-3_armhf.deb ...
Unpacking libsnappy1v5:armhf (1.1.3-3) ...
Selecting previously unselected package libsnappy-dev:armhf.
Preparing to unpack .../51-libsnappy-dev_1.1.3-3_armhf.deb ...
Unpacking libsnappy-dev:armhf (1.1.3-3) ...
Setting up libgomp1:armhf (6.3.0-18+deb9u1) ...
Setting up libatomic1:armhf (6.3.0-18+deb9u1) ...
Setting up readline-common (7.0-3) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u5) ...
Setting up libgdbm3:armhf (1.8.3-14) ...
Setting up libperl5.24:armhf (5.24.1-3+deb9u5) ...
Setting up libnettle6:armhf (3.3-1+b2) ...
Setting up git-man (1:2.11.0-3+deb9u4) ...
Setting up libcc1-0:armhf (6.3.0-18+deb9u1) ...
Setting up make (4.1-9.1) ...
Setting up libasan3:armhf (6.3.0-18+deb9u1) ...
Setting up libnghttp2-14:armhf (1.18.1-1) ...
Setting up mime-support (3.60) ...
Setting up libldap-common (2.4.44+dfsg-5+deb9u2) ...
Setting up libreadline7:armhf (7.0-3) ...
Setting up libubsan0:armhf (6.3.0-18+deb9u1) ...
Setting up libssl-dev:armhf (1.1.0j-1~deb9u1) ...
Setting up mysql-common (5.8+1.0.2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libsasl2-modules-db:armhf (2.1.27~101-g0780600+dfsg-3) ...
Setting up linux-libc-dev:armhf (4.9.144-3.1) ...
Setting up libsasl2-2:armhf (2.1.27~101-g0780600+dfsg-3) ...
Setting up libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Setting up libtasn1-6:armhf (4.10-1.1+deb9u1) ...
Setting up bzip2 (1.0.6-8.1) ...
Setting up perl (5.24.1-3+deb9u5) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz because associated file /usr/share/man/man1/prename.1.gz (of link group rename) doesn't exist
Setting up libgmp10:armhf (2:6.1.2+dfsg-1) ...
Setting up libssh2-1:armhf (1.7.0-1+deb9u1) ...
Setting up patch (2.7.5-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up xz-utils (5.2.2-1.2+b1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libsnappy1v5:armhf (1.1.3-3) ...
Setting up openssl (1.1.0j-1~deb9u1) ...
Setting up libsqlite3-0:armhf (3.16.2-5+deb9u1) ...
Setting up libmpfr4:armhf (3.1.5-1) ...
Setting up libmpc3:armhf (1.0.3-1+b2) ...
Setting up binutils (2.28-5) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up libc-dev-bin (2.24-11+deb9u4) ...
Setting up libkeyutils1:armhf (1.5.9-9) ...
Setting up ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
151 added, 0 removed; done.
Setting up libc6-dev:armhf (2.24-11+deb9u4) ...
Setting up libidn11:armhf (1.33-1) ...
Setting up libmpdec2:armhf (2.4.2-1) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-5) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up libmariadbclient-dev (10.1.37-0+deb9u1) ...
Setting up libidn2-0:armhf (0.16-1+deb9u1) ...
Setting up libgcc-6-dev:armhf (6.3.0-18+deb9u1) ...
Setting up libstdc++-6-dev:armhf (6.3.0-18+deb9u1) ...
Setting up liberror-perl (0.17024-1) ...
Setting up libmariadbclient-dev-compat:armhf (10.1.37-0+deb9u1) ...
Setting up libpsl5:armhf (0.17.0-3) ...
Setting up libpython3.5-stdlib:armhf (3.5.3-1+deb9u1) ...
Setting up libdpkg-perl (1.18.25) ...
Setting up libffi-dev:armhf (3.2.1-6) ...
Setting up libkrb5support0:armhf (1.15-1+deb9u1) ...
Setting up libhogweed4:armhf (3.3-1+b2) ...
Setting up libisl15:armhf (0.18-1) ...
Setting up dpkg-dev (1.18.25) ...
Setting up libsnappy-dev:armhf (1.1.3-3) ...
Setting up libp11-kit0:armhf (0.23.3-2) ...
Setting up libexpat1-dev:armhf (2.2.0-2+deb9u1) ...
Setting up cpp-6 (6.3.0-18+deb9u1) ...
Setting up default-libmysqlclient-dev:armhf (1.0.2) ...
Setting up python3.5 (3.5.3-1+deb9u1) ...
Setting up libpython3-stdlib:armhf (3.5.3-1) ...
Setting up cpp (4:6.3.0-4) ...
Setting up libk5crypto3:armhf (1.15-1+deb9u1) ...
Setting up libpython3.5:armhf (3.5.3-1+deb9u1) ...
Setting up python3.5-venv (3.5.3-1+deb9u1) ...
Setting up libgnutls30:armhf (3.5.8-5+deb9u4) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-1+b1) ...
Setting up libpython3.5-dev:armhf (3.5.3-1+deb9u1) ...
Setting up gcc-6 (6.3.0-18+deb9u1) ...
Setting up g++-6 (6.3.0-18+deb9u1) ...
Setting up libldap-2.4-2:armhf (2.4.44+dfsg-5+deb9u2) ...
Setting up libkrb5-3:armhf (1.15-1+deb9u1) ...
Setting up python3.5-dev (3.5.3-1+deb9u1) ...
Setting up libpython3-dev:armhf (3.5.3-1) ...
Setting up gcc (4:6.3.0-4) ...
Setting up libgssapi-krb5-2:armhf (1.15-1+deb9u1) ...
Setting up g++ (4:6.3.0-4) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.3) ...
Setting up libcurl3-gnutls:armhf (7.52.1-5+deb9u9) ...
Setting up git (1:2.11.0-3+deb9u4) ...
Setting up python3 (3.5.3-1) ...
Setting up python3-dev (3.5.3-1) ...
Setting up python3-pkg-resources (33.1.1-1) ...
Setting up python3-virtualenv (15.1.0+ds-1) ...
Setting up python3-pip (9.0.1-2) ...
Setting up dh-python (2.20170125) ...
Setting up python3-venv (3.5.3-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container b5d0682fe58f
 ---> feda0c66ece9
Step 6/24 : USER ${COWRIE_USER}
 ---> Running in 18c2ffe63d96
Removing intermediate container 18c2ffe63d96
 ---> a08ef9452a10
Step 7/24 : RUN git clone --separate-git-dir=/tmp/cowrie.git http://github.com/cowrie/cowrie ${COWRIE_HOME}/cowrie-git &&     cd ${COWRIE_HOME} &&       python3 -m venv cowrie-env &&       . cowrie-env/bin/activate &&       pip install --no-cache-dir --upgrade pip &&       pip install --no-cache-dir --upgrade cffi &&       pip install --no-cache-dir --upgrade setuptools &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements.txt &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements-output.txt
 ---> Running in 4e286eb55671
Cloning into '/cowrie/cowrie-git'...
Collecting pip
  Downloading https://files.pythonhosted.org/packages/f9/fb/863012b13912709c13cf5cfdbfb304fa6c727659d6290438e1a88df9d848/pip-19.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-19.1
Collecting cffi
  Downloading https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz (456kB)
Collecting pycparser (from cffi)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
Installing collected packages: pycparser, cffi
  Running setup.py install for pycparser: started
    Running setup.py install for pycparser: finished with status 'done'
  Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'done'
Successfully installed cffi-1.12.3 pycparser-2.19
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
Installing collected packages: setuptools
  Found existing installation: setuptools 32.3.1
    Uninstalling setuptools-32.3.1:
      Successfully uninstalled setuptools-32.3.1
Successfully installed setuptools-41.0.1
Collecting twisted>=17.1.0 (from -r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/f8/2b/a80a70f71eb2b86992ffa5aaae41457791ae67faa70927fd16b76127c2b7/Twisted-19.2.0.tar.bz2 (3.1MB)
Collecting cryptography>=0.9.1 (from -r /cowrie/cowrie-git/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz (491kB)
  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 configparser (from -r /cowrie/cowrie-git/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/ba/05/6c96328e92e625fc31445d24d75a2c92ef9ba34fc5b037fe69693c362a0d/configparser-3.7.4-py2.py3-none-any.whl
Collecting pyopenssl (from -r /cowrie/cowrie-git/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
Collecting pyparsing (from -r /cowrie/cowrie-git/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl (62kB)
Collecting packaging (from -r /cowrie/cowrie-git/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl
Collecting appdirs>=1.4.0 (from -r /cowrie/cowrie-git/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting pyasn1_modules (from -r /cowrie/cowrie-git/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl (74kB)
Collecting attrs (from -r /cowrie/cowrie-git/requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting service_identity (from -r /cowrie/cowrie-git/requirements.txt (line 10))
  Downloading https://files.pythonhosted.org/packages/e9/7c/2195b890023e098f9618d43ebc337d83c8b38d414326685339eb024db2f6/service_identity-18.1.0-py2.py3-none-any.whl
Collecting python-dateutil (from -r /cowrie/cowrie-git/requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
Collecting tftpy (from -r /cowrie/cowrie-git/requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/15/d3/31d5b1dfa748bedcfb947f26b2e0c50483f853f698317366b84138369577/tftpy-0.8.0.tar.gz
Collecting bcrypt (from -r /cowrie/cowrie-git/requirements.txt (line 13))
  Downloading https://files.pythonhosted.org/packages/ce/3a/3d540b9f5ee8d92ce757eebacf167b9deedb8e30aedec69a2a072b2399bb/bcrypt-3.1.6.tar.gz (42kB)
  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 zope.interface>=4.4.2 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/4e/d0/c9d16bd5b38de44a20c6dc5d5ed80a49626fafcb3db9f9efdc2a19026db6/zope.interface-4.6.0.tar.gz (150kB)
Collecting constantly>=15.1 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
Collecting PyHamcrest>=1.9.0 (from twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
Collecting six>=1.4.1 (from cryptography>=0.9.1->-r /cowrie/cowrie-git/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in ./cowrie-env/lib/python3.5/site-packages (from cryptography>=0.9.1->-r /cowrie/cowrie-git/requirements.txt (line 2)) (1.12.3)
Collecting asn1crypto>=0.21.0 (from cryptography>=0.9.1->-r /cowrie/cowrie-git/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1_modules->-r /cowrie/cowrie-git/requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
Requirement already satisfied, skipping upgrade: setuptools in ./cowrie-env/lib/python3.5/site-packages (from zope.interface>=4.4.2->twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1)) (41.0.1)
Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted>=17.1.0->-r /cowrie/cowrie-git/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Requirement already satisfied, skipping upgrade: pycparser in ./cowrie-env/lib/python3.5/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=0.9.1->-r /cowrie/cowrie-git/requirements.txt (line 2)) (2.19)
Building wheels for collected packages: cryptography, bcrypt
  Building wheel for cryptography (PEP 517): started
  Building wheel for cryptography (PEP 517): still running...
  Building wheel for cryptography (PEP 517): finished with status 'done'
  Stored in directory: /tmp/pip-ephem-wheel-cache-4xy2ax61/wheels/43/61/c8/0a4464601ce180d26e0a8dfdfa88c824e419dcc65bd43bda6e
  Building wheel for bcrypt (PEP 517): started
  Building wheel for bcrypt (PEP 517): finished with status 'done'
  Stored in directory: /tmp/pip-ephem-wheel-cache-4xy2ax61/wheels/6c/f0/60/8a8ebee44d14d3d6696f1e78960500777cb5b579caf33c1fe3
Successfully built cryptography bcrypt
Installing collected packages: zope.interface, constantly, incremental, six, attrs, Automat, idna, hyperlink, PyHamcrest, twisted, asn1crypto, cryptography, configparser, pyopenssl, pyparsing, packaging, appdirs, pyasn1, pyasn1-modules, service-identity, python-dateutil, tftpy, bcrypt
  Running setup.py install for zope.interface: started
    Running setup.py install for zope.interface: finished with status 'done'
  Running setup.py install for twisted: started
    Running setup.py install for twisted: finished with status 'done'
  Running setup.py install for tftpy: started
    Running setup.py install for tftpy: finished with status 'done'
Successfully installed Automat-0.7.0 PyHamcrest-1.9.0 appdirs-1.4.3 asn1crypto-0.24.0 attrs-19.1.0 bcrypt-3.1.6 configparser-3.7.4 constantly-15.1.0 cryptography-2.6.1 hyperlink-19.0.0 idna-2.8 incremental-17.5.0 packaging-19.0 pyasn1-0.4.5 pyasn1-modules-0.2.5 pyopenssl-19.0.0 pyparsing-2.4.0 python-dateutil-2.8.0 service-identity-18.1.0 six-1.12.0 tftpy-0.8.0 twisted-19.2.0 zope.interface-4.6.0
Collecting csirtgsdk>=0.0.0a17 (from -r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/93/9c/50f6691efe3e4cea28a22588f670cb83b2ad9d41194e3e72813cc1e254b1/csirtgsdk-1.1.4.tar.gz
Collecting requests (from -r /cowrie/cowrie-git/requirements-output.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
Collecting elasticsearch (from -r /cowrie/cowrie-git/requirements-output.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/a8/27/d3a9ecd9f8f972d99da98672d4766b9f62ef64c323c40bb5e2557e538ea3/elasticsearch-7.0.0-py2.py3-none-any.whl (80kB)
Collecting hpfeeds (from -r /cowrie/cowrie-git/requirements-output.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/cf/e6/1dd7db9082d74222779b4623a0684e1519c3e87a22df1eb76daa35d0c3c0/hpfeeds-1.0.tar.gz
Collecting hpfeeds3 (from -r /cowrie/cowrie-git/requirements-output.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/0e/a2/e5bf9e80551303484a48bb2b2b451dd816dcb4687cad292cf07c6fcad1a5/hpfeeds3-0.9.8.tar.gz (42kB)
Collecting mysqlclient (from -r /cowrie/cowrie-git/requirements-output.txt (line 19))
  Downloading https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz (85kB)
Collecting pymongo (from -r /cowrie/cowrie-git/requirements-output.txt (line 23))
  Downloading https://files.pythonhosted.org/packages/19/77/da358f5729ff046ceaf6c6a86755f9d8285719f93df6da15bb2440367d7e/pymongo-3.8.0.tar.gz (649kB)
Collecting rethinkdb (from -r /cowrie/cowrie-git/requirements-output.txt (line 26))
  Downloading https://files.pythonhosted.org/packages/76/39/bb295385e334bdb7ff8e056a75273bb48abfad9a4515903f0cbf629a74f7/rethinkdb-2.4.1-py2.py3-none-any.whl (155kB)
Collecting botocore (from -r /cowrie/cowrie-git/requirements-output.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/55/a2/e0f657583e8a46fa590963f43618dc2f452dcd18ac025f1c9f86d7d00526/botocore-1.12.137-py2.py3-none-any.whl (5.4MB)
Collecting slackclient (from -r /cowrie/cowrie-git/requirements-output.txt (line 32))
  Downloading https://files.pythonhosted.org/packages/dc/1b/0756aa19e6f313e22c440a19cc72dae405bde298a091fa1556f5b2c5dc07/slackclient-1.3.1.tar.gz
Collecting influxdb (from -r /cowrie/cowrie-git/requirements-output.txt (line 35))
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/influxdb/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/b7/eb/ff503c3195c2bfcf53be1deca10396e9e7b55096ccb51ee94aef54434f33/influxdb-5.2.2-py2.py3-none-any.whl
  Downloading https://files.pythonhosted.org/packages/b7/eb/ff503c3195c2bfcf53be1deca10396e9e7b55096ccb51ee94aef54434f33/influxdb-5.2.2-py2.py3-none-any.whl (70kB)
Collecting afkak (from -r /cowrie/cowrie-git/requirements-output.txt (line 38))
  Downloading https://files.pythonhosted.org/packages/8f/cc/8056c995028c2391d58ea8bda6587563a1849087389580531f8aa40537d5/afkak-3.0.0-py2.py3-none-any.whl (142kB)
Collecting python-snappy (from -r /cowrie/cowrie-git/requirements-output.txt (line 39))
  Downloading https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be/python-snappy-0.5.4.tar.gz
Collecting wokkel==18.0.0rc5 (from -r /cowrie/cowrie-git/requirements-output.txt (line 43))
  Downloading https://files.pythonhosted.org/packages/96/1a/128b7fe0c7a0c9d2b01d05b5c215d3bcfcbb7004bdc22e9cf0f5f8212463/wokkel-18.0.0rc5-py2.py3-none-any.whl (130kB)
Collecting prettytable (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2
Collecting pyyaml (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d/PyYAML-5.1.tar.gz (274kB)
Collecting tailer (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/dd/05/01de24d6393d6da0c27857c76b0f9ae97b42cd6102bbdf76cce95e031295/tailer-0.4.1.tar.gz
Collecting arrow (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/f4/7f/0360628ba40bb93c10cd89cd289b6a8e9ea87b2db884b8edf32c80ee1c73/arrow-0.13.1-py2.py3-none-any.whl
Collecting csirtg_indicator (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/56/b0/ae0aed6f534ff4f53997dc96ea8b927a38dcfa4fbb89c3cee61ded0756db/csirtg_indicator-1.0.3.tar.gz
Collecting websocket-client (from csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
Collecting certifi>=2017.4.17 (from requests->-r /cowrie/cowrie-git/requirements-output.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
Collecting urllib3<1.25,>=1.21.1 (from requests->-r /cowrie/cowrie-git/requirements-output.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/df/1c/59cca3abf96f991f2ec3131a4ffe72ae3d9ea1f5894abe8a9c5e3c77cfee/urllib3-1.24.2-py2.py3-none-any.whl (131kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests->-r /cowrie/cowrie-git/requirements-output.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in ./cowrie-env/lib/python3.5/site-packages (from requests->-r /cowrie/cowrie-git/requirements-output.txt (line 5)) (2.8)
Requirement already satisfied, skipping upgrade: six in ./cowrie-env/lib/python3.5/site-packages (from rethinkdb->-r /cowrie/cowrie-git/requirements-output.txt (line 26)) (1.12.0)
Collecting jmespath<1.0.0,>=0.7.1 (from botocore->-r /cowrie/cowrie-git/requirements-output.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in ./cowrie-env/lib/python3.5/site-packages (from botocore->-r /cowrie/cowrie-git/requirements-output.txt (line 29)) (2.8.0)
Collecting docutils>=0.10 (from botocore->-r /cowrie/cowrie-git/requirements-output.txt (line 29))
  Downloading https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl (543kB)
Collecting pytz (from influxdb->-r /cowrie/cowrie-git/requirements-output.txt (line 35))
  Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
Requirement already satisfied, skipping upgrade: Twisted>=18.7.0 in ./cowrie-env/lib/python3.5/site-packages (from afkak->-r /cowrie/cowrie-git/requirements-output.txt (line 38)) (19.2.0)
Requirement already satisfied, skipping upgrade: incremental>=16.9.0 in ./cowrie-env/lib/python3.5/site-packages (from wokkel==18.0.0rc5->-r /cowrie/cowrie-git/requirements-output.txt (line 43)) (17.5.0)
Collecting pytricia>=0.9.0 (from csirtg_indicator->csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/29/9f/46599afa93b176236cd0fdae591705ef6b4c28fcb8efbd98a69e61e00a5a/pytricia-1.0.0.tar.gz
Collecting ipaddress>=1.0.16 (from csirtg_indicator->csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting pendulum>=0.5.2 (from csirtg_indicator->csirtgsdk>=0.0.0a17->-r /cowrie/cowrie-git/requirements-output.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/5b/57/71fc910edcd937b72aa0ef51c8f5734fbd8c011fa1480fce881433847ec8/pendulum-2.0.4.tar.gz (75kB)
  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'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'
    ERROR: Complete output from command /cowrie/cowrie-env/bin/python3 /cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp1cpk_lg3:
    ERROR: Traceback (most recent call last):
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
        main()
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
        return hook(metadata_directory, config_settings)
      File "/tmp/pip-build-env-7cpsuwt0/overlay/lib/python3.5/site-packages/poetry/masonry/api.py", line 49, in prepare_metadata_for_build_wheel
        builder._write_metadata_file(f)
      File "/tmp/pip-build-env-7cpsuwt0/overlay/lib/python3.5/site-packages/poetry/masonry/builders/wheel.py", line 314, in _write_metadata_file
        fp.write(decode(self.get_metadata_content()))
    UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 178: ordinal not in range(128)
    ----------------------------------------
ERROR: Command "/cowrie/cowrie-env/bin/python3 /cowrie/cowrie-env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp1cpk_lg3" failed with error code 1 in /tmp/pip-install-aelkr25i/pendulum
The command '/bin/sh -c git clone --separate-git-dir=/tmp/cowrie.git http://github.com/cowrie/cowrie ${COWRIE_HOME}/cowrie-git &&     cd ${COWRIE_HOME} &&       python3 -m venv cowrie-env &&       . cowrie-env/bin/activate &&       pip install --no-cache-dir --upgrade pip &&       pip install --no-cache-dir --upgrade cffi &&       pip install --no-cache-dir --upgrade setuptools &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements.txt &&       pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements-output.txt' returned a non-zero code: 1
Makefile:10: recipe for target 'build' failed
make: *** [build] Error 1
pi@raspi1:~/cowrie $ 

Should I do anything else than cloning the repo and typing "make all"?

@micheloosterhof
Copy link
Member

It seems to be an upstream issue. Connected maybe to your locale settings, see python-poetry/poetry#1030

@micheloosterhof
Copy link
Member

Workarounds are to set your locale to UTF-8, something like export LC_ALL=en_US.UTF-8, or wait until it's resolved :)

@mboehm21
Copy link
Author

I tried to put the locale into the ENV-Statements in the Dockerfile but it did not work. Please tell me when it's fixed from your site, then I will try again.

Again, it would be most accessible if you could provide the ARM-image at the Dockerhub with auto-detection of the architecture.

@micheloosterhof
Copy link
Member

micheloosterhof commented Apr 28, 2019 via email

@sereysethy
Copy link
Contributor

I think you need to change the local first, I remembered I did that before I start the installation

$ sudo raspi-config"

# choose localse and select en_US.UTF-8

@mboehm21
Copy link
Author

mboehm21 commented Apr 29, 2019

Hi everyone. The build worked after adding a few locales-things to the Dockerfile:

# This Dockerfile contains two images, `builder` and `runtime`.
# `builder` contains all necessary code to build
# `runtime` is stripped down.

FROM debian:stretch-slim as builder
LABEL maintainer="Michel Oosterhof <michel@oosterhof.net>"

ENV COWRIE_GROUP=cowrie \
    COWRIE_USER=cowrie \
    COWRIE_HOME=/cowrie

RUN groupadd -r -g 1000 ${COWRIE_GROUP} && \
    useradd -r -u 1000 -d ${COWRIE_HOME} -m -g ${COWRIE_GROUP} ${COWRIE_USER}

# Set up Debian prereqs
RUN export DEBIAN_FRONTEND=noninteractive; \
    apt-get update && \
    apt-get install -y \
        -o APT::Install-Suggests=false \
        -o APT::Install-Recommends=false \
      python3-pip \
      locales \
      locales-all \
      libssl-dev \
      libffi-dev \
      python3-dev \
      python3-venv \
      python3 \
      gcc \
      git \
      build-essential \
      python3-virtualenv \
      libsnappy-dev \
      default-libmysqlclient-dev && \
    rm -rf /var/lib/apt/lists/*

    ENV LC_ALL=en_US.UTF-8 \
    LANG=en_US.UTF-8 \
    LANGUAGE=en_US.UTF-8

# Build a cowrie environment from github master HEAD.

USER ${COWRIE_USER}

RUN git clone --separate-git-dir=/tmp/cowrie.git http://github.com/cowrie/cowrie ${COWRIE_HOME}/cowrie-git && \
    cd ${COWRIE_HOME} && \
      python3 -m venv cowrie-env && \
      . cowrie-env/bin/activate && \
      pip install --no-cache-dir --upgrade pip && \
      pip install --no-cache-dir --upgrade cffi && \
      pip install --no-cache-dir --upgrade setuptools && \
      pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements.txt && \
      pip install --no-cache-dir --upgrade -r ${COWRIE_HOME}/cowrie-git/requirements-output.txt

FROM debian:stretch-slim AS runtime
LABEL maintainer="Michel Oosterhof <michel@oosterhof.net>"

ENV COWRIE_GROUP=cowrie \
    COWRIE_USER=cowrie \
    COWRIE_HOME=/cowrie

RUN groupadd -r -g 1000 ${COWRIE_GROUP} && \
    useradd -r -u 1000 -d ${COWRIE_HOME} -m -g ${COWRIE_GROUP} ${COWRIE_USER}

RUN export DEBIAN_FRONTEND=noninteractive; \
    apt-get update && \
    apt-get install -y \
        -o APT::Install-Suggests=false \
        -o APT::Install-Recommends=false \
      libssl1.1 \
      libffi6 \
      procps \
      python3 && \
    rm -rf /var/lib/apt/lists/* && \
    ln -s /usr/bin/python3 /usr/local/bin/python

COPY --from=builder ${COWRIE_HOME} ${COWRIE_HOME}
RUN chown -R ${COWRIE_USER}:${COWRIE_GROUP} ${COWRIE_HOME}

ENV PATH=${COWRIE_HOME}/cowrie-git/bin:${PATH}
ENV STDOUT=yes

USER ${COWRIE_USER}
WORKDIR ${COWRIE_HOME}/cowrie-git

# preserve .dist file when etc/ volume is mounted
RUN cp ${COWRIE_HOME}/cowrie-git/etc/cowrie.cfg.dist ${COWRIE_HOME}/cowrie-git
VOLUME [ "/cowrie/cowrie-git/var", "/cowrie/cowrie-git/etc" ]
RUN mv ${COWRIE_HOME}/cowrie-git/cowrie.cfg.dist ${COWRIE_HOME}/cowrie-git/etc

ENTRYPOINT [ "cowrie" ]
CMD [ "start", "-n" ]
EXPOSE 2222 2223

@micheloosterhof
Copy link
Member

I put the ENV statements in the Dockerfile for docker-cowrie repository. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants