[GH-ISSUE #347] Test failure on i686 and armv7hl #278

Closed
opened 2026-05-05 12:05:26 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @manisandro on GitHub (Jul 23, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/347

Originally assigned to: @jmcnamara on GitHub.

We are hitting the following test failure on Fedora/i686:

TEST 42/381 utility:test_unixtime [FAIL]
  ERR: /builddir/build/BUILD/libxlsxwriter-RELEASE_1.1.0/test/unit/utility/test_datetime_to_excel.c:644
	expected 0,
	got      49711.3

See [1] for full build.log, and root.log containing version of compiler etc.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72411207

Originally created by @manisandro on GitHub (Jul 23, 2021). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/347 Originally assigned to: @jmcnamara on GitHub. We are hitting the following test failure on Fedora/i686: TEST 42/381 utility:test_unixtime [FAIL] ERR: /builddir/build/BUILD/libxlsxwriter-RELEASE_1.1.0/test/unit/utility/test_datetime_to_excel.c:644 expected 0, got 49711.3 See [1] for full build.log, and root.log containing version of compiler etc. [1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72411207
gitea-mirror 2026-05-05 12:05:26 -06:00
Author
Owner

@manisandro commented on GitHub (Jul 23, 2021):

Same on armv7hl

<!-- gh-comment-id:885499533 --> @manisandro commented on GitHub (Jul 23, 2021): Same on armv7hl
Author
Owner

@jmcnamara commented on GitHub (Jul 23, 2021):

Thanks for the report. I'll look into it.

Could you add a link to the armv7hl logs.

<!-- gh-comment-id:885525079 --> @jmcnamara commented on GitHub (Jul 23, 2021): Thanks for the report. I'll look into it. Could you add a link to the armv7hl logs.
Author
Owner

@manisandro commented on GitHub (Jul 23, 2021):

Sure: https://koji.fedoraproject.org/koji/taskinfo?taskID=72478759

<!-- gh-comment-id:885526301 --> @manisandro commented on GitHub (Jul 23, 2021): Sure: https://koji.fedoraproject.org/koji/taskinfo?taskID=72478759
Author
Owner

@jmcnamara commented on GitHub (Jul 23, 2021):

Also, where can I get an iso for fedora 35 for testing?

<!-- gh-comment-id:885526904 --> @jmcnamara commented on GitHub (Jul 23, 2021): Also, where can I get an iso for fedora 35 for testing?
Author
Owner
<!-- gh-comment-id:885529424 --> @manisandro commented on GitHub (Jul 23, 2021): Here is the latest rawhide compose: https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20210722.n.0/compose/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-Rawhide-20210722.n.0.iso
Author
Owner

@jmcnamara commented on GitHub (Jul 26, 2021):

@manisandro could you add the output for the following from one or both of those systems:

echo | gcc -E -xc -include 'time.h' - | grep time_t | grep typedef
<!-- gh-comment-id:886975014 --> @jmcnamara commented on GitHub (Jul 26, 2021): @manisandro could you add the output for the following from one or both of those systems: ``` echo | gcc -E -xc -include 'time.h' - | grep time_t | grep typedef ```
Author
Owner

@manisandro commented on GitHub (Jul 27, 2021):

Here is a scratch build which also executes the command you posted [1]. For the arches of interest, you'll find the output in the respective build.logs.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72727811

<!-- gh-comment-id:887272697 --> @manisandro commented on GitHub (Jul 27, 2021): Here is a scratch build which also executes the command you posted [1]. For the arches of interest, you'll find the output in the respective build.logs. [1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72727811
Author
Owner

@jmcnamara commented on GitHub (Jul 27, 2021):

@manisandro Thanks for that.

I've pushed a fix for this to the main branch if you could test it.

<!-- gh-comment-id:887670033 --> @jmcnamara commented on GitHub (Jul 27, 2021): @manisandro Thanks for that. I've pushed a fix for this to the main branch if you could test it.
Author
Owner

@manisandro commented on GitHub (Jul 27, 2021):

Looks good, thanks [1]!

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72771694

<!-- gh-comment-id:887703857 --> @manisandro commented on GitHub (Jul 27, 2021): Looks good, thanks [1]! [1] https://koji.fedoraproject.org/koji/taskinfo?taskID=72771694
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#278
No description provided.