[Pkg-net-snmp-devel] Bug#825014: net-snmp: FTBFS with Perl 5.24: error: conflicting types for 'U64'

Niko Tyni ntyni at debian.org
Sun May 22 13:55:36 UTC 2016


Package: net-snmp
Version: 5.7.3+dfsg-1.3
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.24-transition zrh2016

This package fails to build with Perl 5.24 (currently in experimental).

  libtool: compile:  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -Wdate-time -D_FORTIFY_SOURCE=2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE -c snmp_perl.c  -fPIC -DPIC -o .libs/snmp_perl.o
  In file included from ../include/net-snmp/utilities.h:42:0,
                   from ../include/net-snmp/net-snmp-includes.h:71,
                   from snmp_perl.c:9:
  ../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64'
       typedef struct counter64 U64;
                                ^
  In file included from /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:2684:0,
                   from snmp_perl.c:6:
  /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/handy.h:179:17: note: previous declaration of 'U64' was here
   typedef U64TYPE U64;
                   ^
  Makefile:99: recipe for target 'snmp_perl.lo' failed
  make[2]: *** [snmp_perl.lo] Error 1

See http://perl.debian.net/rebuild-logs/perl-5.24/net-snmp_5.7.3%2Bdfsg-1.3/
for a full build log, and
https://code.activestate.com/lists/perl5-porters/226385/ for a related
upstream thread.
-- 
Niko Tyni   ntyni at debian.org



More information about the Pkg-net-snmp-devel mailing list