SuperSandro2000 / fritzcollectd-docker

An end-user Docker Image for fritzcollectd
https://github.com/fetzerch/fritzcollectd
MIT License
2 stars 2 forks source link

Building fails on Raspberry OS #2

Closed okunze closed 4 years ago

okunze commented 4 years ago

Hi,

i'm trying to build the docker image on a Raspberry Pi 4, but get an error message during the build process:

Collecting lxml==4.5.1 (from fritzconnection<1.0.0,>=0.8.0->fritzcollectd)
  Downloading https://files.pythonhosted.org/packages/03/a8/73d795778143be51d8b86750b371b3efcd7139987f71618ad9f4b8b65543/lxml-4.5.1.tar.gz (4.5MB)
    Complete output from command python setup.py egg_info:
    Building lxml version 4.5.1.
    Building without Cython.
    Error: Please make sure the libxml2 and libxslt development packages are installed.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-nN_9iJ/lxml/
The command '/bin/sh -c apt-get update -q   && apt-get install --no-install-recommends -qy collectd libpython2.7 python-pip python-setuptools python-wheel   && pip install fritzcollectd   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1

I have tried to fix the bug by adding the packages

libxml2-dev libxslt-dev python-dev

but without success. There are only more error messages where I can't get any further (I am not linux expert).

Has anyone already got the Dockerfile running on a Raspberry Pi and can help me here? Thank you very much in advance.

Environment

pi@raspberrypi:/docker/fritzcollectd-docker $ docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a6621
 Built:             Mon Jun 22 15:53:41 2020
 OS/Arch:           linux/arm
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a6621
  Built:            Mon Jun 22 15:47:34 2020
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Complete Log

Sending build context to Docker daemon  69.04MB
Step 1/4 : FROM debian:buster
 ---> 808b13323d0b
