Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 883969

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny, python, radio, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-02 06:54:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
(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:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-02 06:54:45 UTC
Created attachment 838889 [details]
build.log

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 <soap@gentoo.org>
AuthorDate: Sat Mar 11 19:14:09 2023 +0100
Commit:     David Seifert <soap@gentoo.org>
CommitDate: Sat Mar 11 19:14:09 2023 +0100

    dev-python/pyFFTW: treeclean
    
    Closes: https://bugs.gentoo.org/890321
    Signed-off-by: David Seifert <soap@gentoo.org>