Package: collectd
Version: 4.5.1-1
Severity: serious

Hi,

your package failed to build from source. The reason seems to be that
netinet/in.h now defines in6_addr a bit different:
struct in6_addr
  {
    union
      {
        uint8_t __u6_addr8[16];
#if defined __USE_MISC || defined __USE_GNU
        uint16_t __u6_addr16[8];
        uint32_t __u6_addr32[4];
#endif
      } __in6_u;
#define s6_addr                 __in6_u.__u6_addr8
#if defined __USE_MISC || defined __USE_GNU
# define s6_addr16              __in6_u.__u6_addr16
# define s6_addr32              __in6_u.__u6_addr32
#endif
  };

So you either need to use the definition in linux/in6.h or adapt the
code.

| Automatic build of collectd_4.5.1-1 on signy by sbuild/mips 98-farm
| Build started at 20090329-1700
| ******************************************************************************
| Checking available source versions...
| Fetching source files...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Need to get 1317kB of source archives.
| Get:1 http://ftp.de.debian.org experimental/main collectd 4.5.1-1 (dsc) 
[1769B]
| Get:2 http://ftp.de.debian.org experimental/main collectd 4.5.1-1 (tar) 
[1279kB]
| Get:3 http://ftp.de.debian.org experimental/main collectd 4.5.1-1 (diff) 
[35.4kB]
| Fetched 1317kB in 32s (40.1kB/s)
| Download complete and in download only mode
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.10), po-debconf, dpatch, 
bison, flex, autotools-dev, pkg-config, linux-libc-dev (>= 2.6.25-4) | 
linux-libc-dev (<< 2.6.25-1), libcurl4-gnutls-dev (>= 7.18.2-5) | 
libcurl4-gnutls-dev (<= 7.18.2-1) | libcurl3-gnutls-dev, libmysqlclient15-dev, 
librrd-dev | librrd2-dev, libsensors-dev, liboping-dev (>= 0.3.3), 
libpcap0.8-dev | libpcap-dev, libupsclient1-dev, libperl-dev, iproute-dev 
[!alpha !amd64 !hppa !ia64 !ppc64], libsnmp-dev | libsnmp9-dev, libvirt-dev (>= 
0.4.0-6) [amd64 i386 powerpc], libxml2-dev, libhal-dev, libopenipmi-dev (>= 
2.0.14-1~), libglib2.0-dev, libnotify-dev, libesmtp-dev, libpq-dev
| Build-Conflicts: libpthread-dev
| Checking for already installed source dependencies...
[...]
| /bin/sh ../../libtool --tag=CC   --mode=compile mips-linux-gnu-gcc 
-DHAVE_CONFIG_H -I. -I../../src   -I/build/buildd/collectd-4.5.1/debian/include 
-DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL' -UCONFIGFILE 
-DCONFIGFILE='"/etc/collectd/collectd.conf"' -DIPTABLES_VERSION=\"1.4.0\" 
-I/lib/modules/2.6.26-1-r4k-ip22/source/include -Wall -g -O2 -c -o 
libiptc_la-libip6tc.lo `test -f 'libip6tc.c' || echo './'`libip6tc.c
|  mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src 
-I/build/buildd/collectd-4.5.1/debian/include 
"-DLT_LAZY_OR_NOW=RTLD_LAZY|RTLD_GLOBAL" -UCONFIGFILE 
-DCONFIGFILE=\"/etc/collectd/collectd.conf\" -DIPTABLES_VERSION=\"1.4.0\" 
-I/lib/modules/2.6.26-1-r4k-ip22/source/include -Wall -g -O2 -c libip6tc.c  
-fPIC -DPIC -o .libs/libiptc_la-libip6tc.o
| libip6tc.c: In function 'ipv6_prefix_length':
| libip6tc.c:141: error: 'const struct in6_addr' has no member named 'in6_u'
| libip6tc.c:145: error: 'const struct in6_addr' has no member named 'in6_u'
| make[4]: *** [libiptc_la-libip6tc.lo] Error 1
| make[4]: Leaving directory `/build/buildd/collectd-4.5.1/src/libiptc'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/build/buildd/collectd-4.5.1/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/build/buildd/collectd-4.5.1/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/build/buildd/collectd-4.5.1'
| make: *** [build-stamp] Error 2
| dpkg-buildpackage: failure: debian/rules build gave error exit status 2
| ******************************************************************************
| Build finished at 20090329-1751
| FAILED [dpkg-buildpackage died]

Full build log(s): 
http://experimental.ftbfs.de/build.php?&ver=4.5.1-1&pkg=collectd&arch=mips

Gruesse,
-- 
Frank Lichtenheld <dj...@debian.org>
www: http://www.djpig.de/



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to