Project

General

Profile

Bug #24449

mimic 13.2.0 doesn't build in Fedora rawhide

Added by Kaleb KEITHLEY about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
Start date:
06/07/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Doesn't get past cmake

13.1.1 and 13.1.0 would build on x86_64, but other arches, e.g. aarch64, arm, i686, would not build.


Related issues

Copied to Ceph - Backport #24905: mimic: mimic 13.2.0 doesn't build in Fedora rawhide Resolved

History

#1 Updated by John Spray about 1 year ago

Doesn't get past cmake

Did you mean to attach a log, or is there a web interface where we should look for the failure?

#2 Updated by Kaleb KEITHLEY about 1 year ago

There was a log, it's probably expired by now. I can fire off another build, although I kinda figured you'd need to set up your own rawhide box anyway to debug the cmake.

#3 Updated by Kaleb KEITHLEY about 1 year ago

There's another build running now. Logs at https://koji.fedoraproject.org/koji/taskinfo?taskID=27728844

#4 Updated by Kaleb KEITHLEY about 1 year ago

scratch build in comment three is f29/rawhide.

Here's the same on Fedora 28 https://koji.fedoraproject.org/koji/taskinfo?taskID=27729846

The scratch build logs aren't kept around indefinitely. I think they're kept for about a week.

#5 Updated by John Spray about 1 year ago

Since the link is ephemeral, I'll copy the error messages here:

-- Configuring done
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "-Wl,--no-whole-archive" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "-Wl,--whole-archive" of target "common_async_dpdk" 
  does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_bus_pci.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_cmdline.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_eal.so" of target "common_async_dpdk" 
  does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_ethdev.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_hash.so" of target "common_async_dpdk" 
  does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_kvargs.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_mbuf.so" of target "common_async_dpdk" 
  does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_mempool.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_mempool_ring.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_mempool_stack.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pci.so" of target "common_async_dpdk" 
  does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_af_packet.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_bond.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_i40e.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_ixgbe.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_ring.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_pmd_vmxnet3_uio.so" of target
  "common_async_dpdk" does not exist.
CMake Error at src/CMakeLists.txt:680 (add_dependencies):
  The dependency target "/lib64/librte_ring.so" of target "common_async_dpdk" 
  does not exist.
-- Generating done
-- Build files have been written to: /builddir/build/BUILD/ceph-13.2.0/build
error: Bad exit status from /var/tmp/rpm-tmp.4PFbp3 (%build)

So probably something changed in the DPDK packages in fedora?

#6 Updated by Kaleb KEITHLEY about 1 year ago

So probably something changed in the DPDK packages in fedora?

ceph has dpdk bundled in .../src/spdk/dpdk/..., in both 13.2.0 and 13.1.x. I'm lead to believe that ceph always prefers to use the bundled dependencies.

13.1.x (x86_64 anyway) builds in Rawhide and f28. It also has dpdk bundled.

I also tried adding 'BuildRequires: dpdk-devel' but that does not work either.

#7 Updated by Kaleb KEITHLEY about 1 year ago

I took ceph.spec changes from the CentOS Storage SIG build of 13.2.0 and now I have it building for f29/x86_64, but not for any of the other archs.

https://koji.fedoraproject.org/koji/taskinfo?taskID=27812646

#9 Updated by Kefu Chai about 1 year ago

Kaleb, we do have DPDK bundled. but we only use the bundled version if the system does not have libdpdk-dev or libdpdk-devel installed.

#10 Updated by Kefu Chai about 1 year ago

  • Status changed from New to Need Review
  • Backport set to mimic

#11 Updated by Kefu Chai about 1 year ago

  • Category set to build
  • Assignee set to Kefu Chai

#12 Updated by Kefu Chai about 1 year ago

  • Status changed from Need Review to Pending Backport

#13 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #24905: mimic: mimic 13.2.0 doesn't build in Fedora rawhide added

#14 Updated by Nathan Cutler 12 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF