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

Aurelien Jarno aurelien at aurel32.net
Wed Jul 4 20:51:32 BST 2018


control: forwarded -1 https://github.com/esheldon/fitsio/issues/86

On 2018-07-04 17:48, Steve McIntyre wrote:
> 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

This is upstream issue #86. Marking the bug as forwarded.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net



More information about the Debian-astro-maintainers mailing list