Step 2/4 : RUN apt-get update -q   && apt-get install --no-install-recommends -qy collectd libpython2.7 python-pip python-setuptools python-wheel   && pip install fritzcollectd   && rm -rf /var/lib/apt/lists/*
 ---> Running in b1ef6a71ff31
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main armhf Packages [206 kB]
Get:5 http://deb.debian.org/debian buster/main armhf Packages [7697 kB]
Get:6 http://deb.debian.org/debian buster-updates/main armhf Packages [7848 B]
Fetched 8150 kB in 5s (1490 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  ca-certificates collectd-core fontconfig fontconfig-config fonts-dejavu-core
  libbsd0 libcairo2 libdatrie1 libdbi1 libexpat1 libfontconfig1 libfreetype6
  libfribidi0 libglib2.0-0 libgraphite2-3 libharfbuzz0b libicu63
  libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0
  libpng16-16 libpython-stdlib libpython2-stdlib libpython2.7-minimal
  libpython2.7-stdlib libreadline7 librrd8 libsqlite3-0 libssl1.1 libthai-data
  libthai0 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1
  libxdmcp6 libxext6 libxml2 libxrender1 lsb-base mime-support openssl python
  python-minimal python-pip-whl python-pkg-resources python2 python2-minimal
  python2.7 python2.7-minimal readline-common sensible-utils ucf
Suggested packages:
  collectd-dev librrds-perl liburi-perl libhtml-parser-perl
  libregexp-common-perl libconfig-general-perl httpd-cgi apache2 apcupsd bind9
  ceph chrony default-mysql-server gpsd hddtemp iptables ipvsadm lm-sensors
  mbmon memcached nginx notification-daemon nut openvpn olsrd pdns-server
  postgresql redis-server slapd time-daemon varnish zookeeper libatasmart4
  libcurl3-gnutls libesmtp6 libganglia1 libgdk-pixbuf2.0-0 libgps23 libgrpc++1
  libhiredis0.14 libi2c0 libip4tc0 libip6tc0 libldap-2.4-2 liblua5.3-0
  libmariadb3 libmemcached11 libmicrohttpd12 libmodbus5 libmosquitto1
  libnotify4 libnspr4 libnss3 libopenipmi0 liboping0 libowcapi-3.2-3
  libpcap0.8 libperl5.28 libpq5 libprotobuf-c1 libprotobuf17 librabbitmq4
  librdkafka1 libriemann-client0 libsensors5 libsnmp30 libtokyotyrant3
  libupsclient4 libvarnishapi2 libvirt0 libxenmisc4.11 libyajl2
  default-jre-headless python-doc python-tk python-setuptools-doc python2-doc
  python2.7-doc binutils binfmt-support readline-doc
Recommended packages:
  libatasmart4 libcurl3-gnutls libesmtp6 libganglia1 libgdk-pixbuf2.0-0
  libgps23 libgrpc++1 libhiredis0.14 libi2c0 libip4tc0 libip6tc0 libldap-2.4-2
  liblua5.3-0 libmariadb3 libmemcached11 libmicrohttpd12 libmodbus5
  libmosquitto1 libnotify4 libnspr4 libnss3 libopenipmi0 liboping0
  libowcapi-3.2-3 libpcap0.8 libperl5.28 libpq5 libprotobuf-c1 libprotobuf17
  librabbitmq4 librdkafka1 libriemann-client0 libsensors5 libsnmp30
  libtokyotyrant3 libupsclient4 libvarnishapi2 libvirt0 libxenmisc4.11
  libyajl2 default-jre-headless perl rrdtool libglib2.0-data shared-mime-info
  xdg-user-dirs bzip2 file xz-utils build-essential python-all-dev
  python-keyring python-keyrings.alt python-xdg
The following NEW packages will be installed:
  ca-certificates collectd collectd-core fontconfig fontconfig-config
  fonts-dejavu-core libbsd0 libcairo2 libdatrie1 libdbi1 libexpat1
  libfontconfig1 libfreetype6 libfribidi0 libglib2.0-0 libgraphite2-3
  libharfbuzz0b libicu63 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpixman-1-0 libpng16-16 libpython-stdlib libpython2-stdlib libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libreadline7 librrd8 libsqlite3-0
  libssl1.1 libthai-data libthai0 libx11-6 libx11-data libxau6 libxcb-render0
  libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxrender1 lsb-base
  mime-support openssl python python-minimal python-pip python-pip-whl
  python-pkg-resources python-setuptools python-wheel python2 python2-minimal
  python2.7 python2.7-minimal readline-common sensible-utils ucf
0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.7 MB of archives.
After this operation, 81.1 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main armhf libpython2.7-minimal armhf 2.7.16-2+deb10u1 [395 kB]
Get:2 http://deb.debian.org/debian buster/main armhf python2.7-minimal armhf 2.7.16-2+deb10u1 [1171 kB]
Get:3 http://deb.debian.org/debian buster/main armhf python2-minimal armhf 2.7.16-1 [41.4 kB]
Get:4 http://deb.debian.org/debian buster/main armhf python-minimal armhf 2.7.16-1 [21.0 kB]
Get:5 http://deb.debian.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u3 [1299 kB]
Get:6 http://deb.debian.org/debian buster/main armhf mime-support all 3.62 [37.2 kB]
Get:7 http://deb.debian.org/debian buster/main armhf libexpat1 armhf 2.2.6-2+deb10u1 [78.0 kB]
Get:8 http://deb.debian.org/debian buster/main armhf readline-common all 7.0-5 [70.6 kB]
Get:9 http://deb.debian.org/debian buster/main armhf libreadline7 armhf 7.0-5 [131 kB]
Get:10 http://deb.debian.org/debian buster/main armhf libsqlite3-0 armhf 3.27.2-3 [560 kB]
Get:11 http://deb.debian.org/debian buster/main armhf libpython2.7-stdlib armhf 2.7.16-2+deb10u1 [1837 kB]
Get:12 http://deb.debian.org/debian buster/main armhf python2.7 armhf 2.7.16-2+deb10u1 [305 kB]
Get:13 http://deb.debian.org/debian buster/main armhf libpython2-stdlib armhf 2.7.16-1 [20.8 kB]
Get:14 http://deb.debian.org/debian buster/main armhf libpython-stdlib armhf 2.7.16-1 [20.8 kB]
Get:15 http://deb.debian.org/debian buster/main armhf python2 armhf 2.7.16-1 [41.6 kB]
Get:16 http://deb.debian.org/debian buster/main armhf python armhf 2.7.16-1 [22.8 kB]
Get:17 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB]
Get:18 http://deb.debian.org/debian buster/main armhf ucf all 3.0038+nmu1 [69.0 kB]
Get:19 http://deb.debian.org/debian buster/main armhf openssl armhf 1.1.1d-0+deb10u3 [818 kB]
Get:20 http://deb.debian.org/debian buster-updates/main armhf ca-certificates all 20200601~deb10u1 [158 kB]
Get:21 http://deb.debian.org/debian buster/main armhf lsb-base all 10.2019051400 [28.4 kB]
Get:22 http://deb.debian.org/debian buster/main armhf collectd-core armhf 5.8.1-1.3 [1056 kB]
Get:23 http://deb.debian.org/debian buster/main armhf libpng16-16 armhf 1.6.36-6 [275 kB]
Get:24 http://deb.debian.org/debian buster/main armhf libfreetype6 armhf 2.9.1-3+deb10u1 [322 kB]
Get:25 http://deb.debian.org/debian buster/main armhf fonts-dejavu-core all 2.37-1 [1068 kB]
Get:26 http://deb.debian.org/debian buster/main armhf fontconfig-config all 2.13.1-2 [280 kB]
Get:27 http://deb.debian.org/debian buster/main armhf libfontconfig1 armhf 2.13.1-2 [328 kB]
Get:28 http://deb.debian.org/debian buster/main armhf libpixman-1-0 armhf 0.36.0-1 [465 kB]
Get:29 http://deb.debian.org/debian buster/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
Get:30 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB]
Get:31 http://deb.debian.org/debian buster/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
Get:32 http://deb.debian.org/debian buster/main armhf libxcb1 armhf 1.13.1-2 [132 kB]
Get:33 http://deb.debian.org/debian buster/main armhf libx11-data all 2:1.6.7-1 [298 kB]
Get:34 http://deb.debian.org/debian buster/main armhf libx11-6 armhf 2:1.6.7-1 [698 kB]
Get:35 http://deb.debian.org/debian buster/main armhf libxcb-render0 armhf 1.13.1-2 [108 kB]
Get:36 http://deb.debian.org/debian buster/main armhf libxcb-shm0 armhf 1.13.1-2 [99.0 kB]
Get:37 http://deb.debian.org/debian buster/main armhf libxext6 armhf 2:1.3.3-1+b2 [48.1 kB]
Get:38 http://deb.debian.org/debian buster/main armhf libxrender1 armhf 1:0.9.10-1 [29.9 kB]
Get:39 http://deb.debian.org/debian buster/main armhf libcairo2 armhf 1.16.0-4 [616 kB]
Get:40 http://deb.debian.org/debian buster/main armhf libdbi1 armhf 0.9.0-5 [27.0 kB]
Get:41 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB]
Get:42 http://deb.debian.org/debian buster/main armhf fontconfig armhf 2.13.1-2 [404 kB]
Get:43 http://deb.debian.org/debian buster/main armhf libfribidi0 armhf 1.0.5-3.1+deb10u1 [61.7 kB]
Get:44 http://deb.debian.org/debian buster/main armhf libthai-data all 0.1.28-2 [170 kB]
Get:45 http://deb.debian.org/debian buster/main armhf libdatrie1 armhf 0.2.12-2 [35.8 kB]
Get:46 http://deb.debian.org/debian buster/main armhf libthai0 armhf 0.1.28-2 [50.7 kB]
Get:47 http://deb.debian.org/debian buster/main armhf libpango-1.0-0 armhf 1.42.4-8~deb10u1 [169 kB]
Get:48 http://deb.debian.org/debian buster/main armhf libgraphite2-3 armhf 1.3.13-7 [70.3 kB]
Get:49 http://deb.debian.org/debian buster/main armhf libharfbuzz0b armhf 2.3.1-1 [1151 kB]
Get:50 http://deb.debian.org/debian buster/main armhf libpangoft2-1.0-0 armhf 1.42.4-8~deb10u1 [62.7 kB]
Get:51 http://deb.debian.org/debian buster/main armhf libpangocairo-1.0-0 armhf 1.42.4-8~deb10u1 [52.2 kB]
Get:52 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB]
Get:53 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB]
Get:54 http://deb.debian.org/debian buster/main armhf librrd8 armhf 1.7.1-2 [234 kB]
Get:55 http://deb.debian.org/debian buster/main armhf collectd armhf 5.8.1-1.3 [122 kB]
Get:56 http://deb.debian.org/debian buster/main armhf libpython2.7 armhf 2.7.16-2+deb10u1 [892 kB]
Get:57 http://deb.debian.org/debian buster/main armhf python-pip-whl all 18.1-5 [1591 kB]
Get:58 http://deb.debian.org/debian buster/main armhf python-pip all 18.1-5 [215 kB]
Get:59 http://deb.debian.org/debian buster/main armhf python-pkg-resources all 40.8.0-1 [182 kB]
Get:60 http://deb.debian.org/debian buster/main armhf python-setuptools all 40.8.0-1 [382 kB]
Get:61 http://deb.debian.org/debian buster/main armhf python-wheel all 0.32.3-2 [19.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 28.7 MB in 7s (3837 kB/s)
Selecting previously unselected package libpython2.7-minimal:armhf.
(Reading database ... 6671 files and directories currently installed.)
Preparing to unpack .../00-libpython2.7-minimal_2.7.16-2+deb10u1_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.16-2+deb10u1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../01-python2.7-minimal_2.7.16-2+deb10u1_armhf.deb ...
Unpacking python2.7-minimal (2.7.16-2+deb10u1) ...
Selecting previously unselected package python2-minimal.
Preparing to unpack .../02-python2-minimal_2.7.16-1_armhf.deb ...
Unpacking python2-minimal (2.7.16-1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../03-python-minimal_2.7.16-1_armhf.deb ...
Unpacking python-minimal (2.7.16-1) ...
Selecting previously unselected package libssl1.1:armhf.
Preparing to unpack .../04-libssl1.1_1.1.1d-0+deb10u3_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.1d-0+deb10u3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../05-mime-support_3.62_all.deb ...
Unpacking mime-support (3.62) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../06-libexpat1_2.2.6-2+deb10u1_armhf.deb ...
Unpacking libexpat1:armhf (2.2.6-2+deb10u1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../07-readline-common_7.0-5_all.deb ...
Unpacking readline-common (7.0-5) ...
Selecting previously unselected package libreadline7:armhf.
Preparing to unpack .../08-libreadline7_7.0-5_armhf.deb ...
Unpacking libreadline7:armhf (7.0-5) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../09-libsqlite3-0_3.27.2-3_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.27.2-3) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../10-libpython2.7-stdlib_2.7.16-2+deb10u1_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.16-2+deb10u1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../11-python2.7_2.7.16-2+deb10u1_armhf.deb ...
Unpacking python2.7 (2.7.16-2+deb10u1) ...
Selecting previously unselected package libpython2-stdlib:armhf.
Preparing to unpack .../12-libpython2-stdlib_2.7.16-1_armhf.deb ...
Unpacking libpython2-stdlib:armhf (2.7.16-1) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../13-libpython-stdlib_2.7.16-1_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.16-1) ...
Setting up libpython2.7-minimal:armhf (2.7.16-2+deb10u1) ...
Setting up python2.7-minimal (2.7.16-2+deb10u1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python2-minimal (2.7.16-1) ...
Selecting previously unselected package python2.
(Reading database ... 7510 files and directories currently installed.)
Preparing to unpack .../python2_2.7.16-1_armhf.deb ...
Unpacking python2 (2.7.16-1) ...
Setting up python-minimal (2.7.16-1) ...
Selecting previously unselected package python.
(Reading database ... 7543 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.16-1_armhf.deb ...
Unpacking python (2.7.16-1) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ...
Unpacking sensible-utils (0.0.12) ...
Selecting previously unselected package ucf.
Preparing to unpack .../02-ucf_3.0038+nmu1_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0038+nmu1) ...
Selecting previously unselected package openssl.
Preparing to unpack .../03-openssl_1.1.1d-0+deb10u3_armhf.deb ...
Unpacking openssl (1.1.1d-0+deb10u3) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../04-ca-certificates_20200601~deb10u1_all.deb ...
Unpacking ca-certificates (20200601~deb10u1) ...
Selecting previously unselected package lsb-base.
Preparing to unpack .../05-lsb-base_10.2019051400_all.deb ...
Unpacking lsb-base (10.2019051400) ...
Selecting previously unselected package collectd-core.
Preparing to unpack .../06-collectd-core_5.8.1-1.3_armhf.deb ...
Unpacking collectd-core (5.8.1-1.3) ...
Selecting previously unselected package libpng16-16:armhf.
Preparing to unpack .../07-libpng16-16_1.6.36-6_armhf.deb ...
Unpacking libpng16-16:armhf (1.6.36-6) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../08-libfreetype6_2.9.1-3+deb10u1_armhf.deb ...
Unpacking libfreetype6:armhf (2.9.1-3+deb10u1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../09-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../10-fontconfig-config_2.13.1-2_all.deb ...
Unpacking fontconfig-config (2.13.1-2) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../11-libfontconfig1_2.13.1-2_armhf.deb ...
Unpacking libfontconfig1:armhf (2.13.1-2) ...
Selecting previously unselected package libpixman-1-0:armhf.
Preparing to unpack .../12-libpixman-1-0_0.36.0-1_armhf.deb ...
Unpacking libpixman-1-0:armhf (0.36.0-1) ...
Selecting previously unselected package libxau6:armhf.
Preparing to unpack .../13-libxau6_1%3a1.0.8-1+b2_armhf.deb ...
Unpacking libxau6:armhf (1:1.0.8-1+b2) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../14-libbsd0_0.9.1-2_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-2) ...
Selecting previously unselected package libxdmcp6:armhf.
Preparing to unpack .../15-libxdmcp6_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp6:armhf (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:armhf.
Preparing to unpack .../16-libxcb1_1.13.1-2_armhf.deb ...
Unpacking libxcb1:armhf (1.13.1-2) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../17-libx11-data_2%3a1.6.7-1_all.deb ...
Unpacking libx11-data (2:1.6.7-1) ...
Selecting previously unselected package libx11-6:armhf.
Preparing to unpack .../18-libx11-6_2%3a1.6.7-1_armhf.deb ...
Unpacking libx11-6:armhf (2:1.6.7-1) ...
Selecting previously unselected package libxcb-render0:armhf.
Preparing to unpack .../19-libxcb-render0_1.13.1-2_armhf.deb ...
Unpacking libxcb-render0:armhf (1.13.1-2) ...
Selecting previously unselected package libxcb-shm0:armhf.
Preparing to unpack .../20-libxcb-shm0_1.13.1-2_armhf.deb ...
Unpacking libxcb-shm0:armhf (1.13.1-2) ...
Selecting previously unselected package libxext6:armhf.
Preparing to unpack .../21-libxext6_2%3a1.3.3-1+b2_armhf.deb ...
Unpacking libxext6:armhf (2:1.3.3-1+b2) ...
Selecting previously unselected package libxrender1:armhf.
Preparing to unpack .../22-libxrender1_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender1:armhf (1:0.9.10-1) ...
Selecting previously unselected package libcairo2:armhf.
Preparing to unpack .../23-libcairo2_1.16.0-4_armhf.deb ...
Unpacking libcairo2:armhf (1.16.0-4) ...
Selecting previously unselected package libdbi1:armhf.
Preparing to unpack .../24-libdbi1_0.9.0-5_armhf.deb ...
Unpacking libdbi1:armhf (0.9.0-5) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../25-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../26-fontconfig_2.13.1-2_armhf.deb ...
Unpacking fontconfig (2.13.1-2) ...
Selecting previously unselected package libfribidi0:armhf.
Preparing to unpack .../27-libfribidi0_1.0.5-3.1+deb10u1_armhf.deb ...
Unpacking libfribidi0:armhf (1.0.5-3.1+deb10u1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../28-libthai-data_0.1.28-2_all.deb ...
Unpacking libthai-data (0.1.28-2) ...
Selecting previously unselected package libdatrie1:armhf.
Preparing to unpack .../29-libdatrie1_0.2.12-2_armhf.deb ...
Unpacking libdatrie1:armhf (0.2.12-2) ...
Selecting previously unselected package libthai0:armhf.
Preparing to unpack .../30-libthai0_0.1.28-2_armhf.deb ...
Unpacking libthai0:armhf (0.1.28-2) ...
Selecting previously unselected package libpango-1.0-0:armhf.
Preparing to unpack .../31-libpango-1.0-0_1.42.4-8~deb10u1_armhf.deb ...
Unpacking libpango-1.0-0:armhf (1.42.4-8~deb10u1) ...
Selecting previously unselected package libgraphite2-3:armhf.
Preparing to unpack .../32-libgraphite2-3_1.3.13-7_armhf.deb ...
Unpacking libgraphite2-3:armhf (1.3.13-7) ...
Selecting previously unselected package libharfbuzz0b:armhf.
Preparing to unpack .../33-libharfbuzz0b_2.3.1-1_armhf.deb ...
Unpacking libharfbuzz0b:armhf (2.3.1-1) ...
Selecting previously unselected package libpangoft2-1.0-0:armhf.
Preparing to unpack .../34-libpangoft2-1.0-0_1.42.4-8~deb10u1_armhf.deb ...
Unpacking libpangoft2-1.0-0:armhf (1.42.4-8~deb10u1) ...
Selecting previously unselected package libpangocairo-1.0-0:armhf.
Preparing to unpack .../35-libpangocairo-1.0-0_1.42.4-8~deb10u1_armhf.deb ...
Unpacking libpangocairo-1.0-0:armhf (1.42.4-8~deb10u1) ...
Selecting previously unselected package libicu63:armhf.
Preparing to unpack .../36-libicu63_63.1-6+deb10u1_armhf.deb ...
Unpacking libicu63:armhf (63.1-6+deb10u1) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../37-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ...
Selecting previously unselected package librrd8:armhf.
Preparing to unpack .../38-librrd8_1.7.1-2_armhf.deb ...
Unpacking librrd8:armhf (1.7.1-2) ...
Selecting previously unselected package collectd.
Preparing to unpack .../39-collectd_5.8.1-1.3_armhf.deb ...
Unpacking collectd (5.8.1-1.3) ...
Selecting previously unselected package libpython2.7:armhf.
Preparing to unpack .../40-libpython2.7_2.7.16-2+deb10u1_armhf.deb ...
Unpacking libpython2.7:armhf (2.7.16-2+deb10u1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../41-python-pip-whl_18.1-5_all.deb ...
Unpacking python-pip-whl (18.1-5) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../42-python-pip_18.1-5_all.deb ...
Unpacking python-pip (18.1-5) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../43-python-pkg-resources_40.8.0-1_all.deb ...
Unpacking python-pkg-resources (40.8.0-1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../44-python-setuptools_40.8.0-1_all.deb ...
Unpacking python-setuptools (40.8.0-1) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../45-python-wheel_0.32.3-2_all.deb ...
Unpacking python-wheel (0.32.3-2) ...
Setting up libexpat1:armhf (2.2.6-2+deb10u1) ...
Setting up libgraphite2-3:armhf (1.3.13-7) ...
Setting up libpixman-1-0:armhf (0.36.0-1) ...
Setting up lsb-base (10.2019051400) ...
Setting up libxau6:armhf (1:1.0.8-1+b2) ...
Setting up mime-support (3.62) ...
Setting up libdbi1:armhf (0.9.0-5) ...
Setting up collectd-core (5.8.1-1.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libdatrie1:armhf (0.2.12-2) ...
Setting up libglib2.0-0:armhf (2.58.3-2+deb10u2) ...
No schema files found: doing nothing.
Setting up libssl1.1:armhf (1.1.1d-0+deb10u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libsqlite3-0:armhf (3.27.2-3) ...
Setting up libicu63:armhf (63.1-6+deb10u1) ...
Setting up libx11-data (2:1.6.7-1) ...
Setting up libfribidi0:armhf (1.0.5-3.1+deb10u1) ...
Setting up libpng16-16:armhf (1.6.36-6) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up sensible-utils (0.0.12) ...
Setting up libthai-data (0.1.28-2) ...
Setting up openssl (1.1.1d-0+deb10u3) ...
Setting up libbsd0:armhf (0.9.1-2) ...
Setting up readline-common (7.0-5) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7+b3) ...
Setting up libreadline7:armhf (7.0-5) ...
Setting up libxdmcp6:armhf (1:1.1.2-3) ...
Setting up libxcb1:armhf (1.13.1-2) ...
Setting up libxcb-render0:armhf (1.13.1-2) ...
Setting up libxcb-shm0:armhf (1.13.1-2) ...
Setting up libpython2.7-stdlib:armhf (2.7.16-2+deb10u1) ...
Setting up libthai0:armhf (0.1.28-2) ...
Setting up ca-certificates (20200601~deb10u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
126 added, 0 removed; done.
Setting up libfreetype6:armhf (2.9.1-3+deb10u1) ...
Setting up ucf (3.0038+nmu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libx11-6:armhf (2:1.6.7-1) ...
Setting up libharfbuzz0b:armhf (2.3.1-1) ...
Setting up python-pip-whl (18.1-5) ...
Setting up libpython2.7:armhf (2.7.16-2+deb10u1) ...
Setting up python2.7 (2.7.16-2+deb10u1) ...
Setting up libxrender1:armhf (1:0.9.10-1) ...
Setting up libpython2-stdlib:armhf (2.7.16-1) ...
Setting up fontconfig-config (2.13.1-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libxext6:armhf (2:1.3.3-1+b2) ...
Setting up python2 (2.7.16-1) ...
Setting up libpython-stdlib:armhf (2.7.16-1) ...
Setting up libfontconfig1:armhf (2.13.1-2) ...
Setting up python (2.7.16-1) ...
Setting up fontconfig (2.13.1-2) ...
Regenerating fonts cache... done.
Setting up python-wheel (0.32.3-2) ...
Setting up python-pkg-resources (40.8.0-1) ...
Setting up libpango-1.0-0:armhf (1.42.4-8~deb10u1) ...
Setting up libcairo2:armhf (1.16.0-4) ...
Setting up python-pip (18.1-5) ...
Setting up python-setuptools (40.8.0-1) ...
Setting up libpangoft2-1.0-0:armhf (1.42.4-8~deb10u1) ...
Setting up libpangocairo-1.0-0:armhf (1.42.4-8~deb10u1) ...
Setting up librrd8:armhf (1.7.1-2) ...
Setting up collectd (5.8.1-1.3) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for ca-certificates (20200601~deb10u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Collecting fritzcollectd
  Downloading https://files.pythonhosted.org/packages/63/7f/b34ad7e8bcd47f884a394a11d9b68e31d1910ab52fb406085c946cf48383/fritzcollectd-0.7.0.tar.gz
Collecting fritzconnection<1.0.0,>=0.8.0 (from fritzcollectd)
  Downloading https://files.pythonhosted.org/packages/68/d3/ec3108265ee11dca093b7b2a631ed343451812d5a1ff2f5340466e5d4d6c/fritzconnection-0.8.5.tar.gz
Collecting pbr (from fritzcollectd)
  Downloading https://files.pythonhosted.org/packages/96/ba/aa953a11ec014b23df057ecdbc922fdb40ca8463466b1193f3367d2711a6/pbr-5.4.5-py2.py3-none-any.whl (110kB)
Collecting lxml==4.5.1 (from fritzconnection<1.0.0,>=0.8.0->fritzcollectd)
  Downloading https://files.pythonhosted.org/packages/03/a8/73d795778143be51d8b86750b371b3efcd7139987f71618ad9f4b8b65543/lxml-4.5.1.tar.gz (4.5MB)
    Complete output from command python setup.py egg_info:
    Building lxml version 4.5.1.
    Building without Cython.
    Error: Please make sure the libxml2 and libxslt development packages are installed.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-nN_9iJ/lxml/
The command '/bin/sh -c apt-get update -q   && apt-get install --no-install-recommends -qy collectd libpython2.7 python-pip python-setuptools python-wheel   && pip install fritzcollectd   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
SuperSandro2000 commented 4 years ago

My Pi runs out of memory while building. If you could test this #3 PR and see if it works that would be awesome.

okunze commented 4 years ago

Building takes about 10 minutes on my Pi 4. The resulting image from #3 PR works fine. Collected data is writen perfectly in my InfluxDB. Good work. Thank you very much.