severity 653848 serious
tags 653848 + patch pending
thanks

Upping the severity accordingly, as the package FTBFS.

Unfortunately, simply updating the build dependency from libnl3-dev
to libnl-route-3-dev is not sufficient.
The ntrack build still fails due to the usage of Werror and issues in
the libnl3 headers. The build log is attached.

@Heiko: While using -Werror in release builds is usually not such a
great idea you might be interested in updating libnl3 and fixing those
issues. If you prefer, I can file a bug for that.

@Alex: To unblock the testing migration of libnl3 3.2, I've uploaded a
fix for ntrack to DELAYED/5 which uses -Wno-error.
A full debdiff is attached.
Please let me know, if I should cancel the NMU or delay it further in
case you want to wait for a fix in libnl3.

I've also updated the symbols file for libnl-qt4-1 while at it.

Cheers,
Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


diff -u ntrack-016/debian/libntrack-qt4-1.symbols ntrack-016/debian/libntrack-qt4-1.symbols
--- ntrack-016/debian/libntrack-qt4-1.symbols
+++ ntrack-016/debian/libntrack-qt4-1.symbols
@@ -6,6 +6,7 @@
  _ZN15QNtrackListener16staticMetaObjectE@Base 005
  _ZN15QNtrackListenerD0Ev@Base 005
  _ZN15QNtrackListenerD1Ev@Base 005
+ _ZN15QNtrackListenerD2Ev@Base 016
  _ZN7QNtrack11qt_metacallEN11QMetaObject4CallEiPPv@Base 005
  _ZN7QNtrack11qt_metacastEPKc@Base 005
  _ZN7QNtrack12monitorEventE14ntrack_event_t@Base 005
diff -u ntrack-016/debian/control ntrack-016/debian/control
--- ntrack-016/debian/control
+++ ntrack-016/debian/control
@@ -4,7 +4,7 @@
 Priority: optional
 Build-Depends: debhelper (>=5), cdbs, quilt,
  libglib2.0-dev,
- libnl3-dev,
+ libnl-route-3-dev,
  python-gtk2-dev,
  libqt4-dev
 Standards-Version: 3.9.1
diff -u ntrack-016/debian/changelog ntrack-016/debian/changelog
--- ntrack-016/debian/changelog
+++ ntrack-016/debian/changelog
@@ -1,3 +1,13 @@
+ntrack (016-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update build dependency on libnl3-dev to libnl-route-3-dev.
+    (Closes: #653848)
+  * Build with -Wno-error to work around some issues in libnl 3.2.
+  * Update symbols file for libntrack-qt4-1.
+
+ -- Michael Biebl <bi...@debian.org>  Thu, 05 Jan 2012 19:43:44 +0100
+
 ntrack (016-1) unstable; urgency=low
 
   Package upstream release 016
diff -u ntrack-016/debian/rules ntrack-016/debian/rules
--- ntrack-016/debian/rules
+++ ntrack-016/debian/rules
@@ -4,6 +4,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
+CFLAGS += -Wno-error
+
 DEB_CONFIGURE_EXTRA_FLAGS := \
 	--enable-backend=libnl,rtnetlink \
 	$(NULL)
make[2]: Entering directory `/home/michael/debian/build-area/ntrack-016/modules'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    
-I/usr/include/libnl3   -DHAVE_LIBNL3_X -Wall -Werror -Wno-variadic-macros 
-pedantic -I../common/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Wformat-security -Werror=format-security -Wall -c -o 
ntrack_libnl3_x_la-ntrack-libnl.lo `test -f 'ntrack-libnl.c' || echo 
'./'`ntrack-libnl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libnl3 
-DHAVE_LIBNL3_X -Wall -Werror -Wno-variadic-macros -pedantic -I../common/ -g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -c ntrack-libnl.c  -fPIC -DPIC -o 
.libs/ntrack_libnl3_x_la-ntrack-libnl.o
In file included from /usr/include/libnl3/netlink/netlink.h:31:0,
                 from ntrack-libnl.c:35:
/usr/include/libnl3/netlink/types.h:25:15: error: comma at end of enumerator 
list [-Werror=edantic]
In file included from /usr/include/libnl3/netlink/netlink.h:32:0,
                 from ntrack-libnl.c:35:
/usr/include/libnl3/netlink/handlers.h:65:9: error: comma at end of enumerator 
list [-Werror=edantic]
/usr/include/libnl3/netlink/handlers.h:81:18: error: comma at end of enumerator 
list [-Werror=edantic]
/usr/include/libnl3/netlink/handlers.h:113:18: error: comma at end of 
enumerator list [-Werror=edantic]
In file included from /usr/include/libnl3/netlink/object.h:16:0,
                 from /usr/include/libnl3/netlink/netlink.h:34,
                 from ntrack-libnl.c:35:
/usr/include/libnl3/netlink/utils.h:43:13: error: comma at end of enumerator 
list [-Werror=edantic]
/usr/include/libnl3/netlink/utils.h:47:50: error: ISO C90 does not support 
'long long' [-Werror=long-long]
/usr/include/libnl3/netlink/utils.h:48:49: error: ISO C90 does not support 
'long long' [-Werror=long-long]
/usr/include/libnl3/netlink/utils.h:49:38: error: ISO C90 does not support 
'long long' [-Werror=long-long]
In file included from /usr/include/libnl3/netlink/netlink.h:35:0,
                 from ntrack-libnl.c:35:
/usr/include/libnl3/netlink/cache-api.h:118:14: error: comma at end of 
enumerator list [-Werror=edantic]
/usr/include/libnl3/netlink/cache-api.h:221:20: error: ISO C90 does not support 
flexible array members [-Werror=edantic]
In file included from /usr/include/libnl3/netlink/msg.h:17:0,
                 from /usr/include/libnl3/netlink/cache.h:16,
                 from /usr/include/libnl3/netlink/route/addr.h:18,
                 from ntrack-libnl.c:38:
/usr/include/libnl3/netlink/attr.h:47:16: error: comma at end of enumerator 
list [-Werror=edantic]
In file included from /usr/include/libnl3/netlink/route/addr.h:20:0,
                 from ntrack-libnl.c:38:
/usr/include/libnl3/netlink/route/link.h:95:23: error: comma at end of 
enumerator list [-Werror=edantic]
In file included from /usr/include/libnl3/netlink/route/route.h:19:0,
                 from ntrack-libnl.c:41:
/usr/include/libnl3/netlink/route/nexthop.h:27:22: error: comma at end of 
enumerator list [-Werror=edantic]
cc1: all warnings being treated as errors

make[2]: *** [ntrack_libnl3_x_la-ntrack-libnl.lo] Error 1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to