Source: python-ethtool
Version: 0.11-2
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

In file included from python-ethtool/ethtool.c:33:0:
python-ethtool/etherinfo.h:26:8: warning: function declaration isn’t a 
prototype [-Wstrict-prototypes]
 struct nl_sock * get_nlc();
        ^
python-ethtool/ethtool.c: In function ‘get_active_devices’:
python-ethtool/ethtool.c:65:61: error: ‘IFF_UP’ undeclared (first use in this 
function)
   if (!PySequence_Contains(list, str) && (ifa->ifa_flags & (IFF_UP))) {
                                                             ^
python-ethtool/ethtool.c:65:61: note: each undeclared identifier is reported 
only once for each function it appears in
python-ethtool/ethtool.c: In function ‘get_hwaddress’:
python-ethtool/ethtool.c:117:15: error: storage size of ‘ifr’ isn’t known
  struct ifreq ifr;

...

python-ethtool/ethtool.c:929:44: error: ‘IFF_PORTSEL’ undeclared (first use in 
this function)
  PyModule_AddIntConstant(m, "IFF_PORTSEL", IFF_PORTSEL);  /* Can set media 
type. */
                                            ^
python-ethtool/ethtool.c:930:46: error: ‘IFF_AUTOMEDIA’ undeclared (first use 
in this function)
  PyModule_AddIntConstant(m, "IFF_AUTOMEDIA", IFF_AUTOMEDIA); /* Auto media 
select active. */
                                              ^
python-ethtool/ethtool.c: In function ‘get_flags’:
python-ethtool/ethtool.c:315:1: warning: control reaches end of non-void 
function [-Wreturn-type]
 }
 ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
dh_auto_build: python setup.py build --force returned exit code 1

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-ethtool.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to