On Tue, Feb 13, 2024 at 2:39 PM Josef Řídký <jridky@xxxxxxxxxx> wrote: > Hi, > > I am trying to build a new version of the jasper package, but I am not able to successfully pass the %cmake command. [1] > > First issue was about using in-source build, which can be overridden by -ALLOW_IN_SOURCE_BUILD. But even though, CMake has problem with finding CMAKE_C_COMPILER location. > > Currently is used CMAKE_VERSION: 3.28.2 > > Previous successful build of jasper [2] used CMAKE_VERSION: 3.27.7 and no in-source error nor CMAKE_C_COMPILER issue has occurred. > > Does anyone have a similar issue? What is a recommended way to deal with this? > > [1] https://kojipkgs.fedoraproject.org//work/tasks/9648/113459648/build.log > [2] https://kojipkgs.fedoraproject.org//packages/jasper/4.1.0/3.fc40/data/logs/x86_64/build.log > > Best regards > > Josef This works: %build %cmake \ -DALLOW_IN_SOURCE_BUILD:BOOL=ON \ -DJAS_ENABLE_DOC:BOOL=OFF %cmake_build %install %cmake_install # Unpackaged files rm -f doc/README rm -f %{buildroot}%{_libdir}/lib*.la %check %ctest Regards, -- Jerry James http://www.jamezone.org/ -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue