Description of problem: openbabel-2.0.pc is wrong (see libdir): $ cat /usr/lib64/pkgconfig/openbabel-2.0.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}//usr/lib64 includedir=${prefix}/include pkgincludedir=${includedir}/openbabel-2.0 Name: Open Babel library Description: libopenbabel Version: 2.4.1 Libs: -L${libdir} -lopenbabel Cflags: -I${pkgincludedir} Version-Release number of selected component (if applicable): openbabel-2.4.1-15 at least. How reproducible: Always. Actual results: Openbabel library's path unrecognizable.
You're right: $ pkg-config --libs openbabel-2.0 -L/usr/usr/lib64 -lopenbabel $ rpm -q openbabel-devel openbabel-devel-2.4.1-15.fc29.x86_64 Thanks for the report. A patch would be welcome. I'll try fix it sometime soon.
This affects F28+.
(In reply to Dominik 'Rathann' Mierzejewski from comment #1) > You're right: > > $ pkg-config --libs openbabel-2.0 > -L/usr/usr/lib64 -lopenbabel > $ rpm -q openbabel-devel > openbabel-devel-2.4.1-15.fc29.x86_64 > > Thanks for the report. A patch would be welcome. I'll try fix it sometime > soon. Just add sed -e 's|LIB_INSTALL_DIR|LIB_SUFFIX|g' -i openbabel-2.0.pc.cmake in %prep section.
(In reply to Antonio Trande from comment #3) > (In reply to Dominik 'Rathann' Mierzejewski from comment #1) > > You're right: > > > > $ pkg-config --libs openbabel-2.0 > > -L/usr/usr/lib64 -lopenbabel > > $ rpm -q openbabel-devel > > openbabel-devel-2.4.1-15.fc29.x86_64 > > > > Thanks for the report. A patch would be welcome. I'll try fix it sometime > > soon. > > Just add > > sed -e 's|LIB_INSTALL_DIR|LIB_SUFFIX|g' -i openbabel-2.0.pc.cmake > > in %prep section. Sorry, i meant sed -e 's|@LIB_INSTALL_DIR@|lib@LIB_SUFFIX@|g' -i openbabel-2.0.pc.cmake
I don't like using sed in %prep instead of a patch. It's fragile and will silently pass if it doesn't match anything. Thanks for your suggestion, I'll put it in a patch instead.
Ugh, one of the tests is failing on s390x on F29+. This will take a while.
For the record: F29: https://koji.fedoraproject.org/koji/taskinfo?taskID=32284774 rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=32284807
openbabel-2.4.1-12.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2ec314ac84
openbabel-2.4.1-16.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-beefbbb99d
openbabel-2.4.1-12.fc28 has been pushed to the Fedora 28 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-2019-2ec314ac84
openbabel-2.4.1-16.fc29 has been pushed to the Fedora 29 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-2019-beefbbb99d
openbabel-2.4.1-12.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
openbabel-2.4.1-16.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.