Created attachment 886895 [details]
The profiles_tests.py fails on 64-bit big endian arches (s390x, ppc64), 32-bit arches are OK, please see attached log for details
Version-Release number of selected component (if applicable):
Thanks for the report, I will try to see if I can spot anything obvious.
Created attachment 887349 [details]
Fix generated code for parsing integers/longs/enums
I think I've found the potential issue, it's in autogeneratd code that I think would easily fail if an enum is not the same size of an integer.
This would affect any architecture but is probably masked on little endian machines by luck.
Would you be able to check if this patch makes tests pas on big endian archs ?
I do not have access to any big endian machine ATM.
Thanks for looking, but I still get the same errors with the patch applied :-(
I've also sent you info about our developer machines in an email.
Created attachment 887633 [details]
Fix incorrect assumption about size of int vs size of pointer
There was an additional bug lurking in the code that shows up in architecttures where sizeof(int) != sizeof(void *), like ppc64.
This patch is a small workaround, and make the tests pass, but it is probably not the final say wrt upstream.
Please try with both patches, my experiment on the machine you kindly allowed me to access says that now tests pass.
I've pushed 2.4.0-2 into rawhide git and started a build.
This version contains 2 patches approved by upstream that should fix the problem.
I tested with make && make check on ppc64
Closing with the tag 'rawhide'.