Hi Adrian,

This should be reported upstream, see:

https://github.com/jmacd/xdelta/issues

The testsuite also fails with unaligned access:

https://buildd.debian.org/status/fetch.php?pkg=xdelta3&arch=sparc64&ver=3.0.11-dfsg-1.2&stamp=1757507449&raw=0

I can file the bug report.

That would be much appreciated, thanks!

Interestingly, xdelta3 already contains code to detect and account for 
unaligned memory access. There's an m4 script that's supposed to do the 
detection (m4/ax_check_aligned_access_required.m4), but it seems like it's not 
doing its job correctly.

By putting the following into debian/rules, the script can be bypassed:

override_dh_auto_configure:
        dh_auto_configure $@ -- ax_cv_have_aligned_access_required=yes

This makes the bus error go away. The pristine-tar build is still failing, but 
this might have other reasons.

Regards,
Gregor

Reply via email to