Bug 2193075 - Missing cmake file
Summary: Missing cmake file
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fftw
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Conrad Meyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 08:49 UTC by Théodore Papadopoulo
Modified: 2023-05-04 14:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
The cmake file depicted (3 lines) in the steps to reproduce. (86 bytes, text/plain)
2023-05-04 08:49 UTC, Théodore Papadopoulo
no flags Details

Description Théodore Papadopoulo 2023-05-04 08:49:37 UTC
Created attachment 1962166 [details]
The cmake file depicted (3 lines) in the steps to reproduce.

Description of problem: When trying to detect fftw3 with cmake, cmake reports that the file /usr/lib64/cmake/fftw3/FFTW3LibraryDepends.cmake is missing.

Version-Release number of selected component (if applicable):
fftw-devel-3.3.10-3.fc37.x86_64

How reproducible:
Totally reproducible

Steps to Reproduce:
1.Create a directory
2.In that directory, create a file named CMakeLists.txt that contains the 3 lines:

cmake_minimum_required(VERSION 3.26)
project(test CXX)
find_package(FFTW3 REQUIRED)

3. Make a subdirectory build and move in it.
4. cmake .

Actual results:
mururoa-> cmake ..
-- The CXX compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/lib64/cmake/fftw3/FFTW3Config.cmake:13 (include):
  include could not find requested file:

    /usr/lib64/cmake/fftw3/FFTW3LibraryDepends.cmake
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)

Expected results:
No error.

Additional info:
Creating an empty file is enough to remove the error. But that probably not the best way to handle it.

Comment 1 Sergio Basto 2023-05-04 09:29:57 UTC
fftw3 is now fftw package


Note You need to log in before you can comment on or make changes to this bug.