[Debian-astro-maintainers] Bug#800727: python-cpl: FTBFS: ImportError: cannot import name '_compiler'

Chris Lamb lamby at debian.org
Fri Oct 2 23:51:56 UTC 2015


Source: python-cpl
Version: 0.7-4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-cpl fails to build from source in unstable/amd64:

  [..]

  running build_ext
  building 'cpl.CPL_recipe' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
  -Wstrict-prototypes -g -O2 -fstack-protector-strong -Wformat
  -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  -I/usr/include/python3.5m -c cpl/CPL_recipe.c -o
  build/temp.linux-x86_64-3.5/cpl/CPL_recipe.o
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
  -Wstrict-prototypes -g -O2 -fstack-protector-strong -Wformat
  -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  -I/usr/include/python3.5m -c cpl/CPL_library.c -o
  build/temp.linux-x86_64-3.5/cpl/CPL_library.o
  x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
  -Wl,-z,relro -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat
  -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  build/temp.linux-x86_64-3.5/cpl/CPL_recipe.o
  build/temp.linux-x86_64-3.5/cpl/CPL_library.o -o
  /tmp/buildd/python-cpl-0.7/cpl/CPL_recipe.cpython-35m-x86_64-linux-gnu.so
  Traceback (most recent call last):
    File "test/TestRecipe.py", line 9, in <module>
      from astropy.io import fits
    File "/usr/lib/python3/dist-packages/astropy/__init__.py", line 324,
    in <module>
      _initialize_astropy()
    File "/usr/lib/python3/dist-packages/astropy/__init__.py", line 237,
    in _initialize_astropy
      from .utils import _compiler
  ImportError: cannot import name '_compiler'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "test/TestRecipe.py", line 11, in <module>
      import pyfits as fits
  ImportError: No module named 'pyfits'
  debian/rules:14: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/python-cpl-0.7'
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/python-cpl_0.7-4.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-cpl.0.7-4.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20151003/672cb68d/attachment-0001.txt>


More information about the Debian-astro-maintainers mailing list