Source: ndpi
Version: 3.4-1
Severity: important
Tags: patch ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ndpi&arch=i386&ver=3.4-2&stamp=1610990009&raw=0

...
zoom.pcap                               ERROR
../example/ndpiReader -p ../example/protos.txt -c ../example/categories.txt -q 
-t -i pcap/zoom.pcap -w /tmp/reader.out -v 2 [old vs new]
31c31
<       13      TCP 192.168.1.117:53867 <-> 104.199.65.42:80 [proto: 
7.126/HTTP.Google][cat: Web/5][4 pkts/710 bytes <-> 2 pkts/242 bytes][Goodput 
ratio: 63/45][0.09 sec][bytes ratio: 0.492 (Upload)][IAT c2s/s2c 
min/avg/max/stddev: 30/64 31/64 32/64 1/0][Pkt Len c2s/s2c min/avg/max/stddev: 
66/121 178/121 329/121 115/0][Plen Bins: 
0,50,0,0,0,25,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
---
>       13      TCP 192.168.1.117:53867 <-> 104.199.65.42:80 [proto: 
> 7.126/HTTP.Google][cat: Web/5][4 pkts/710 bytes <-> 2 pkts/242 bytes][Goodput 
> ratio: 63/45][0.10 sec][bytes ratio: 0.492 (Upload)][IAT c2s/s2c 
> min/avg/max/stddev: 30/64 31/64 32/64 1/0][Pkt Len c2s/s2c 
> min/avg/max/stddev: 66/121 178/121 329/121 115/0][Plen Bins: 
> 0,50,0,0,0,25,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 1



If exact results are required, the following patch mitigates
the x87 excess precision:

--- debian/rules.old    2021-02-01 06:50:37.795280557 +0000
+++ debian/rules        2021-02-01 06:51:08.671237643 +0000
@@ -5,6 +5,10 @@
 include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+    export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
+endif
+
 # Used by debian/libndpi-wireshark.{install,links}. Evaluated when referenced.
 WIRESHARK_PLUGINDIR = $(shell pkg-config --variable=plugindir wireshark)
 export WIRESHARK_PLUGINDIR

Reply via email to