[Bug 1918456] Re: test failure - invalid conversion on armhf
Dan Bungert
1918456 at bugs.launchpad.net
Tue Mar 16 17:52:05 UTC 2021
Patch attached - fixes test by using LONG_MAX/MIN instead of hardcoded
values that assume long int == int64_t.
** Patch added: "1-4.1-4ubuntu2.debdiff"
https://bugs.launchpad.net/ubuntu/+source/iniparser/+bug/1918456/+attachment/5477288/+files/1-4.1-4ubuntu2.debdiff
** Changed in: iniparser (Ubuntu)
Status: In Progress => Confirmed
** Changed in: iniparser (Ubuntu)
Assignee: Dan Bungert (dbungert) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iniparser in Ubuntu.
Matching subscriptions: foundations-bugs-with-comments
https://bugs.launchpad.net/bugs/1918456
Title:
test failure - invalid conversion on armhf
Status in iniparser package in Ubuntu:
Confirmed
Bug description:
The following armhf test failure has been observed:
1) Test_iniparser_getlongint: test_iniparser.c:385: expected <-1> but was <2147483647>
Some of the warnings may also be relevant:
test_iniparser.c:353:9: warning: integer constant is too large for ‘long’ type [-Wlong-long]
353 | { 0x7FFFFFFFFFFFFFFF, "0x7FFFFFFFFFFFFFFF" },
| ^
test_iniparser.c:353:11: warning: overflow in conversion from ‘long long int’ to ‘long int’ changes value from ‘9223372036854775807’ to ‘-1’ [-Woverflow]
353 | { 0x7FFFFFFFFFFFFFFF, "0x7FFFFFFFFFFFFFFF" },
| ^~~~~~~~~~~~~~~~~~
test_iniparser.c:354:9: warning: integer constant is too large for ‘long’ type [-Wlong-long]
354 | { -0x7FFFFFFFFFFFFFFF, "-0x7FFFFFFFFFFFFFFF" },
| ^
... [ several more like this follow ]
https://launchpadlibrarian.net/527109834/buildlog_ubuntu-hirsute-
armhf.iniparser_4.1-4ubuntu1_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iniparser/+bug/1918456/+subscriptions
More information about the foundations-bugs
mailing list