[Python-modules-team] Bug#871156: pyfits: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

Lucas Nussbaum lucas at debian.org
Sun Aug 6 21:33:30 UTC 2017


Source: pyfits
Version: 1:3.4-4
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c src/compressionmodule.c -o build/temp.linux-amd64-2.7/src/compressionmodule.o -Wno-declaration-after-statement -Wno-unused-variable -Wno-parentheses -Wno-uninitialized -Wno-format -Wno-strict-prototypes -Wno-unused -Wno-comments -Wno-switch
> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1788:0,
>                  from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
>                  from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from src/compressionmodule.c:97:
> /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>  #warning "Using deprecated NumPy API, disable it by " \
>   ^~~~~~~
> src/compressionmodule.c: In function 'get_header_string':
> src/compressionmodule.c:255:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
>          *val = def;
>               ^
> cc1: some warnings being treated as errors
> building optional extension "pyfits.compression" failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Failed to build PyFITS tile compression support.  PyFITS will still
> function, but without the ability to read or write compressed images.
> Please seek support from help at stsci.edu if you need this capability.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> running build_scripts
> creating build/scripts-2.7
> copying and adjusting scripts/fitscheck -> build/scripts-2.7
> copying and adjusting scripts/fitsdiff -> build/scripts-2.7
> copying and adjusting scripts/fitshead -> build/scripts-2.7
> changing mode of build/scripts-2.7/fitscheck from 664 to 775
> changing mode of build/scripts-2.7/fitsdiff from 664 to 775
> changing mode of build/scripts-2.7/fitshead from 664 to 775
> I: pybuild base:184: /usr/bin/python3.6 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/file.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/card.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/verify.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/_numpy_hacks.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/py3compat.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/header.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/core.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/_release.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/column.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/convenience.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/version.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/diff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> copying pyfits/fitsrec.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/_compat
> copying pyfits/_compat/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/_compat
> copying pyfits/_compat/weakref.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/_compat
> copying pyfits/_compat/odict.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/_compat
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/extern
> copying pyfits/extern/six.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/extern
> copying pyfits/extern/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/extern
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/table.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/image.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/compressed.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/hdulist.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/streaming.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/base.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/groups.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> copying pyfits/hdu/nonstandard.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/hdu
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> copying pyfits/scripts/fitscheck.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> copying pyfits/scripts/fitsinfo.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> copying pyfits/scripts/fitsheader.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> copying pyfits/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> copying pyfits/scripts/fitsdiff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/scripts
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_header.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_checksum.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_diff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_table.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_image.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_uint.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_nonstandard.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_structured.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_hdulist.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_division.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> copying pyfits/tests/test_groups.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/stddata.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/checksum.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/test0.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/table.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/o4sp040b0_raw.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/tb.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/arange.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/scale.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/random_groups.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/blank.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/fixed-1890.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/memtest.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/zerowidth.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/ascii.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/comp.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> copying pyfits/tests/data/tdim.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/pyfits/tests/data
> running build_ext
> running pre_hook stsci.distutils.hooks.numpy_extension_hook for command build_ext
> building 'pyfits.compression' extension
> creating build/temp.linux-amd64-3.6
> creating build/temp.linux-amd64-3.6/src
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.6m -c src/compressionmodule.c -o build/temp.linux-amd64-3.6/src/compressionmodule.o -Wno-declaration-after-statement -Wno-unused-variable -Wno-parentheses -Wno-uninitialized -Wno-format -Wno-strict-prototypes -Wno-unused -Wno-comments -Wno-switch
> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1788:0,
>                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
>                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from src/compressionmodule.c:97:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>  #warning "Using deprecated NumPy API, disable it by " \
>   ^~~~~~~
> src/compressionmodule.c: In function 'get_header_string':
> src/compressionmodule.c:255:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
>          *val = def;
>               ^
> cc1: some warnings being treated as errors
> building optional extension "pyfits.compression" failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Failed to build PyFITS tile compression support.  PyFITS will still
> function, but without the ability to read or write compressed images.
> Please seek support from help at stsci.edu if you need this capability.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> running build_scripts
> creating build/scripts-3.6
> copying and adjusting scripts/fitscheck -> build/scripts-3.6
> copying and adjusting scripts/fitsdiff -> build/scripts-3.6
> copying and adjusting scripts/fitshead -> build/scripts-3.6
> changing mode of build/scripts-3.6/fitscheck from 664 to 775
> changing mode of build/scripts-3.6/fitsdiff from 664 to 775
> changing mode of build/scripts-3.6/fitshead from 664 to 775
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/file.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/card.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/verify.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/_numpy_hacks.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/py3compat.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/header.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/core.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/_release.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/column.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/convenience.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/version.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/diff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> copying pyfits/fitsrec.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/_compat
> copying pyfits/_compat/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/_compat
> copying pyfits/_compat/weakref.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/_compat
> copying pyfits/_compat/odict.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/_compat
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/extern
> copying pyfits/extern/six.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/extern
> copying pyfits/extern/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/extern
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/table.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/image.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/compressed.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/hdulist.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/streaming.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/base.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/groups.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> copying pyfits/hdu/nonstandard.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/hdu
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> copying pyfits/scripts/fitscheck.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> copying pyfits/scripts/fitsinfo.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> copying pyfits/scripts/fitsheader.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> copying pyfits/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> copying pyfits/scripts/fitsdiff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/scripts
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_header.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_checksum.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_diff.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_table.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_image.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_uint.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_nonstandard.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_structured.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_hdulist.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_division.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_util.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> copying pyfits/tests/test_groups.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/stddata.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/checksum.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/test0.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/table.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/o4sp040b0_raw.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/tb.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/arange.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/scale.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/random_groups.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/blank.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/fixed-1890.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/memtest.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/zerowidth.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/ascii.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/comp.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> copying pyfits/tests/data/tdim.fits -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/pyfits/tests/data
> running build_ext
> running pre_hook stsci.distutils.hooks.numpy_extension_hook for command build_ext
> building 'pyfits.compression' extension
> creating build/temp.linux-amd64-3.5
> creating build/temp.linux-amd64-3.5/src
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -c src/compressionmodule.c -o build/temp.linux-amd64-3.5/src/compressionmodule.o -Wno-declaration-after-statement -Wno-unused-variable -Wno-parentheses -Wno-uninitialized -Wno-format -Wno-strict-prototypes -Wno-unused -Wno-comments -Wno-switch
> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1788:0,
>                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
>                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from src/compressionmodule.c:97:
> /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>  #warning "Using deprecated NumPy API, disable it by " \
>   ^~~~~~~
> src/compressionmodule.c: In function 'get_header_string':
> src/compressionmodule.c:255:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
>          *val = def;
>               ^
> cc1: some warnings being treated as errors
> building optional extension "pyfits.compression" failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> Failed to build PyFITS tile compression support.  PyFITS will still
> function, but without the ability to read or write compressed images.
> Please seek support from help at stsci.edu if you need this capability.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> running build_scripts
> creating build/scripts-3.5
> copying and adjusting scripts/fitscheck -> build/scripts-3.5
> copying and adjusting scripts/fitsdiff -> build/scripts-3.5
> copying and adjusting scripts/fitshead -> build/scripts-3.5
> changing mode of build/scripts-3.5/fitscheck from 664 to 775
> changing mode of build/scripts-3.5/fitsdiff from 664 to 775
> changing mode of build/scripts-3.5/fitshead from 664 to 775
>    dh_auto_test -O--buildsystem=pybuild -O--parallel
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose 
> .../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> .EE................................................................................................E........................................../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> E........................................................................................................................................../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> F...................EEEEEEEEE/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> FE/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> F/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> F/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> F/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> FEEEEE/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> .EEEE/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py:680: UserWarning: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
>   warnings.warn('Failure matching header to a compressed image '
> E......../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:515: VerifyWarning: Invalid value for 'BLANK' keyword in header: 'nan' The 'BLANK' keyword must be an integer.  It will be ignored in the meantime.
>   warnings.warn(msg, VerifyWarning)
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:515: VerifyWarning: Invalid 'BLANK' keyword in header.  The 'BLANK' keyword is only applicable to integer data, and will be ignored in this HDU.
>   warnings.warn(msg, VerifyWarning)
> ........../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:515: VerifyWarning: Invalid 'BLANK' keyword in header.  The 'BLANK' keyword is only applicable to integer data, and will be ignored in this HDU.
>   warnings.warn(msg, VerifyWarning)
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:515: VerifyWarning: Invalid 'BLANK' keyword in header.  The 'BLANK' keyword is only applicable to integer data, and will be ignored in this HDU.
>   warnings.warn(msg, VerifyWarning)
> ../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/image.py:848: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 10 but corresponding boolean dimension is 3
>   ks = np.arange(axis, dtype=int)[key]
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py:342: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 1; dimension is 10 but corresponding boolean dimension is 3
>   dat[:, np.array([True, False, True]), :])
> .............................../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/file.py:372: UserWarning: Overwriting existing file '/tmp/pyfits-test-KKtJLj/test.fits'.
>   warnings.warn("Overwriting existing file %r." % self.name)
> ....................................................../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py:115: PyfitsDeprecationWarning: The uint16 keyword argument is deprecated since v3.4.0.  Use the uint argument instead.
>   'the uint argument instead.', PyfitsDeprecationWarning)
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py:115: PyfitsDeprecationWarning: The uint16 keyword argument is deprecated since v3.4.0.  Use the uint argument instead.
>   'the uint argument instead.', PyfitsDeprecationWarning)
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py:115: PyfitsDeprecationWarning: The uint16 keyword argument is deprecated since v3.4.0.  Use the uint argument instead.
>   'the uint argument instead.', PyfitsDeprecationWarning)
> E..
> ======================================================================
> ERROR: pyfits.tests.test_checksum.TestChecksumFunctions.test_compressed_image_data_float32
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_checksum.py", line 267, in test_compressed_image_data_float32
>     comp_hdu = fits.CompImageHDU(hdu.data, hdu.header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_checksum.TestChecksumFunctions.test_compressed_image_data_int16
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_checksum.py", line 235, in test_compressed_image_data_int16
>     comp_hdu = fits.CompImageHDU(hdu.data, hdu.header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/189
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_diff.py", line 226, in test_identical_comp_image_hdus
>     hdu = fits.CompImageHDU(data=data)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Test creating the HDUList structure in memory from a string containing
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_hdulist.py", line 650, in test_hdul_fromstring
>     test_fromstring(os.path.join(self.data_dir, filename))
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_hdulist.py", line 631, in test_fromstring
>     assert (c1 == c2).all()
> AttributeError: 'bool' object has no attribute 'all'
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[ 1.,  1.,  1., ...,  1.,  1.,  1.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_comp_image(array([[ 1.,  1.,  1., ...,  1.,  1.,  1.],
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 978, in _test_comp_image
>     quantizeLevel=quantize_level)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/171
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1014, in test_comp_image_hcompress_image_stack
>     quantizeLevel=16, tileSize=[5, 5, 1])
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Tests compression with the HCOMPRESS_1 algorithm with data that is
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/util.py", line 60, in wrapper
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 999, in test_comp_image_hcompression_1_invalid_data
>     tileSize=[2, 10, 10])
>   File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
>     callableObj(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/199
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1268, in test_compression_column_tforms
>     tileSize=(6, 7))
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://github.com/astropy/astropy/issues/2363
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1446, in test_compression_header_append_commentary
>     hdu = fits.CompImageHDU(np.array([0], dtype=np.int32))
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://github.com/spacetelescope/PyFITS/issues/71
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1467, in test_compression_with_gzip_column
>     hdu = fits.CompImageHDU(data=arr)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_disable_image_compression
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1050, in test_disable_image_compression
>     disable_image_compression=True) as hdul:
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py", line 124, in fitsopen
>     return HDUList.fromfile(name, mode, memmap, save_backup, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py", line 266, in fromfile
>     save_backup=save_backup, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/hdulist.py", line 823, in _readfrom
>     hdu = _BaseHDU.readfrom(ffo, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/base.py", line 370, in readfrom
>     **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/base.py", line 470, in _readfrom_internal
>     cls = _hdu_class_from_header(cls, header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/base.py", line 74, in _hdu_class_from_header
>     'appropriate HDU type: %s' % exc)
> UserWarning: An exception occurred matching an HDU header to the appropriate HDU type: Failure matching header to a compressed image HDU: The compression module is not available.
> The HDU will be treated as a Binary Table HDU.
> 
> ======================================================================
> ERROR: Regression test for https://github.com/astropy/astropy/issues/2750
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1489, in test_duplicate_compression_header_keywords
>     hdu = fits.CompImageHDU(data=arr)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://github.com/astropy/astropy/issues/2595
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 941, in test_empty
>     hdu = fits.CompImageHDU()
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/198
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1238, in test_lossless_gzip_compression
>     chdu1 = fits.CompImageHDU(data=noise, compressionType='GZIP_1')
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/88 2
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1092, in test_open_scaled_in_update_mode_compressed
>     header=hdul[0].header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/88 1
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1153, in test_rewriting_large_scaled_image_compressed
>     header=hdul[0].header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/88 3
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1203, in test_scale_back_compressed
>     header=hdul[0].header)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: Regression test for https://github.com/spacetelescope/PyFITS/issues/32
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1034, in test_subtractive_dither_seed
>     dither_seed=DITHER_SEED_CHECKSUM)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> ERROR: pyfits.tests.test_image.TestCompressedImage.test_write_comp_hdu_direct_from_existing
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1139, in test_write_comp_hdu_direct_from_existing
>     assert comparerecords(hdul1[1].compressed_data,
> AttributeError: 'BinTableHDU' object has no attribute 'compressed_data'
> 
> ======================================================================
> ERROR: pyfits.tests.test_uint.TestUintFunctions.test_uint
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_uint.py", line 26, in test_uint
>     self._test_uint(utype, compressed)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_uint.py", line 32, in _test_uint
>     hdu = fits.CompImageHDU(np.array([-3, -2, -1, 0, 1, 2, 3]))
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/hdu/compressed.py", line 598, in __init__
>     raise Exception('The pyfits.compression module is not available.  '
> Exception: The pyfits.compression module is not available.  Creation of compressed image HDUs is disabled.
> 
> ======================================================================
> FAIL: Tests the basic functionality of the `fitsheader` script.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_header.py", line 2517, in test_fitsheader_script
>     compressed=False)
> AssertionError
> 
> ======================================================================
> FAIL: pyfits.tests.test_image.TestCompressedImage.test_compression_header_append
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1366, in test_compression_header_append
>     assert len(w) == 1
> AssertionError
> 
> ======================================================================
> FAIL: pyfits.tests.test_image.TestCompressedImage.test_compression_header_insert
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1389, in test_compression_header_insert
>     assert len(w) == 1
> AssertionError
> 
> ======================================================================
> FAIL: pyfits.tests.test_image.TestCompressedImage.test_compression_header_set_before_after
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1416, in test_compression_header_set_before_after
>     assert len(w) == 1
> AssertionError
> 
> ======================================================================
> FAIL: Regression test for
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1283, in test_compression_update_header
>     assert isinstance(hdul[1], fits.CompImageHDU)
> AssertionError
> 
> ======================================================================
> FAIL: Ensure that setting reserved keywords related to the table data
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1355, in test_compression_update_header_with_reserved
>     test_set_keyword(hdr, 'TFIELDS', 8)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pyfits/tests/test_image.py", line 1348, in test_set_keyword
>     assert len(w) == 1
> AssertionError
> 
> ----------------------------------------------------------------------
> Ran 438 tests in 7.930s
> 
> FAILED (errors=25, failures=6)
> E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose 
> dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 25

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/pyfits_3.4-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list