Bug#746998: pyfftw: FTBFS on architectures without long double

Aurelien Jarno aurel32 at debian.org
Sun May 4 17:41:16 UTC 2014


Package: pyfftw
Version: 0.9.2+dfsg-1
Severity: important
Tags: upstream
Justification: fails to build from source

pyfftw fails to build on architectures where double and long double
(aka float128) are the same size:

| mipsel-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-mips-3.3/«BUILDDIR»/pyfftw-0.9.2+dfsg/pyfftw/pyfftw.o -lfftw3 -lfftw3f -lfftw3l -lfftw3_threads -lfftw3f_threads -lfftw3l_threads -o build/lib.linux-mips-3.3/pyfftw/pyfftw.cpython-33m.so
| /usr/bin/ld: cannot find -lfftw3l
| /usr/bin/ld: cannot find -lfftw3l_threads
| collect2: error: ld returned 1 exit status
| error: command 'mipsel-linux-gnu-gcc' failed with exit status 1
| make[1]: *** [build-python3.3] Error 1
| make[1]: Leaving directory `/«BUILDDIR»/pyfftw-0.9.2+dfsg'
| make: *** [build-arch] Error 2

The build process tries to link the Python module with libfftw3l, which
only exists on architectures where double and long double are different
types. On other architectures libfftw3 should probably be used instead.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: mipsel (mips64)

Kernel: Linux 3.2.0-4-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



More information about the debian-science-maintainers mailing list