[Debian-astro-maintainers] Bug#902990: FTBFS: bus error, alignment problems

Steve McIntyre steve at einval.com
Wed Jul 4 17:48:25 BST 2018


On Wed, Jul 04, 2018 at 04:56:30PM +0100, Steve McIntyre wrote:
>Source: python-fitsio
>Version: 0.9.11+dfsg-1
>Severity: serious
>Justification: fails to build from source (but built successfully in the past)
>
>Hi!
>
>First seen on the build arm-arm-01 which is an arm64 machine
>configured to build for armhf, build log at
>
>https://buildd.debian.org/status/fetch.php?pkg=python-fitsio&arch=armhf&ver=0.9.11%2Bdfsg-1%2Bb2&stamp=1530604224&raw=0

...

>The ldrd instruction will be the read from input[ii]. That's clearly
>unaligned, given the LONGLONG *input which starts at 0x16568df.
>
>This doesn't look like an issue with the compiler coalescing unrelated
>values (which was an initial guess at the problem when discussing it
>in #debian-buildd). It's simply reading an unaligned 64-bit value and
>that's failing.

Just tested this on the 32-bit porter box abel. It builds fine there
as we have (slow) alignment fixups enabled in the kernel. Disabling
that briefly and rebuilding, I see exactly the same build failure:

...
I: pybuild base:217: cd /home/93sam/build/python-fitsio/python-fitsio-0.9.11+dfsg/.pybuild/cpython2_2.7_fitsio/build; python2.7 -m unittest discover -v 
testAsciiTableWriteRead (fitsio.test.TestReadWrite) ... ok
testBz2Read (fitsio.test.TestReadWrite) ... skipped 'bzip2 is not supported with debian cfitsio package'
testChecksum (fitsio.test.TestReadWrite) ... Bus error
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=135: cd /home/93sam/build/python-fitsio/python-fitsio-0.9.11+dfsg/.pybuild/cpython2_2.7_fitsio/build; python2.7 -m unittest discover -v 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
Who needs computer imagery when you've got Brian Blessed?



More information about the Debian-astro-maintainers mailing list