https://bugzilla.redhat.com/show_bug.cgi?id=2404856
--- Comment #17 from Simone Caronni <[email protected]> --- (In reply to Simone Caronni from comment #15) > You need to see if you can build from packages already in Fedora > (unbundling), and if not, you need to declare: I tried with hwloc (which you already list as a BuildRequires): diff -Naur xpumanager-1.3.3.old/CMakeLists.txt xpumanager-1.3.3/CMakeLists.txt --- xpumanager-1.3.3.old/CMakeLists.txt 2025-11-27 09:27:17.158704338 +0100 +++ xpumanager-1.3.3/CMakeLists.txt 2025-11-27 10:11:29.921798210 +0100 @@ -93,7 +93,6 @@ add_subdirectory(third_party/googletest) endif() add_subdirectory(third_party/spdlog) -add_subdirectory(third_party/hwloc) add_subdirectory(third_party/pcm/pcm-iio-gpu) add_subdirectory(core) @@ -119,11 +118,6 @@ endif() endif() -add_dependencies(xpum lib_hwloc) -if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/core/test) - add_dependencies(test_xpum_api lib_hwloc) -endif() - if(NOT DEFINED CPACK_GENERATOR) if(${os_name} MATCHES "debian" OR ${os_name} MATCHES "ubuntu" OR ${os_name} MATCHES "Ubuntu") set(CPACK_GENERATOR "DEB") And then changing the prep section as follows: %prep %autosetup -n %{upstream_name}-%{version} -p1 rm -fr 3rd_party_src third_party/hwloc And as you can see works just fine: $ rpm -qp --requires xpu-smi-1.3.3-1.fc43.x86_64.rpm | grep libhwloc libhwloc.so.15()(64bit) Please try to unbundle the other components. -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2404856 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202404856%23c17 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
