Failed building wheel for netifaces on SUSE 12

Bug #1716433 reported by Rama Krishna Bhupathi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
refstack
Invalid
Undecided
Unassigned

Bug Description

I was installing refstack on SUSE 12 (SUSE Linux Enterprise 12 ) and ran into this issue whn I was running the setup_env. It appears the there is a conflict in terms of what version of netifaces should be used to build refstack.

 Failed building wheel for netifaces
  Running setup.py clean for netifaces
Failed to build netifaces
Installing collected packages: pbr, six, PrettyTable, stevedore, unicodecsv, pyparsing, PyYAML, pyperclip, cmd2, cliff, functools32, jsonschema, linecache2, traceback2, python-mimeparse, fixtures, extras, argparse, unittest2, testtools, pycparser, cffi, pynacl, asn1crypto, ipaddress, idna, enum34, cryptography, bcrypt, pyasn1, paramiko, netaddr, python-subunit, testrepository, monotonic, fasteners, funcsigs, wrapt, debtcollector, pytz, Babel, oslo.i18n, netifaces, iso8601, oslo.utils, rfc3986, oslo.config, oslo.concurrency, positional, oslo.context, msgpack-python, oslo.serialization, pyinotify, python-dateutil, oslo.log, future, stestr, os-testr, urllib3
  Running setup.py install for netifaces ... error
    Complete output from command /root/ramak/refstack-client/.tempest/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6E6S3z/netifaces/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-I2zBAT-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/ramak/refstack-client/.tempest/.venv/include/site/python2.7/netifaces:
    running install
    running build
    running build_ext
    checking for getifaddrs...not found.
    checking for getnameinfo...not found.
    checking for socket IOCTLs...not found.
    checking for optional header files...none found.
    checking whether struct sockaddr has a length field...no.
    checking which sockaddr_xxx structs are defined...none!
    checking for routing socket support...no.
    checking for sysctl(CTL_NET...) support...no.
    checking for netlink support...no.
    building 'netifaces' extension
    gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fwrapv -fPIC -DNETIFACES_VERSION=0.10.6 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/root/ramak/refstack-client/.tempest/.venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6E6S3z/netifaces/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-I2zBAT-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/ramak/refstack-client/.tempest/.venv/include/site/python2.7/netifaces" failed with error code 1 in /tmp/pip-build-6E6S3z/netifaces/

Revision history for this message
Lukáš Piwowarski (piwowarl) wrote :

I'm marking this bug as Invalid because it seems that there's 'gcc' missing on the system (see: "unable to execute 'gcc': No such file or directory")

Changed in refstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.