{"action":"opened","issue":{"url":"https://api.github.com/repos/wireload/screenly-ose/issues/412","repository_url":"https://api.github.com/repos/wireload/screenly-ose","labels_url":"https://api.github.com/repos/wireload/screenly-ose/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/wireload/screenly-ose/issues/412/comments","events_url":"https://api.github.com/repos/wireload/screenly-ose/issues/412/events","html_url":"https://github.com/wireload/screenly-ose/issues/412","id":153087694,"number":412,"title":"Package libffi was not found","user":{"login":"ross-bradbury","id":1827740,"avatar_url":"https://avatars.githubusercontent.com/u/1827740?v=3","gravatar_id":"","url":"https://api.github.com/users/ross-bradbury","html_url":"https://github.com/ross-bradbury","followers_url":"https://api.github.com/users/ross-bradbury/followers","following_url":"https://api.github.com/users/ross-bradbury/following{/other_user}","gists_url":"https://api.github.com/users/ross-bradbury/gists{/gist_id}","starred_url":"https://api.github.com/users/ross-bradbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ross-bradbury/subscriptions","organizations_url":"https://api.github.com/users/ross-bradbury/orgs","repos_url":"https://api.github.com/users/ross-bradbury/repos","events_url":"https://api.github.com/users/ross-bradbury/events{/privacy}","received_events_url":"https://api.github.com/users/ross-bradbury/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T18:52:33Z","updated_at":"2016-05-04T18:52:33Z","closed_at":null,"body":"Failure to install on Raspberry Pi 3 B\r\n\r\nI had trouble upgrading a older OSE installation so I started from scratch. I erased the SD card, put on 2016-03-18-raspbian-jessie-lite, did \r\nsudo raspi-config (expand filesystem)\r\nsudo reboot now\r\n\r\nsudo apt-get update\r\nsudo apt-get dist-upgrade\r\nsudo apt-get install lightdm\r\nsudo reboot now\r\n\r\nbash <(curl -sL https://www.screenlyapp.com/install-ose.sh)\r\n\r\nI tried installing a few times, this was from my last attempt. This attempt I answered \"y\" then \"n\"\r\n\r\n\r\n    pi@raspberrypi:~ $ bash <(curl -sL https://www.screenlyapp.com/install-ose.sh)\r\n    _____                           __         ____  _____ ______\r\n    / ___/_____________  ___  ____  / /_  __   / __ \\/ ___// ____/\r\n    \\__ \\/ ___/ ___/ _ \\/ _ \\/ __ \\/ / / / /  / / / /\\__ \\/ __/\r\n    ___/ / /__/ /  /  __/  __/ / / / / /_/ /  / /_/ /___/ / /___\r\n    /____/\\___/_/   \\___/\\___/_/ /_/_/\\__, /   \\____//____/_____/\r\n                                    /____/\r\n    Screenly OSE requires a dedicated Raspberry Pi / SD card.\r\n    You will not be able to use the regular desktop environment once installed.\r\n\r\n    Do you still want to continue? (y/N)\r\n    Would you like to perform a full system upgrade as well? (y/N)\r\n    + sudo mkdir -p /etc/ansible\r\n    + echo -e '[local]\\nlocalhost ansible_connection=local'\r\n    + sudo tee /etc/ansible/hosts\r\n    + '[' '!' -f /etc/locale.gen ']'\r\n    + sudo apt-get update\r\n    Hit http://mirrordirector.raspbian.org jessie InRelease\r\n    Hit http://archive.raspberrypi.org jessie InRelease\r\n    Hit http://mirrordirector.raspbian.org jessie/main armhf Packages\r\n    Hit http://archive.raspberrypi.org jessie/main armhf Packages\r\n    Hit http://archive.raspberrypi.org jessie/ui armhf Packages\r\n    Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages\r\n    Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages\r\n    Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages  \r\n    Ign http://archive.raspberrypi.org jessie/main Translation-en_GB  \r\n    Ign http://archive.raspberrypi.org jessie/main Translation-en     \r\n    Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB    \r\n    Ign http://archive.raspberrypi.org jessie/ui Translation-en       \r\n    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB\r\n    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en\r\n    Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB\r\n    Ign http://mirrordirector.raspbian.org jessie/main Translation-en\r\n    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB\r\n    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en\r\n    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB                                                                                                                                                         \r\n    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en                                                                                                                                                            \r\n    Reading package lists... Done                                                                                                                                                                                               \r\n    + sudo apt-get install -y python-dev git-core\r\n    Reading package lists... Done\r\n    Building dependency tree       \r\n    Reading state information... Done\r\n    git-core is already the newest version.\r\n    python-dev is already the newest version.\r\n    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\n    + curl -s https://bootstrap.pypa.io/get-pip.py\r\n    + sudo python\r\n    Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages\r\n    + sudo pip install ansible==2.0.2.0\r\n    Collecting ansible==2.0.2.0\r\n    Collecting paramiko (from ansible==2.0.2.0)\r\n    Using cached paramiko-2.0.0-py2.py3-none-any.whl\r\n    Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)\r\n    Collecting PyYAML (from ansible==2.0.2.0)\r\n    Collecting pycrypto>=2.6 (from ansible==2.0.2.0)\r\n    Collecting jinja2 (from ansible==2.0.2.0)\r\n    Using cached Jinja2-2.8-py2.py3-none-any.whl\r\n    Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /usr/local/lib/python2.7/dist-packages (from paramiko->ansible==2.0.2.0)\r\n    Collecting cryptography>=1.1 (from paramiko->ansible==2.0.2.0)\r\n    Using cached cryptography-1.3.2.tar.gz\r\n    Collecting MarkupSafe (from jinja2->ansible==2.0.2.0)\r\n    Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Using cached cffi-1.6.0.tar.gz\r\n    Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible==2.0.2.0)\r\n    Building wheels for collected packages: cryptography, cffi\r\n    Running setup.py bdist_wheel for cryptography ... error\r\n    Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-WT3xOA/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" bdist_wheel -d /tmp/tmpPWz2W0pip-wheel- --python-tag cp27:\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n    #include <ffi.h>\r\n                    ^\r\n    compilation terminated.\r\n    Traceback (most recent call last):\r\n        File \"<string>\", line 1, in <module>\r\n        File \"/tmp/pip-build-WT3xOA/cryptography/setup.py\", line 335, in <module>\r\n        **keywords_with_side_effects(sys.argv)\r\n        File \"/usr/lib/python2.7/distutils/core.py\", line 111, in setup\r\n        _setup_distribution = dist = klass(attrs)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 269, in __init__\r\n        self.fetch_build_eggs(attrs['setup_requires'])\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 313, in fetch_build_eggs\r\n        replace_conflicting=True,\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 826, in resolve\r\n        dist = best[req.key] = env.best_match(req, ws, installer)\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1092, in best_match\r\n        return self.obtain(req, installer)\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1104, in obtain\r\n        return installer(requirement)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 380, in fetch_build_egg\r\n        return cmd.easy_install(req)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 640, in easy_install\r\n        return self.install_item(spec, dist.location, tmpdir, deps)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 670, in install_item\r\n        dists = self.install_eggs(spec, download, tmpdir)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 850, in install_eggs\r\n        return self.build_and_install(setup_script, setup_base)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1078, in build_and_install\r\n        self.run_setup(setup_script, setup_base, args)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1066, in run_setup\r\n        raise DistutilsError(\"Setup script exited with %s\" % (v.args[0],))\r\n    distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\n    Failed building wheel for cryptography\r\n    Running setup.py clean for cryptography\r\n    Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-WT3xOA/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" clean --all:\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n    #include <ffi.h>\r\n                    ^\r\n    compilation terminated.\r\n    Traceback (most recent call last):\r\n        File \"<string>\", line 1, in <module>\r\n        File \"/tmp/pip-build-WT3xOA/cryptography/setup.py\", line 335, in <module>\r\n        **keywords_with_side_effects(sys.argv)\r\n        File \"/usr/lib/python2.7/distutils/core.py\", line 111, in setup\r\n        _setup_distribution = dist = klass(attrs)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 269, in __init__\r\n        self.fetch_build_eggs(attrs['setup_requires'])\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 313, in fetch_build_eggs\r\n        replace_conflicting=True,\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 826, in resolve\r\n        dist = best[req.key] = env.best_match(req, ws, installer)\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1092, in best_match\r\n        return self.obtain(req, installer)\r\n        File \"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py\", line 1104, in obtain\r\n        return installer(requirement)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\", line 380, in fetch_build_egg\r\n        return cmd.easy_install(req)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 640, in easy_install\r\n        return self.install_item(spec, dist.location, tmpdir, deps)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 670, in install_item\r\n        dists = self.install_eggs(spec, download, tmpdir)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 850, in install_eggs\r\n        return self.build_and_install(setup_script, setup_base)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1078, in build_and_install\r\n        self.run_setup(setup_script, setup_base, args)\r\n        File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py\", line 1066, in run_setup\r\n        raise DistutilsError(\"Setup script exited with %s\" % (v.args[0],))\r\n    distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\n    Failed cleaning build dir for cryptography\r\n    Running setup.py bdist_wheel for cffi ... error\r\n    Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-WT3xOA/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" bdist_wheel -d /tmp/tmpVIgDropip-wheel- --python-tag cp27:\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    Package libffi was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libffi.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libffi' found\r\n    running bdist_wheel\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.linux-armv7l-2.7\r\n    creating build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/gc_weakref.py -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi\r\n    copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi\r\n    running build_ext\r\n    building '_cffi_backend' extension\r\n    creating build/temp.linux-armv7l-2.7\r\n    creating build/temp.linux-armv7l-2.7/c\r\n    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o\r\n    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n    #include <ffi.h>\r\n                    ^\r\n    compilation terminated.\r\n    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\n    Failed building wheel for cffi\r\n    Running setup.py clean for cffi\r\n    Failed to build cryptography cffi\r\n    Installing collected packages: cffi, cryptography, paramiko, PyYAML, pycrypto, MarkupSafe, jinja2, ansible\r\n    Running setup.py install for cffi ... error\r\n        Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-WT3xOA/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-OUmJEr-record/install-record.txt --single-version-externally-managed --compile:\r\n        Package libffi was not found in the pkg-config search path.\r\n        Perhaps you should add the directory containing `libffi.pc'\r\n        to the PKG_CONFIG_PATH environment variable\r\n        No package 'libffi' found\r\n        Package libffi was not found in the pkg-config search path.\r\n        Perhaps you should add the directory containing `libffi.pc'\r\n        to the PKG_CONFIG_PATH environment variable\r\n        No package 'libffi' found\r\n        Package libffi was not found in the pkg-config search path.\r\n        Perhaps you should add the directory containing `libffi.pc'\r\n        to the PKG_CONFIG_PATH environment variable\r\n        No package 'libffi' found\r\n        Package libffi was not found in the pkg-config search path.\r\n        Perhaps you should add the directory containing `libffi.pc'\r\n        to the PKG_CONFIG_PATH environment variable\r\n        No package 'libffi' found\r\n        Package libffi was not found in the pkg-config search path.\r\n        Perhaps you should add the directory containing `libffi.pc'\r\n        to the PKG_CONFIG_PATH environment variable\r\n        No package 'libffi' found\r\n        running install\r\n        running build\r\n        running build_py\r\n        creating build\r\n        creating build/lib.linux-armv7l-2.7\r\n        creating build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/gc_weakref.py -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi\r\n        copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi\r\n        running build_ext\r\n        building '_cffi_backend' extension\r\n        creating build/temp.linux-armv7l-2.7\r\n        creating build/temp.linux-armv7l-2.7/c\r\n        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o\r\n        c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n        #include <ffi.h>\r\n                        ^\r\n        compilation terminated.\r\n        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n        \r\n        ----------------------------------------\r\n    Command \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-WT3xOA/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-OUmJEr-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-WT3xOA/cffi/\r\n    + ansible localhost -m git -a 'repo=http://github.com/wireload/screenly-ose.git dest=/home/pi/screenly version=master'\r\n    /dev/fd/63: line 54: ansible: command not found\r\n    + cd /home/pi/screenly/ansible\r\n    /dev/fd/63: line 55: cd: /home/pi/screenly/ansible: No such file or directory\r\n    + ansible-playbook site.yml --skip-tags enable-ssl,system-upgrade\r\n    /dev/fd/63: line 57: ansible-playbook: command not found"}}