Bug 2038037
Summary: | libceph-common.so.2 has undefined symbol: _ZN3fmt2v86detail13error_handler8on_errorEPKc breaking libvirt virtstoraged | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Pitt <mpitt> |
Component: | ceph | Assignee: | Kaleb KEITHLEY <kkeithle> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rawhide | CC: | adeza, agedosier, berrange, branto, clalancette, crobinso, danmick, david, fedora, i, jforbes, josef, kkeithle, laine, libvirt-maint, loic, ramkrsna, steve, veillard, virt-maint |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ceph-16.2.7-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-13 12:50:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2038020 | ||
Bug Blocks: |
Description
Martin Pitt
2022-01-07 07:06:57 UTC
Both the upstream ceph.spec(.in) and fedora distgit ceph.spec specify a BR for fmt-devel, and the build is linking with the system libfmt.so/libfmt.so.8, instead of the bundled fmt bits, which would be libfmt.so.6 if it were being built and used. (Also note that ceph doesn't have a WITH_SYSTEM_FMT option for its cmake config.) I would also presume, given the "v8" in the undefined symbol name, that ceph is building with the fmt headers in /usr/include/fmt, and not the bundled headers, which would have "v6" in the name. But... Since ceph in both f35 and f36/rawhide were built with fmt-8.0.1-x.fc35 — and apparently were working up until 7 Jan 2022*, when fmt was updated — I'm going to make a leap and guess that the recent update to fmt-8.1.1-x in f36/rawhide and f35 is the reason for apparent sudden appearance of this error at runtime. I will rebuild ceph on both f36/rawhide and f35 against the new fmt-8.1.1. Let's see if that fixes the runtime error you're seeing. (If it doesn't fix it then we can try building with the bundled fmt bits instead.) *which is also the date this bz was filed. also see #fedora-devel today (10 Jan): <defolos> xvitaly: you or tchaikov updated fmt to 8.1 in rawhide, right? <xvitaly> defolos: Me. <defolos> did you not rebuild libspdlog? <defolos> I'm getting linking errors in bear now <xvitaly> defolos: There are no ABI changes in 8.1.1. <xvitaly> defolos: Can you show log? <defolos> xvitaly: `/usr/bin/ld: /usr/lib64/libspdlog.so.1.9.2: undefined reference to `fmt::v8::detail::error_handler::on_error(char const*)' ` <defolos> that's what I'm getting <defolos> and koschei too: https://kojipkgs.fedoraproject.org/work/tasks/2472/80842472/build.log <xvitaly> defolos: It should be fixed in 8.1.1. <xvitaly> defolos: > DEBUG util.py:446: fmt-devel aarch64 8.1.0-1.fc36 build 120 k <xvitaly> 8.1.0 is broken. <xvitaly> ABI regression was fixed in 8.1.1. <-- juhp (~juhp.188.82) has quit (Ping timeout: 256 seconds) <-- crobinso (~crobinso@2601:18c:8180:dc95:eff8:9128:2eb6:9e63) has quit (Remote host closed the connection) --> juhp (~juhp.188.82) has joined #fedora-devel <defolos> xvitaly: ah, thanks! <defolos> do you have an ETA? <alebastr> defolos: ETA is next successful rawhide compose <defolos> alebastr: even better, thanks! <alebastr> 8.1.1 is already available in rawhide buildroot fixed (?) in ceph-16.2.7-3.fc36 — rebuilt with fmt-8.1.1-1 please give it a try and let me know whether it works now. What I'm seeing is that while fmt-8.1.1-1 is in the buildroot[1] there hasn't been a compose and a dnf update will still get fmt-8.1.0, which is known to have broken the ABI[2]. [1] https://kojipkgs.fedoraproject.org//packages/ceph/16.2.7/3.fc36/data/logs/x86_64/root.log [2] https://bugzilla.redhat.com/show_bug.cgi?id=2038020 |