Activity log for bug #1618714

Date Who What changed Old value New value Message
2016-08-31 06:40:14 Kevin Huynh bug added bug
2016-08-31 06:44:34 Kevin Huynh description The install fails on SLE12 SP1 with master branch. Never had this error on the same system before. 02:26:37 Running setup.py install for netifaces: finished with status 'error' 02:26:37 Complete output from command /opt/rally-upstream/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_kIttB/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kiXeRa-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/rally-upstream/include/site/python2.7/netifaces: 02:26:37 running install 02:26:37 running build 02:26:37 running build_ext 02:26:37 checking for getifaddrs...found. 02:26:37 checking for getnameinfo...found. 02:26:37 checking for IPv6 socket IOCTLs...not found. 02:26:37 checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. 02:26:37 checking whether struct sockaddr has a length field...no. 02:26:37 checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc. 02:26:37 checking for routing socket support...no. 02:26:37 checking for sysctl(CTL_NET...) support...no. 02:26:37 checking for netlink support...yes. 02:26:37 will use netlink to read routing table 02:26:37 building 'netifaces' extension 02:26:37 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 -fPIC -DNETIFACES_VERSION=0.10.5 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o 02:26:37 netifaces.c: In function 'gateways': 02:26:37 netifaces.c:1704:22: error: 'RTNL_FAMILY_MAX' undeclared (first use in this function) 02:26:37 int def_priorities[RTNL_FAMILY_MAX]; 02:26:37 ^ 02:26:37 netifaces.c:1704:22: note: each undeclared identifier is reported only once for each function it appears in 02:26:37 netifaces.c:1704:7: warning: unused variable 'def_priorities' [-Wunused-variable] 02:26:37 int def_priorities[RTNL_FAMILY_MAX]; 02:26:37 ^ 02:26:37 error: command 'gcc' failed with exit status 1 02:26:37 02:26:37 ---------------------------------------- 02:26:37 Command "/opt/rally-upstream/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_kIttB/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kiXeRa-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/rally-upstream/include/site/python2.7/netifaces" failed with error code 1 in /tmp/pip-build-_kIttB/netifaces/ The install fails on SLE12 SP1 with master branch. Never had this error on the same system before. Installed gcc gcc-c++ kernel-devel gcc-4.8-6.189.x86_64 gcc-c++-4.8-6.189.x86_64 kernel-devel-3.12.39-47.1.noarch Snippet from install log 02:26:37 Running setup.py install for netifaces: finished with status 'error' 02:26:37 Complete output from command /opt/rally-upstream/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_kIttB/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kiXeRa-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/rally-upstream/include/site/python2.7/netifaces: 02:26:37 running install 02:26:37 running build 02:26:37 running build_ext 02:26:37 checking for getifaddrs...found. 02:26:37 checking for getnameinfo...found. 02:26:37 checking for IPv6 socket IOCTLs...not found. 02:26:37 checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. 02:26:37 checking whether struct sockaddr has a length field...no. 02:26:37 checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc. 02:26:37 checking for routing socket support...no. 02:26:37 checking for sysctl(CTL_NET...) support...no. 02:26:37 checking for netlink support...yes. 02:26:37 will use netlink to read routing table 02:26:37 building 'netifaces' extension 02:26:37 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 -fPIC -DNETIFACES_VERSION=0.10.5 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o 02:26:37 netifaces.c: In function 'gateways': 02:26:37 netifaces.c:1704:22: error: 'RTNL_FAMILY_MAX' undeclared (first use in this function) 02:26:37 int def_priorities[RTNL_FAMILY_MAX]; 02:26:37 ^ 02:26:37 netifaces.c:1704:22: note: each undeclared identifier is reported only once for each function it appears in 02:26:37 netifaces.c:1704:7: warning: unused variable 'def_priorities' [-Wunused-variable] 02:26:37 int def_priorities[RTNL_FAMILY_MAX]; 02:26:37 ^ 02:26:37 error: command 'gcc' failed with exit status 1 02:26:37 02:26:37 ---------------------------------------- 02:26:37 Command "/opt/rally-upstream/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_kIttB/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kiXeRa-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/rally-upstream/include/site/python2.7/netifaces" failed with error code 1 in /tmp/pip-build-_kIttB/netifaces/
2016-12-29 23:28:25 Andriy Kurilin rally: status New Fix Released