nadav@DESKTOP-4DUIS04:/mnt/c/Git/configsite$ ./configsite-debian-arm32v7 bash root@7fc2bdd27378:/work# dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package configsite dpkg-buildpackage: info: source version 0.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nadav Ruskin dpkg-buildpackage: info: host architecture armhf dpkg-source --before-build work debian/rules clean dh clean --with python-virtualenv --python /usr/bin/python3 --builtin-venv --with=systemd dh_testdir -O--python=/usr/bin/python3 -O--builtin-venv dh_clean -O--python=/usr/bin/python3 -O--builtin-venv debian/rules build dh build --with python-virtualenv --python /usr/bin/python3 --builtin-venv --with=systemd dh_testdir -O--python=/usr/bin/python3 -O--builtin-venv dh_update_autotools_config -O--python=/usr/bin/python3 -O--builtin-venv dh_auto_configure -O--python=/usr/bin/python3 -O--builtin-venv create-stamp debian/debhelper-build-stamp debian/rules binary dh binary --with python-virtualenv --python /usr/bin/python3 --builtin-venv --with=systemd create-stamp debian/debhelper-build-stamp dh_testroot -O--python=/usr/bin/python3 -O--builtin-venv dh_prep -O--python=/usr/bin/python3 -O--builtin-venv dh_installdirs -O--python=/usr/bin/python3 -O--builtin-venv dh_install -O--python=/usr/bin/python3 -O--builtin-venv Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 Unsupported ioctl: cmd=0x40049409 dh_installdocs -O--python=/usr/bin/python3 -O--builtin-venv dh_installchangelogs -O--python=/usr/bin/python3 -O--builtin-venv dh_installexamples -O--python=/usr/bin/python3 -O--builtin-venv dh_installman -O--python=/usr/bin/python3 -O--builtin-venv dh_installcatalogs -O--python=/usr/bin/python3 -O--builtin-venv dh_installcron -O--python=/usr/bin/python3 -O--builtin-venv dh_installdebconf -O--python=/usr/bin/python3 -O--builtin-venv dh_installemacsen -O--python=/usr/bin/python3 -O--builtin-venv dh_installifupdown -O--python=/usr/bin/python3 -O--builtin-venv dh_installinfo -O--python=/usr/bin/python3 -O--builtin-venv dh_virtualenv -O--python=/usr/bin/python3 -O--builtin-venv Collecting setuptools==40.0.0 (from -r ./requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl (567kB) 100% |################################| 573kB 523kB/s Collecting click==6.7 (from -r ./requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB) 100% |################################| 71kB 1.4MB/s Collecting Flask==1.0.2 (from -r ./requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB) 100% |################################| 92kB 1.6MB/s Collecting gunicorn==19.8.1 (from -r ./requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/55/cb/09fe80bddf30be86abfc06ccb1154f97d6c64bb87111de066a5fc9ccb937/gunicorn-19.8.1-py2.py3-none-any.whl (112kB) 100% |################################| 122kB 1.6MB/s Collecting itsdangerous==0.24 (from -r ./requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB) 100% |################################| 51kB 1.8MB/s Collecting Jinja2==2.10 (from -r ./requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB) 100% |################################| 133kB 1.4MB/s Collecting jsonschema==2.6.0 (from -r ./requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl Collecting MarkupSafe==1.0 (from -r ./requirements.txt (line 8)) Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz Collecting Werkzeug==0.14.1 (from -r ./requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB) 100% |################################| 327kB 793kB/s Collecting gevent (from -r ./requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/e6/0a/fc345c6e6161f84484870dbcaa58e427c10bd9bdcd08a69bed3d6b398bf1/gevent-1.3.5.tar.gz (4.6MB) 100% |################################| 4.6MB 69kB/s Ignoring cffi: markers 'sys_platform == "win32" and platform_python_implementation == "CPython"' don't match your environment Collecting flask_sockets (from -r ./requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/62/a1/2295e41c32f591093cce519282ceeb6a968945bf497faa83a124e206aa26/Flask_Sockets-0.2.1-py2.py3-none-any.whl Collecting greenlet>=0.4.13; platform_python_implementation == "CPython" (from gevent->-r ./requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/13/de/ba92335e9e76040ca7274224942282a80d54f85e342a5e33c5277c7f87eb/greenlet-0.4.13.tar.gz (58kB) 100% |################################| 61kB 1.7MB/s Collecting gevent-websocket (from flask_sockets->-r ./requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/7b/84/2dc373eb6493e00c884cc11e6c059ec97abae2678d42f06bf780570b0193/gevent_websocket-0.10.1-py3-none-any.whl Building wheels for collected packages: itsdangerous, MarkupSafe, gevent, greenlet Running setup.py bdist_wheel for itsdangerous ... error Failed building wheel for itsdangerous Running setup.py clean for itsdangerous Running setup.py bdist_wheel for MarkupSafe ... error Failed building wheel for MarkupSafe Running setup.py clean for MarkupSafe Running setup.py bdist_wheel for gevent ... error Failed building wheel for gevent Running setup.py clean for gevent Running setup.py bdist_wheel for greenlet ... error Failed building wheel for greenlet Running setup.py clean for greenlet Failed to build itsdangerous MarkupSafe gevent greenlet Installing collected packages: setuptools, click, itsdangerous, MarkupSafe, Jinja2, Werkzeug, Flask, gunicorn, jsonschema, greenlet, gevent, gevent-websocket, flask-sockets Found existing installation: setuptools 32.3.1 Uninstalling setuptools-32.3.1: Successfully uninstalled setuptools-32.3.1 Running setup.py install for itsdangerous ... done Running setup.py install for MarkupSafe ... done Running setup.py install for greenlet ... error Command "/work/debian/configsite/opt/venvs/configsite/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-xm4g_z6h/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fr3imnkh-record/install-record.txt --single-version-externally-managed --compile --install-headers /work/debian/configsite/opt/venvs/configsite/include/site/python3.5/greenlet" failed with error code 1 in /tmp/pip-build-xm4g_z6h/greenlet/ Traceback (most recent call last): File "/usr/bin/dh_virtualenv", line 106, in sys.exit(main() or 0) File "/usr/bin/dh_virtualenv", line 86, in main deploy.install_dependencies() File "/usr/lib/python2.7/dist-packages/dh_virtualenv/deployment.py", line 174, in install_dependencies subprocess.check_call(self.pip('-r', requirements_path)) File "/usr/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/work/debian/configsite/opt/venvs/configsite/bin/python', '/work/debian/configsite/opt/venvs/configsite/bin/pip', 'install', '--log=/tmp/tmpkjV3FK', '-r', './requirements.txt']' returned non-zero exit status 1 debian/rules:4: recipe for target 'binary' failed make: *** [binary] Error 1 dpkg-buildpackage: error: debian/rules binary gave error exit status 2