Bug#1086655: libgeo-libproj-ffi-perl: (autopkg)test failures on armel and armhf

Andreas Vögele andreas at andreasvoegele.com
Wed Feb 19 10:09:03 GMT 2025


Andreas Vögele wrote:
> This is an alignment bug. The file lib/Geo/LibProj/FFI.pm or rather 
> the module Convert::Binary::C doesn't take into account that pointers 
> are 32-bits long on armhf but that double struct members are 8-byte 
> aligned. The tests in t/lists.t pass if the alignment is set to 8 on 
> armhf.
Convert::Binary::C does not use native alignment by default. If 
Convert::Binary::C is instantiated with Alignment => 0, "the alignment 
of the system that Convert::Binary::C has been compiled on" will be 
used. I've created an issue: 
https://github.com/johannessen/proj-perl-ffi/issues/4



More information about the pkg-perl-maintainers mailing list