2016-09-02 10:34:06 INFO install Running setup.py install for netifaces: started
2016-09-02 10:34:07 INFO install Running setup.py install for netifaces: finished with status 'error'
2016-09-02 10:34:07 INFO install Complete output from command /var/lib/juju/agents/unit-telegraf-3/.venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-tq1mxi7w-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mu2nfxha-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/lib/juju/agents/unit-telegraf-3/.venv/include/site/python3.4/netifaces:
2016-09-02 10:34:07 INFO install running install
2016-09-02 10:34:07 INFO install running build
2016-09-02 10:34:07 INFO install running build_ext
2016-09-02 10:34:07 INFO install checking for getifaddrs...not found.
2016-09-02 10:34:07 INFO install checking for getnameinfo...not found.
2016-09-02 10:34:07 INFO install checking for socket IOCTLs...not found.
2016-09-02 10:34:07 INFO install checking for optional header files...none found.
2016-09-02 10:34:07 INFO install checking whether struct sockaddr has a length field...no.
2016-09-02 10:34:07 INFO install checking which sockaddr_xxx structs are defined...none!
2016-09-02 10:34:07 INFO install checking for routing socket support...no.
2016-09-02 10:34:07 INFO install checking for sysctl(CTL_NET...) support...no.
2016-09-02 10:34:07 INFO install checking for netlink support...no.
2016-09-02 10:34:07 INFO install building 'netifaces' extension
2016-09-02 10:34:07 INFO install x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.10.5 -I/usr/include/python3.4m -I/var/lib/juju/agents/unit-telegraf-3/.venv/include/python3.4m -c netifaces.c -o build/temp.linux-x86_64-3.4/netifaces.o
2016-09-02 10:34:07 INFO install unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
2016-09-02 10:34:07 INFO install error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
2016-09-02 10:34:07 INFO install
2016-09-02 10:34:07 INFO install ----------------------------------------
2016-09-02 10:34:07 INFO install Can't rollback netifaces, nothing uninstalled.
2016-09-02 10:34:07 INFO install Command "/var/lib/juju/agents/unit-telegraf-3/.venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-tq1mxi7w-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mu2nfxha-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/lib/juju/agents/unit-telegraf-3/.venv/include/site/python3.4/netifaces" failed with error code 1 in /tmp/pip-tq1mxi7w-build/
2016-09-02 10:34:07 INFO install Traceback (most recent call last):
2016-09-02 10:34:07 INFO install File "/var/lib/juju/agents/unit-telegraf-3/charm/hooks/install", line 8, in <module>
2016-09-02 10:34:07 INFO install basic.bootstrap_charm_deps()
2016-09-02 10:34:07 INFO install File "lib/charms/layer/basic.py", line 77, in bootstrap_charm_deps
2016-09-02 10:34:07 INFO install glob('wheelhouse/*'))
2016-09-02 10:34:07 INFO install File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
2016-09-02 10:34:07 INFO install raise CalledProcessError(retcode, cmd)
2016-09-02 10:34:07 INFO install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-telegraf-3/.venv/bin/pip', 'install', '-U', '--no-index', '-f', 'wheelhouse', 'wheelhouse/pip-8.1.2.tar.gz', 'wheelhouse/charms.reactive-0.4.4.tar.gz', 'wheelhouse/charmhelpers-0.8.0.tar.gz', 'wheelhouse/pyaml-15.8.2.tar.gz', 'wheelhouse/six-1.10.0.tar.gz', 'wheelhouse/MarkupSafe-0.23.tar.gz', 'wheelhouse/netifaces-0.10.5.tar.gz', 'wheelhouse/Tempita-0.5.2.tar.gz', 'wheelhouse/PyYAML-3.12.tar.gz', 'wheelhouse/netaddr-0.7.18.tar.gz', 'wheelhouse/Jinja2-2.8.tar.gz']' returned non-zero exit status 1
2016-09-02 10:34:07 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1