sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 128 forks source link

installation failure error command 'x86_64-linux-gnu-gcc' failed with exit status 1 #84

Closed UnknownBean closed 1 year ago

UnknownBean commented 7 years ago

Reading package lists... Done Building dependency tree
Reading state information... Done ntpdate is already the newest version (1:4.2.8p9+dfsg-2). The following packages were automatically installed and are no longer required: firebird2.5-common firebird2.5-common-doc gdebi-core gnome-packagekit gnome-packagekit-data hwdata imagemagick-common iproute libboost-atomic1.61.0 libboost-chrono1.61.0 libboost-date-time1.61.0 libcamel-1.2-57 libchromaprint0 libcrypto++6 libdouble-conversion1 libedataserver-1.2-21 libfftw3-single3 libgeos-3.5.0 libglew1.13 libicu55 liblouis10 libnm-glib-vpn1 libosinfo-db libperl5.22 libpoppler61 libprotobuf9v5 libradare2-0.9.9 libvpx3 libwildmidi1 libx265-79 linux-image-4.6.0-kali1-amd64 python-clamd python-d2to1 python-defusedxml python-pycryptopp python-pypdf python-soappy python-stopit python-svn python-wstools torsocks Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded. [ ok ] Stopping ntp (via systemctl): ntp.service. [+] Setting time with ntp 10 Dec 18:40:05 ntpdate[2841]: adjust time server 91.189.91.157 offset -0.003703 sec [ ok ] Starting ntp (via systemctl): ntp.service. [+] Setting timzeone...

Current default time zone: 'America/Chicago' Local time is now: Sat Dec 10 18:40:06 CST 2016. Universal Time is now: Sun Dec 11 00:40:06 UTC 2016.

[+] Installing sakis3g... [+] Updating repository... Hit:1 http://archive-7.kali.org/kali kali-rolling InRelease Reading package lists... Done W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 [+] Installing required packages... Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libxslt1-dev' instead of 'libxslt-dev' autossh is already the newest version (1.4e-3). build-essential is already the newest version (12.2). iw is already the newest version (4.9-0.1). libpcap0.8-dev is already the newest version (1.8.1-3). libxml2-dev is already the newest version (2.9.4+dfsg1-2.1). libxslt1-dev is already the newest version (1.1.29-2). mitmproxy is already the newest version (0.18.2-3kali1). ppp is already the newest version (2.4.7-1+4). pyrit is already the newest version (0.4.0-7). python-bluez is already the newest version (0.22-1). python-dateutil is already the newest version (2.5.3-2). python-dev is already the newest version (2.7.11-2). python-flask is already the newest version (0.11.1-1). python-gps is already the newest version (3.16-4). python-psutil is already the newest version (4.3.1-1). python-requests is already the newest version (2.11.1-1). python-serial is already the newest version (3.2.1-1). python-setuptools is already the newest version (28.7.1-1). python2.7-dev is already the newest version (2.7.12-7). sqlite3 is already the newest version (3.15.2-1). tcpdump is already the newest version (4.8.1-2). The following packages were automatically installed and are no longer required: firebird2.5-common firebird2.5-common-doc gdebi-core gnome-packagekit gnome-packagekit-data hwdata imagemagick-common iproute libboost-atomic1.61.0 libboost-chrono1.61.0 libboost-date-time1.61.0 libcamel-1.2-57 libchromaprint0 libcrypto++6 libdouble-conversion1 libedataserver-1.2-21 libfftw3-single3 libgeos-3.5.0 libglew1.13 libicu55 liblouis10 libnm-glib-vpn1 libosinfo-db libperl5.22 libpoppler61 libprotobuf9v5 libradare2-0.9.9 libvpx3 libwildmidi1 libx265-79 linux-image-4.6.0-kali1-amd64 python-clamd python-d2to1 python-defusedxml python-pycryptopp python-pypdf python-soappy python-stopit python-svn python-wstools torsocks Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded. Searching for pip Best match: pip 9.0.1 Adding pip 9.0.1 to easy-install.pth file Installing pip script to /usr/local/bin Installing pip3.5 script to /usr/local/bin Installing pip3 script to /usr/local/bin

Using /usr/local/lib/python2.7/dist-packages Processing dependencies for pip Finished processing dependencies for pip Searching for smspdu Best match: smspdu 1.0 Processing smspdu-1.0-py2.7.egg smspdu 1.0 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/smspdu-1.0-py2.7.egg Processing dependencies for smspdu Finished processing dependencies for smspdu Requirement already satisfied: sqlalchemy==0.7.4 in /usr/local/lib/python2.7/dist-packages Uninstalling requests-0.14.2: Successfully uninstalled requests-0.14.2 Collecting https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz Looking up "https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz" in the cache Current age based on date: 31228 Freshness lifetime from max-age: 31557600 The response is "fresh", returning cached response 31557600 > 31228 Using cached requests-0.14.2.tar.gz Downloading from URL https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz Running setup.py (path:/tmp/pip-ajn4GJ-build/setup.py) egg_info for package from https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz Running command python setup.py egg_info running egg_info creating pip-egg-info/requests.egg-info writing pip-egg-info/requests.egg-info/PKG-INFO writing top-level names to pip-egg-info/requests.egg-info/top_level.txt writing dependency_links to pip-egg-info/requests.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/requests.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found

