+ charm build -r
build: Composing into /home/ubuntu/charms
build: Destination charm directory: /home/ubuntu/charms/trusty/hadoop-namenode
build: Processing layer: layer:basic
build: Processing layer: layer:apt
build: Processing layer: layer:puppet-agent
build: Processing layer: layer:apache-bigtop-base
build: Processing layer: hadoop-namenode
build: Processing interface: java
build: Processing interface: dfs
build: Processing interface: dfs-slave
build: Processing interface: benchmark
DEPRECATION: pip install --download has been deprecated and will be removed in the future. Pip now has a download command that should be used instead.
Collecting https://launchpad.net/python-distutils-extra (from -r /home/ubuntu/charms/layers/layer-apt/wheelhouse.txt (line 1))
Downloading https://launchpad.net/python-distutils-extra
Cannot unpack file /tmp/pip-hxh8cr7y-unpack/python-distutils-extra (downloaded from /tmp/pip-emr0piu1-build, content-type: text/html;charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-emr0piu1-build
Command failed: /tmp/tmpcGTL5B/bin/pip3 install --no-binary :all: -d /tmp/tmpGL8Cer -r /home/ubuntu/charms/layers/layer-apt/wheelhouse.txt