Bug #39382
openoctopus 15.0.0 fails to build on Fedora rawhide (fedora-31) and fedora-30
0%
Description
configure fails in DPDK
...
BUILDSTDERR: CMake Error at cmake/modules/BuildDPDK.cmake:70 (message):
BUILDSTDERR: not able to build DPDK support: unsupported target.
BUILDSTDERR: "x86_64-native-linuxapp-gcc" not listed in
BUILDSTDERR: Call Stack (most recent call first):
BUILDSTDERR: cmake/modules/BuildDPDK.cmake:98 (do_build_dpdk)
BUILDSTDERR: cmake/modules/BuildSPDK.cmake:5 (build_dpdk)
BUILDSTDERR: CMakeLists.txt:280 (build_spdk)
Full build log (rawhide) is at https://kojipkgs.fedoraproject.org//work/tasks/3767/34253767/build.log
Full build log (fedora-30) is at https://kojipkgs.fedoraproject.org//work/tasks/3786/34253786/build.log
Fedora's ceph.spec plus the diffs between ceph-14.2.0/ceph.spec.in and 15.0.0-ceph.spec.in (included as an attachment).
Files
Updated by Kaleb KEITHLEY almost 5 years ago
14.2.0 has the same cmake/modules/BuildDPDK, but 14.2.0 has dpdk bundled in the source tar file, and 15.0.0 does not.
AFAICT that's the main or only diff between 14.2.0 and 15.0.0.
Even with dpdk-devel and dpdk-tools installed it still blows up so it's not even using the system's dpdk when it exists and is recent enough.
Updated by Kaleb KEITHLEY almost 5 years ago
If I copy the spdk source tree from 14.2.0 into the 15.0.0 tree, then cmake will succeed.
Seems to me that the creation of the 15.0.0 src tar file failed to bundle spdk/dpdk.
Updated by Kaleb KEITHLEY almost 5 years ago
Or perhaps that just a function of having pulled the source from the github archive.