reading manifest file 'pip-egg-info/requests.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'tests/*.'
writing manifest file 'pip-egg-info/requests.egg-info/SOURCES.txt'

Source in /tmp/pip-ajn4GJ-build has version 0.14.2, which satisfies requirement requests==0.14.2 from https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz Building wheels for collected packages: requests Running setup.py bdist_wheel for requests ... Destination directory: /tmp/tmp0bJLrspip-wheel- Running command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-ajn4GJ-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmp0bJLrspip-wheel- --python-tag cp27 running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/requests copying requests/structures.py -> build/lib.linux-x86_64-2.7/requests copying requests/utils.py -> build/lib.linux-x86_64-2.7/requests copying requests/adapters.py -> build/lib.linux-x86_64-2.7/requests copying requests/safe_mode.py -> build/lib.linux-x86_64-2.7/requests copying requests/async.py -> build/lib.linux-x86_64-2.7/requests copying requests/exceptions.py -> build/lib.linux-x86_64-2.7/requests copying requests/hooks.py -> build/lib.linux-x86_64-2.7/requests copying requests/defaults.py -> build/lib.linux-x86_64-2.7/requests copying requests/api.py -> build/lib.linux-x86_64-2.7/requests copying requests/init.py -> build/lib.linux-x86_64-2.7/requests copying requests/cookies.py -> build/lib.linux-x86_64-2.7/requests copying requests/_oauth.py -> build/lib.linux-x86_64-2.7/requests copying requests/models.py -> build/lib.linux-x86_64-2.7/requests copying requests/status_codes.py -> build/lib.linux-x86_64-2.7/requests copying requests/sessions.py -> build/lib.linux-x86_64-2.7/requests copying requests/auth.py -> build/lib.linux-x86_64-2.7/requests copying requests/compat.py -> build/lib.linux-x86_64-2.7/requests copying requests/certs.py -> build/lib.linux-x86_64-2.7/requests creating build/lib.linux-x86_64-2.7/requests/packages copying requests/packages/init.py -> build/lib.linux-x86_64-2.7/requests/packages creating build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/response.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/request.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/exceptions.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/_collections.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/util.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/init.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/filepost.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/poolmanager.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 copying requests/packages/urllib3/connectionpool.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3 creating build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/ordered_dict.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/six.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/init.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages creating build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/ssl_match_hostname copying requests/packages/urllib3/packages/ssl_match_hostname/init.py -> build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/ssl_match_hostname creating build/lib.linux-x86_64-2.7/requests/packages/oauthlib copying requests/packages/oauthlib/common.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib copying requests/packages/oauthlib/init.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib creating build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1 copying requests/packages/oauthlib/oauth1/init.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1 creating build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849 copying requests/packages/oauthlib/oauth1/rfc5849/parameters.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849 copying requests/packages/oauthlib/oauth1/rfc5849/utils.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849 copying requests/packages/oauthlib/oauth1/rfc5849/signature.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849 copying requests/packages/oauthlib/oauth1/rfc5849/init.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849 creating build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2 copying requests/packages/oauthlib/oauth2/init.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2 creating build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25 copying requests/packages/oauthlib/oauth2/draft25/parameters.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25 copying requests/packages/oauthlib/oauth2/draft25/utils.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25 copying requests/packages/oauthlib/oauth2/draft25/tokens.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25 copying requests/packages/oauthlib/oauth2/draft25/init.py -> build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25 creating build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/mbcssm.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/jisfreq.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/utf8prober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/euckrfreq.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/latin1prober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/euctwprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/sbcharsetprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langhungarianmodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/charsetgroupprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/big5prober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/euckrprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/constants.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/mbcsgroupprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/gb2312prober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/euctwfreq.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/mbcharsetprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langhebrewmodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/sjisprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langgreekmodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/gb2312freq.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/charsetprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/universaldetector.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/init.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langthaimodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/jpcntx.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/escprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/hebrewprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/chardistribution.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/big5freq.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/sbcsgroupprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/codingstatemachine.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/eucjpprober.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langbulgarianmodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/langcyrillicmodel.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet copying requests/packages/chardet/escsm.py -> build/lib.linux-x86_64-2.7/requests/packages/chardet running egg_info writing requests.egg-info/PKG-INFO writing top-level names to requests.egg-info/top_level.txt writing dependency_links to requests.egg-info/dependency_links.txt warning: manifest_maker: standard file '-c' not found

reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'tests/*.' writing manifest file 'requests.egg-info/SOURCES.txt' copying requests/cacert.pem -> build/lib.linux-x86_64-2.7/requests installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/structures.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/utils.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/adapters.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/safe_mode.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/async.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/exceptions.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/hooks.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/cacert.pem -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/defaults.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/api.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/init.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/cookies.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/_oauth.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/models.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/status_codes.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/sessions.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/auth.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/compat.py -> build/bdist.linux-x86_64/wheel/requests copying build/lib.linux-x86_64-2.7/requests/certs.py -> build/bdist.linux-x86_64/wheel/requests creating build/bdist.linux-x86_64/wheel/requests/packages creating build/bdist.linux-x86_64/wheel/requests/packages/oauthlib copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/common.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib creating build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2 creating build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2/draft25 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25/parameters.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2/draft25 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25/utils.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2/draft25 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25/tokens.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2/draft25 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth2/draft25/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth2/draft25 creating build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1 creating build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1/rfc5849 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849/parameters.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1/rfc5849 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849/utils.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1/rfc5849 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849/signature.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1/rfc5849 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/rfc5849/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1/rfc5849 copying build/lib.linux-x86_64-2.7/requests/packages/oauthlib/oauth1/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/oauthlib/oauth1 creating build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/response.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/request.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/exceptions.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/_collections.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/util.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/filepost.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/poolmanager.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/connectionpool.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3 creating build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages creating build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages/ssl_match_hostname copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/ssl_match_hostname/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages/ssl_match_hostname copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/ordered_dict.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/six.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages copying build/lib.linux-x86_64-2.7/requests/packages/urllib3/packages/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/urllib3/packages copying build/lib.linux-x86_64-2.7/requests/packages/init.py -> build/bdist.linux-x86_64/wheel/requests/packages creating build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/mbcssm.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/jisfreq.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/utf8prober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/euckrfreq.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/latin1prober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/euctwprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/sbcharsetprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langhungarianmodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/charsetgroupprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/big5prober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/euckrprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/constants.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/mbcsgroupprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/gb2312prober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/euctwfreq.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/mbcharsetprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langhebrewmodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/sjisprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langgreekmodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/gb2312freq.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/charsetprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/universaldetector.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/init.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langthaimodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/jpcntx.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/escprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/hebrewprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/chardistribution.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/big5freq.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/sbcsgroupprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/codingstatemachine.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/eucjpprober.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langbulgarianmodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/langcyrillicmodel.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet copying build/lib.linux-x86_64-2.7/requests/packages/chardet/escsm.py -> build/bdist.linux-x86_64/wheel/requests/packages/chardet running install_egg_info Copying requests.egg-info to build/bdist.linux-x86_64/wheel/requests-0.14.2.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/requests-0.14.2.dist-info/WHEEL done Stored in directory: /root/.cache/pip/wheels/1a/41/cf/bcd37c3fabcc5f3f97dfba791b378272c295ad9aa342736f8c Removing source in /tmp/pip-ajn4GJ-build Successfully built requests Installing collected packages: requests

Successfully installed requests-0.14.2 Cleaning up... Requirement already satisfied: httplib2 in /usr/lib/python2.7/dist-packages Requirement already satisfied: BeautifulSoup in /usr/lib/python2.7/dist-packages Requirement already satisfied: publicsuffix in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: pyinotify in /usr/lib/python2.7/dist-packages Requirement already satisfied: netifaces in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: dnslib in /usr/local/lib/python2.7/dist-packages [+] Installing pyserial 2.6 Collecting https://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz Using cached pyserial-2.6.tar.gz Requirement already satisfied (use --upgrade to upgrade): pyserial==2.6 from https://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz in /usr/local/lib/python2.7/dist-packages Building wheels for collected packages: pyserial Running setup.py bdist_wheel for pyserial ... done Stored in directory: /root/.cache/pip/wheels/4c/6b/2c/3a0f09017185804bab241ff92a751332bc1a329459a8eb32fd Successfully built pyserial [+] Downloading pylibpcap... Collecting pylibpcap from https://sourceforge.net/projects/pylibpcap/files/latest/download?source=files#egg=pylibpcap Using cached https://sourceforge.net/projects/pylibpcap/files/latest/download?source=files Installing collected packages: pylibpcap Running setup.py install for pylibpcap ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-oSEokI/pylibpcap/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-XeYGZ1-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building '_pcapmodule' extension creating build creating build/temp.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-OPy4GZ/python2.7-2.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c pcap.c -o build/temp.linux-x86_64-2.7/pcap.o pcap.c: In function ‘SWIG_Python_AddErrorMsg’: pcap.c:853:5: error: format not a string literal and no format arguments [-Werror=format-security] PyErr_Format(PyExc_RuntimeError, mesg); ^~~~ cc1: some warnings being treated as errors error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-oSEokI/pylibpcap/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-XeYGZ1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-oSEokI/pylibpcap/

here's the whole console from when i typed the command in to when it ended its probably something simple i'm missing but i cant find it please help thank you

JosephGregg commented 7 years ago

I encountered the same error and was able to resolve issue. Please let me know if this works:

apt-get install python-libpcap