Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The libonnxruntime.pc file contains: prefix=/usr includedir=${prefix}//usr/include/onnxruntime The includedir should be: includedir=${prefix}/include/onnxruntime Version-Release number of selected component (if applicable): onnxruntime-devel-1.16.3-1.fc40.x86_64 The error is in the spec file. It foces the CMAKE_INSTALL_INCLUDEDIR to be /usr/include, but it should jsut be "include", the default, as cmake will put CMAKE_INSTALL_PREFIX before it. Patch: diff --git a/onnxruntime.spec b/onnxruntime.spec index 0f898f8..146bf71 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -123,7 +123,6 @@ rm -v onnxruntime/test/optimizer/nhwc_transformer_test.cc # The array-bounds and dangling-reference checks have false positives. %cmake \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ - -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \ -Donnxruntime_BUILD_SHARED_LIB=ON \ -Donnxruntime_BUILD_UNIT_TESTS=ON \ -Donnxruntime_INSTALL_UNIT_TESTS=OFF \
Sorry, the right patch is: %cmake \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ - -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \ + -DCMAKE_INSTALL_INCLUDEDIR=include \ -Donnxruntime_BUILD_SHARED_LIB=ON \ -Donnxruntime_BUILD_UNIT_TESTS=ON \ -Donnxruntime_INSTALL_UNIT_TESTS=OFF \
FEDORA-2024-5d32ee9e50 (onnxruntime-1.16.3-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5d32ee9e50
FEDORA-2024-5d32ee9e50 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5d32ee9e50` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5d32ee9e50 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-238953b02c (onnxruntime-1.15.1-6.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-238953b02c
FEDORA-2024-238953b02c has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-238953b02c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-238953b02c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-5d32ee9e50 (onnxruntime-1.16.3-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-238953b02c (onnxruntime-1.15.1-6.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.