Fedora Account System
Red Hat Associate
Red Hat Customer
Dear package maintainer, This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake: Use ninja generator by default. The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/package/libyang. See https://fedoraproject.org/wiki/Changes/CMake_ninja_default for more information on how to make the package compatible. More specifically, make sure you are using standard %cmake_* macros. If you find that there are hard dependencies on the generator even after such transition, please ping me for closer investigation. You can check the build locally following the instructions in the change proposal, or submit your build to the tracking copr project. Let me know if you encounter any issues, or need any other help.
I did not find an equivalent of 'make doc' for this project so I am opting-out from the ninja build: https://src.fedoraproject.org/rpms/libyang/c/1f5e3bfa7ffcc385ac943132f18c4e9932917788 If this changes in the future, I will gladly opt-in again.
That should be `%cmake_build -t doc`. It is project dependent what the names of the targets are [1], but that command should do the trick. There don't seem to be install commands there, so you would have to decipher where the docs are generated, but probably you did that in the original as well. Let me know if you still have problems with that. [1]: https://github.com/CESNET/libyang/blob/da7272e19d9e27d1bfdd68108fa9dce25fbdf5e8/CMakeModules/GenDoc.cmake#L14-L16
That's actually better, I did not know that I could use that. Switching to cmake_build for docs: https://src.fedoraproject.org/rpms/libyang/c/2ef31fabb7b69d836d2733481e7b5238f1c6fd42 Thanks!