control: severity -1 normal On 2014-07-13 05:31:36 [+0200], Cyril Brulebois wrote: > Source: polygraph > Version: 4.3.2-1.2 > Severity: serious > Justification: FTBFS > > Hi,
Hi, I change the severity to normal because kfreebsd is not a release architecture and as such it is no longer serious. > your package no longer builds on kfreebsd-*, even if that could be some > header bug: Yes, I think it is a header bug in kfreebsd. The .1 version built and .2 does no longer and the only change in the package was: | Use autotools-dev in build to support new architectures (Closes: | #727944) however I was looking at it since I plan to NMU the other RC bug and > | g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../.. -I../../src > -I/usr/include -g -O3 -Wall -Wwrite-strings -Woverloaded-virtual -c -o > NetAddr.o NetAddr.cc > | In file included from /usr/include/net/if_var.h:89:0, > | from ../../src/xstd/h/net/if.h:17, > | from ../../src/xstd/h/netinet.h:13, > | from ../../src/xstd/InAddress.h:10, > | from ../../src/xstd/NetAddr.h:9, > | from NetAddr.cc:12: > | /usr/include/sys/lock.h:64:45: error: 'uintptr_t' has not been declared > | void (*lc_lock)(struct lock_object *lock, uintptr_t how); Still happens on falla/sid. lock.h itself uses uintptr_t while it never pulled in "stdint.h". If I add #include <stdint.h> to the top of src/xstd/xstd.h the builds fails at: |g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../.. -I../../src -I/usr/include -g -O3 -Wall -Wwrite-strings -Woverloaded-virtual -c -o NetIface.o NetIface.cc |In file included from NetIface.cc:17:0: |../../src/xstd/InetIfReq.h:67:8: error: redefinition of 'struct in6_ifreq' | struct in6_ifreq { | ^ |In file included from /usr/include/x86_64-kfreebsd-gnu/netinet/in_var.h:480:0, | from ../../src/xstd/h/netinet.h:28, | from NetIface.cc:11: |/usr/include/x86_64-kfreebsd-gnu/netinet6/in6_var.h:288:8: error: previous definition of 'struct in6_ifreq' | struct in6_ifreq { | ^ |In file included from NetIface.cc:17:0: |../../src/xstd/InetIfReq.h:72:8: error: redefinition of 'struct in6_aliasreq' | struct in6_aliasreq: public in6_ifreq { | ^ |In file included from /usr/include/x86_64-kfreebsd-gnu/netinet/in_var.h:480:0, | from ../../src/xstd/h/netinet.h:28, | from NetIface.cc:11: |/usr/include/x86_64-kfreebsd-gnu/netinet6/in6_var.h:304:8: error: previous definition of 'struct in6_aliasreq' | struct in6_aliasreq { and this happens because of the missing stdint.h include in the configure script (for HAVE_TYPE_IN6_ALIASREQ check). And then we get to |make[3]: Entering directory '/home/bigeasy/polygraph/polygraph-4.3.2/src/base' |g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../.. -I../../src -I/usr/include -g -O3 -Wall -Wwrite-strings -Woverloaded-virtual -c -o ForeignTrace.o ForeignTrace.cc |In file included from /usr/include/x86_64-kfreebsd-gnu/net/if_var.h:89:0, | from ../../src/xstd/h/net/if.h:17, | from ../../src/xstd/h/netinet.h:13, | from ../../src/xstd/InAddress.h:10, | from ../../src/xstd/NetAddr.h:9, | from ForeignTrace.cc:12: |/usr/include/x86_64-kfreebsd-gnu/sys/lock.h:64:45: error: 'uintptr_t' has not been declared | void (*lc_lock)(struct lock_object *lock, uintptr_t how); | ^ |/usr/include/x86_64-kfreebsd-gnu/sys/lock.h:67:13: error: expected identifier before '*' token | uintptr_t (*lc_unlock)(struct lock_object *lock); | ^ |/usr/include/x86_64-kfreebsd-gnu/sys/lock.h:67:49: error: 'uintptr_t' declared as function returning a function | uintptr_t (*lc_unlock)(struct lock_object *lock); | ^ I've seen this already… Is it possible to get the headers for kfreebsd fixed? > Mraw, > KiBi. Sebastian