Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883969 - dev-python/pyFFTW-0.13.0 fails to compile (CLANG-STRICTER-SYSTEM): fftw_plan_dft.c:2:17: error: call to undeclared function fftw_plan_dft; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: dev-python/pyFFTW-0.13.0 fails to compile (CLANG-STRICTER-SYSTEM): fftw_plan_...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-12-02 06:54 UTC by Agostino Sarubbo
Modified: 2023-03-19 10:45 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,51.20 KB, text/plain)
2022-12-02 06:54 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-02 06:54:43 UTC

Issue: dev-python/pyFFTW-0.13.0 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-02 06:54:45 UTC
Created attachment 838889 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-02 06:54:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

error: Could not find any of the FFTW libraries
/var/tmp/portage/dev-python/pyFFTW-0.13.0/temp/pyfftw-nqc5780p/fftw_plan_dft.c:2:17: error: call to undeclared function 'fftw_plan_dft'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-10 06:20:43 UTC
Still the case with 0.13.1.
Comment 4 David Seifert gentoo-dev 2023-03-19 10:45:22 UTC
commit 565469d2b6c6f0f277eb8e4d8643c7fe476fc7cf
Author:     David Seifert <>
AuthorDate: Sat Mar 11 19:14:09 2023 +0100
Commit:     David Seifert <>
CommitDate: Sat Mar 11 19:14:09 2023 +0100

    dev-python/pyFFTW: treeclean
    Signed-off-by: David Seifert <>