Bug 30397

Summary: pybind11Config.cmake could not be found during rebuild of android-file-transfer from Cauldron
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: lewyssmith
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: android-file-transfer CVE:
Status comment:

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