Bug 30397 - pybind11Config.cmake could not be found during rebuild of android-file-transfer from Cauldron
Summary: pybind11Config.cmake could not be found during rebuild of android-file-transf...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-08 04:43 CEST by Kristoffer Grundström
Modified: 2022-05-16 16:11 CEST (History)
1 user (show)

See Also:
Source RPM: android-file-transfer
CVE:
Status comment:


Attachments

Description Kristoffer Grundström 2022-05-08 04:43:13 CEST
Description of problem: This warning can be seen when rebuilding the src.rpm in Mageia 8:

CMake Warning at CMakeLists.txt:61 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


CMake Warning at CMakeLists.txt:70 (message):
  pybind11 not found, skipping python bindings

Version-Release number of selected component (if applicable): 4.2-3

How reproducible: This one time.

Steps to Reproduce:
1. Download the android-file-transfer src.rpm from Cauldron.
2. Install the dependencies to build it.
3. Run rpmbuild -ba android-file-transfer.spec and see the warning after some time.
Comment 1 Kristoffer Grundström 2022-05-08 04:43:30 CEST
A patch needed here?
Comment 2 Lewis Smith 2022-05-11 21:55:48 CEST
android-file-transfer went through 'Mageia 9 Mass Rebuild' early in April; with what success I cannot say.
Obvious question: what happens if you simply install the package? Does it work, or not? If it does, it must have built OK there. If you are playing building a Cauldron package under Mageia 8, and it does not work, no surprise.

CC: (none) => lewyssmith

Comment 3 sturmvogel 2022-05-16 16:11:16 CEST
Sorry, this one is invalid. 

https://svnweb.mageia.org/packages/cauldron/android-file-transfer/releases/4.2/3.mga9/SPECS/android-file-transfer.spec?revision=1842657&view=markup&pathrev=1842657 

builds just fine with the MGA9 src rpm on MGA8. Nowhere any error or any mention of pybind11.

Closing.

Resolution: (none) => INVALID
Status: NEW => RESOLVED


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