[Python-modules-team] Bug#778078: python-scipy: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:01 UTC 2015


Package: src:python-scipy
Version: 0.14.1-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/python-scipy_0.14.1-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
Fortran fix compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/scipy
creating build/temp.linux-x86_64-2.7/scipy/fftpack
creating build/temp.linux-x86_64-2.7/scipy/fftpack/src
creating build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack
compile options: '-I/usr/lib/python2.7/dist-packages/numpy/core/include -c'
gfortran:f77: scipy/fftpack/src/dfftpack/dffti.f
gfortran:f77: scipy/fftpack/src/dfftpack/dsinqi.f
gfortran:f77: scipy/fftpack/src/dfftpack/dffti1.f
scipy/fftpack/src/dfftpack/dffti1.f:13:0:

   103 NTRY = NTRY+2
 ^
Warning: 'ntry' may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran:f77: scipy/fftpack/src/dfftpack/dsinqb.f
gfortran:f77: scipy/fftpack/src/dfftpack/zffti1.f
scipy/fftpack/src/dfftpack/zffti1.f:13:0:

   103 NTRY = NTRY+2
 ^
Warning: 'ntry' may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran:f77: scipy/fftpack/src/dfftpack/dcosqi.f
gfortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f
gfortran:f77: scipy/fftpack/src/dfftpack/dcosti.f
gfortran:f77: scipy/fftpack/src/dfftpack/zfftb.f
gfortran:f77: scipy/fftpack/src/dfftpack/dsint.f
gfortran:f77: scipy/fftpack/src/dfftpack/dcosqf.f
gfortran:f77: scipy/fftpack/src/dfftpack/dfftf.f
gfortran:f77: scipy/fftpack/src/dfftpack/dfftf1.f
gfortran:f77: scipy/fftpack/src/dfftpack/dsinqf.f
gfortran:f77: scipy/fftpack/src/dfftpack/dfftb1.f
gfortran:f77: scipy/fftpack/src/dfftpack/dsint1.f
gfortran:f77: scipy/fftpack/src/dfftpack/zfftf1.f
gfortran:f77: scipy/fftpack/src/dfftpack/dfftb.f
gfortran:f77: scipy/fftpack/src/dfftpack/dcost.f
gfortran:f77: scipy/fftpack/src/dfftpack/zfftf.f
gfortran:f77: scipy/fftpack/src/dfftpack/zfftb1.f
gfortran:f77: scipy/fftpack/src/dfftpack/dsinti.f
gfortran:f77: scipy/fftpack/src/dfftpack/zffti.f
x86_64-linux-gnu-gcc-ar: adding 23 object files to build/temp.linux-x86_64-2.7/libdfftpack.a
sh: 1: x86_64-linux-gnu-gcc-ar: not found
error: Command "x86_64-linux-gnu-gcc-ar rc build/temp.linux-x86_64-2.7/libdfftpack.a build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dffti.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqi.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dffti1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zffti1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqi.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosti.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsint.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftf1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftb1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsint1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftf1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcost.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftb1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinti.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zffti.o" failed with exit status 127sh: 1: x86_64-linux-gnu-gcc-ar: not found

make[1]: *** [build-python2.7] Error 1
debian/rules:27: recipe for target 'build-python2.7' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:34: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Python-modules-team mailing list