[Reproducible-builds] Bug#813669: libteam: FTBFS: nl_updates.h:48:19: error: static declaration of 'nla_put_s8' follows non-static declaration

Chris Lamb lamby at debian.org
Thu Feb 4 07:59:16 UTC 2016


Source: libteam
Version: 1.18-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

libteam fails to build from source in unstable/amd64:

  [..]

  /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -ffunction-sections -fdata-sections -I/usr/include/libnl3 -I../include -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libteam_la-options.lo `test -f 'options.c' || echo './'`options.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -ffunction-sections -fdata-sections -I/usr/include/libnl3 -I../include -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c options.c  -fPIC -DPIC -o .libs/libteam_la-options.o
  In file included from options.c:49:0:
  nl_updates.h:48:19: error: static declaration of 'nla_put_s8' follows non-static declaration
   static inline int nla_put_s8(struct nl_msg *msg, int attrtype, int8_t value)
                     ^
  In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                   from /usr/include/libnl3/netlink/genl/genl.h:16,
                   from options.c:39:
  /usr/include/libnl3/netlink/attr.h:110:25: note: previous declaration of 'nla_put_s8' was here
   extern int              nla_put_s8(struct nl_msg *, int, int8_t);
                           ^
  In file included from options.c:49:0:
  nl_updates.h:59:8: error: conflicting types for 'nla_get_s8'
   int8_t nla_get_s8(struct nlattr *nla)
          ^
  In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                   from /usr/include/libnl3/netlink/genl/genl.h:16,
                   from options.c:39:
  /usr/include/libnl3/netlink/attr.h:109:25: note: previous declaration of 'nla_get_s8' was here
   extern int8_t           nla_get_s8(const struct nlattr *);
                           ^
  In file included from options.c:49:0:
  nl_updates.h:84:9: error: conflicting types for 'nla_get_s16'
   int16_t nla_get_s16(struct nlattr *nla)
           ^
  In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                   from /usr/include/libnl3/netlink/genl/genl.h:16,
                   from options.c:39:
  /usr/include/libnl3/netlink/attr.h:113:25: note: previous declaration of 'nla_get_s16' was here
   extern int16_t          nla_get_s16(const struct nlattr *);
                           ^
  In file included from options.c:49:0:
  nl_updates.h:109:9: error: conflicting types for 'nla_get_s32'
   int32_t nla_get_s32(struct nlattr *nla)
           ^
  In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                   from /usr/include/libnl3/netlink/genl/genl.h:16,
                   from options.c:39:
  /usr/include/libnl3/netlink/attr.h:117:25: note: previous declaration of 'nla_get_s32' was here
   extern int32_t          nla_get_s32(const struct nlattr *);
                           ^
  In file included from options.c:49:0:
  nl_updates.h:170:9: error: conflicting types for 'nla_get_s64'
   int64_t nla_get_s64(struct nlattr *nla)
           ^
  In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                   from /usr/include/libnl3/netlink/genl/genl.h:16,
                   from options.c:39:
  /usr/include/libnl3/netlink/attr.h:121:25: note: previous declaration of 'nla_get_s64' was here
   extern int64_t          nla_get_s64(const struct nlattr *);
                           ^
  Makefile:487: recipe for target 'libteam_la-options.lo' failed
  make[3]: *** [libteam_la-options.lo] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160204084851.hS0UUhWs3m/libteam-1.18/libteam'
  Makefile:422: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160204084851.hS0UUhWs3m/libteam-1.18'
  Makefile:354: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160204084851.hS0UUhWs3m/libteam-1.18'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:8: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libteam.1.18-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3460 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160204/319ca5a5/attachment.obj>


More information about the Reproducible-builds mailing list