Description of problem: When invoking the odb compiler fails while trying to load "/usr/lib/gcc/x86_64-redhat-linux/6.1.1/plugin/odb.so". Version-Release number of selected component (if applicable): libodb.x86_64 2.4.0-5.fc24 How reproducible: Steps to Reproduce: 1. invoke odb with the following command "$ odb --std c++11 --profile boost/date-time --database sqlite --generate-query --generate-schema --schema-format sql --hxx-prologue '#include "My-traits.hxx"' some-class.h " Actual results: cc1plus: error: cannot load plugin /usr/lib/gcc/x86_64-redhat-linux/6.1.1/plugin/odb.so /usr/lib/gcc/x86_64-redhat-linux/6.1.1/plugin/odb.so: undefined symbol: _Z21lookup_qualified_nameP9tree_nodeS0_bbb Expected results: odb compiles the some-class.h and generates the resulting c++ files. Additional info: n/a
This is a regression maybe induced with the lastest c++ and co updates.
2.4.0-13 is the current version in Fedora 24, so can you update and make sure you're still having this problem?
There are no updates available in the update respos (non testing). Are you sure this version has been "promoted"?
https://bodhi.fedoraproject.org/updates/FEDORA-2016-85e61f227e http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/o/odb-2.4.0-13.fc24.x86_64.rpm
Seems not to solve the issue. the ODB package was already in the right version. Below my latest attempt and DNF output. FYI, I updated from F24 Beta when F24 went official a week or so ago. The issue appeared this week after I've seen udaptes on gcc and libs. [XXXX@fedora odb]$ dnf repolist Last metadata expiration check: 7 days, 11:58:01 ago on Wed Jun 22 09:40:03 2016. repo id repo name status *fedora Fedora 24 - x86_64 49,709 fedora-cisco-openh264 Fedora 24 openh264 (From Cisco) - x86_64 7 *updates Fedora 24 - x86_64 - Updates 0 [XXXXX@fedora odb]$ dnf list install odb Last metadata expiration check: 7 days, 11:51:14 ago on Wed Jun 22 09:40:03 2016. Installed Packages odb.x86_64 2.4.0-13.fc24 @fedora [XXXXX@fedora odb]$ odb --version ODB object-relational mapping (ORM) compiler for C++ 2.4.0 Copyright (c) 2009-2015 Code Synthesis Tools CC This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [XXXX@fedora odb]$ odb --std c++11 --profile boost/date-time --database sqlite --generate-query --generate-schema --schema-format sql --hxx-prologue '#include "My-traits.hxx"' some-class.h cc1plus: error: cannot load plugin /usr/lib/gcc/x86_64-redhat-linux/6.1.1/plugin/odb.so /usr/lib/gcc/x86_64-redhat-linux/6.1.1/plugin/odb.so: undefined symbol: _Z21lookup_qualified_nameP9tree_nodeS0_bbb
Is there any update? This issue is a blocker as I cannot generate new odb classes anymore.
As I believed this "regression" was introduced after a gcc and set of libraries I gave rebuilding the RPM from the SRPM a chance. And it did solve the issue. Below the steps I used. sudo dnf install rpmdevtools dnf download --source odb rpmdev-setuptree sudo dnf builddep odb rpmbuild --rebuild odb-2.4.0-13.fc24.src.rpm sudo dnf reinstall ./odb-2.4.0-13.fc24.x86_64.rpm odb --std c++11 --profile boost/date-time --database sqlite --generate-query some-class.h
Sorry for the delay. We're in the middle of a move and I've had very limited time for doing this sort of thing. I'll kick of a rebuild tonight.
No worries, I've found my workaround. Wondering how this one "escaped" from QA.
odb-2.4.0-14.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-327e7d71a3
odb-2.4.0-14.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-327e7d71a3
Package (in testing) works fine. Bug can be closed.
The karma threshold has been reached and the update has been submitted to stable, so the bug will close automatically when that happens. Thanks for reporting this and helping to get it fixed.
odb-2.4.0-14.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.