Bug#1054239: libixion FTBFS with gcc 13 on i386

2023-10-22 Thread Rene Engelhard

Hi,

Am 19.10.23 um 19:08 schrieb Adrian Bunk:

Source: libixion
Version: 0.17.0-3

0.17.0-3

Severity: serious
Tags: ftbfs trixie sid patch

https://buildd.debian.org/status/fetch.php?pkg=libixion=i386=0.19.0-1=1697292545=0


So not 0.17.0.

Or does it also happen on sid? Yes, it does.. Mentioning this could have 
been helpful otherwise I assumed just an error in Version:



...
FAIL: document-test
===

test_basic_calc: --begin
document-test: document_test.cpp:50: void test_basic_calc(): Assertion 
`doc.get_numeric_value(A1) == 1.1' failed.
FAIL document-test (exit status: 134)

FAIL: general-test
==

test_size: --begin
test size
* int: 4
* long: 4
* double: 8
* size_t: 4
* string_id_t: 4 (min:0; max:4294967295)
* celltype_t: 1
* formula_cell: 4
* formula_tokens_t: 12
test_size: --end (duration: 0 sec)
test_string_to_double: --begin
test_string_to_double: --end (duration: 0 sec)
test_string_pool: --begin
string count: 4
* 0: 'Table1' (0x57251a98)
* 1: 'Table2' (0x57251ab0)
* 2: 'Category' (0x57251ac8)
* 3: 'Value' (0x57251ae0)
string map count: 4
* key: 'Value' (0x57251ae0; 5), value: 3
* key: 'Category' (0x57251ac8; 8), value: 2
* key: 'Table2' (0x57251ab0; 6), value: 1
* key: 'Table1' (0x57251a98; 6), value: 0
test_string_pool: --end (duration: 0 sec)
test_formula_tokens_store: --begin
test_formula_tokens_store: --end (duration: 0 sec)
test_matrix: --begin
test_matrix: --end (duration: 0 sec)
test_matrix_non_numeric_values: --begin
general-test: general_test.cpp:166: void 
{anonymous}::test_matrix_non_numeric_values(): Assertion `mtx.get_numeric(0, 0) 
== 1.1' failed.
FAIL general-test (exit status: 134)


Testsuite summary for libixion 0.19.0

# TOTAL: 6
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

See src/libixion/test-suite.log

make[6]: *** [Makefile:1101: test-suite.log] Error 1

Yeah, saw this in the experimental upload.



There are two ways to fix this:


--- debian/rules.old2023-10-19 17:03:33.109096000 +
+++ debian/rules2023-10-19 17:03:52.569079353 +
@@ -5,6 +5,8 @@
  
  include /usr/share/dpkg/architecture.mk
  
+export DEB_CXXFLAGS_MAINT_APPEND += -fexcess-precision=fast

+
  %:
dh $@
  


Will do that one, thanks.


Regards,


Rene



Bug#1054239: libixion FTBFS with gcc 13 on i386

2023-10-19 Thread Adrian Bunk
Source: libixion
Version: 0.17.0-3
Severity: serious
Tags: ftbfs trixie sid patch

https://buildd.debian.org/status/fetch.php?pkg=libixion=i386=0.19.0-1=1697292545=0

...
FAIL: document-test
===

test_basic_calc: --begin
document-test: document_test.cpp:50: void test_basic_calc(): Assertion 
`doc.get_numeric_value(A1) == 1.1' failed.
FAIL document-test (exit status: 134)

FAIL: general-test
==

test_size: --begin
test size
* int: 4
* long: 4
* double: 8
* size_t: 4
* string_id_t: 4 (min:0; max:4294967295)
* celltype_t: 1
* formula_cell: 4
* formula_tokens_t: 12
test_size: --end (duration: 0 sec)
test_string_to_double: --begin
test_string_to_double: --end (duration: 0 sec)
test_string_pool: --begin
string count: 4
* 0: 'Table1' (0x57251a98)
* 1: 'Table2' (0x57251ab0)
* 2: 'Category' (0x57251ac8)
* 3: 'Value' (0x57251ae0)
string map count: 4
* key: 'Value' (0x57251ae0; 5), value: 3
* key: 'Category' (0x57251ac8; 8), value: 2
* key: 'Table2' (0x57251ab0; 6), value: 1
* key: 'Table1' (0x57251a98; 6), value: 0
test_string_pool: --end (duration: 0 sec)
test_formula_tokens_store: --begin
test_formula_tokens_store: --end (duration: 0 sec)
test_matrix: --begin
test_matrix: --end (duration: 0 sec)
test_matrix_non_numeric_values: --begin
general-test: general_test.cpp:166: void 
{anonymous}::test_matrix_non_numeric_values(): Assertion `mtx.get_numeric(0, 0) 
== 1.1' failed.
FAIL general-test (exit status: 134)


Testsuite summary for libixion 0.19.0

# TOTAL: 6
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

See src/libixion/test-suite.log

make[6]: *** [Makefile:1101: test-suite.log] Error 1



There are two ways to fix this:


--- debian/rules.old2023-10-19 17:03:33.109096000 +
+++ debian/rules2023-10-19 17:03:52.569079353 +
@@ -5,6 +5,8 @@
 
 include /usr/share/dpkg/architecture.mk
 
+export DEB_CXXFLAGS_MAINT_APPEND += -fexcess-precision=fast
+
 %:
dh $@
 


OR


--- configure.ac.old2023-10-19 17:04:03.837069635 +
+++ configure.ac2023-10-19 17:04:13.189061522 +
@@ -19,7 +19,7 @@
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2 dist-xz])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-AX_CXX_COMPILE_STDCXX_17([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_17([ext], [mandatory])
 CXXFLAGS="$CXXFLAGS -fvisibility=hidden -Wall -Wshadow -Wno-write-strings 
-pthread"
 
 AC_CANONICAL_HOST