projectatomic / atomic

Atomic Run Tool for installing/running/managing container images.
Other
524 stars 139 forks source link

Can't build on Debian #1246

Open cho2 opened 5 years ago

cho2 commented 5 years ago

Build using https://github.com/projectatomic/atomic/blob/master/docs/install/Debian.md, but my dependencies are go-md2man rpm python-selinux python-rpm python-dbus python-slip python-slip-dbus python-gobject python-yaml python-dateutil python-pip git build-essential libssl-dev libffi-dev

Question about build-essential libssl-dev libffi-dev is on https://github.com/projectatomic/atomic/issues/1245

Running pip install -r requirements.txt

Collecting requests>=2.4.3 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting setuptools (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl
Collecting docker (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/a5/64/8c0a5d22e70257e6b7ef7f14b577f99f0b9b1560c604f87856d0db80d151/docker-3.4.1-py2.py3-none-any.whl
Collecting websocket-client>=0.11.0 (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/8a/a1/72ef9aa26cfe1a75cee09fc1957e4723add9de098c15719416a1ee89386b/websocket_client-0.48.0-py2.py3-none-any.whl
Collecting six>=1.3.0 (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting xattr (from -r requirements.txt (line 6))
Collecting python-dateutil (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting PyYAML (from -r requirements.txt (line 8))
Collecting urllib3 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting pylint (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/f2/95/0ca03c818ba3cd14f2dd4e95df5b7fa232424b7fc6ea1748d27f293bc007/pylint-1.9.2-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests>=2.4.3->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.4.3->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.4.3->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker->-r requirements.txt (line 3))
Collecting ipaddress>=1.0.16; python_version < "3.3" (from docker->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting docker-pycreds>=0.3.0 (from docker->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/ea/bf/7e70aeebc40407fbdb96fa9f79fc8e4722ea889a99378303e3bcc73f4ab5/docker_pycreds-0.3.0-py2.py3-none-any.whl
Collecting cffi>=1.0.0 (from xattr->-r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting mccabe (from pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting astroid<2.0,>=1.6 (from pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/0e/9b/18b08991c8c6aaa827faf394f4468b8fee41db1f73aa5157f9f5fb2e69c3/astroid-1.6.5-py2.py3-none-any.whl
Collecting singledispatch; python_version < "3.4" (from pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting isort>=4.2.5 (from pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/41/d8/a945da414f2adc1d9e2f7d6e7445b27f2be42766879062a2e63616ad4199/isort-4.3.4-py2-none-any.whl
Collecting configparser; python_version == "2.7" (from pylint->-r requirements.txt (line 10))
Collecting backports.functools-lru-cache; python_version == "2.7" (from pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/03/8e/2424c0e65c4a066e28f539364deee49b6451f8fcd4f718fefa50cc3dcf48/backports.functools_lru_cache-1.5-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.0.0->xattr->-r requirements.txt (line 6))
Collecting enum34>=1.1.3; python_version < "3.4" (from astroid<2.0,>=1.6->pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting lazy-object-proxy (from astroid<2.0,>=1.6->pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/52/7e/f0f570ba363e15251bb9fd452257ec2aff91be0187a08a893afbd8ae225f/lazy_object_proxy-1.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting wrapt (from astroid<2.0,>=1.6->pylint->-r requirements.txt (line 10))
Collecting futures (from isort>=4.2.5->pylint->-r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Installing collected packages: idna, urllib3, chardet, certifi, requests, setuptools, backports.ssl-match-hostname, six, websocket-client, ipaddress, docker-pycreds, docker, pycparser, cffi, xattr, python-dateutil, PyYAML, mccabe, enum34, singledispatch, lazy-object-proxy, backports.functools-lru-cache, wrapt, astroid, futures, isort, configparser, pylint
Successfully installed PyYAML-3.13 astroid-1.6.5 backports.functools-lru-cache-1.5 backports.ssl-match-hostname-3.5.0.1 certifi-2018.4.16 cffi-1.11.5 chardet-3.0.4 configparser-3.5.0 docker-3.4.1 docker-pycreds-0.3.0 enum34-1.1.6 futures-3.2.0 idna-2.7 ipaddress-1.0.22 isort-4.3.4 lazy-object-proxy-1.3.1 mccabe-0.6.1 pycparser-2.18 pylint-1.9.2 python-dateutil-2.7.3 requests-2.19.1 setuptools-40.0.0 singledispatch-3.4.0.3 six-1.11.0 urllib3-1.23 websocket-client-0.48.0 wrapt-1.10.11 xattr-0.9.3

Running make install

/usr/bin/python setup.py build
running build
running build_py
running build_scripts
/usr/bin/python -m pylint --disable=all --enable=E --enable=W --additional-builtins=_ *.py atomic Atomic tests/unit/*.py -d=no-absolute-import,print-statement,no-absolute-import,bad-builtin,catching-non-exception,raising-non-exception
No config file found, using default configuration
************* Module Atomic.update
W: 68,27: dict.keys referenced when not iterating (dict-keys-not-iterating)
************* Module Atomic.scan
W:290,15: dict.keys referenced when not iterating (dict-keys-not-iterating)
************* Module Atomic.rpm_host_install
W:257,34: dict.keys referenced when not iterating (dict-keys-not-iterating)

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Makefile:41: recipe for target 'pylint-check' failed
make: *** [pylint-check] Error 4

What's wrong with pylint? On previous issue (https://github.com/projectatomic/atomic/issues/1118) is about pylint too