Bug 2168290

Summary: openbabel-3.1.1-15.fc37.x86_64 is not functional
Product: [Fedora] Fedora Reporter: Paulo E. Abreu <paulo.abreu>
Component: openbabelAssignee: Antonio T. sagitter <trpost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 37CC: alex.ploumistos, dominik, scitech-bugs, susi.lehtola, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openbabel-3.1.1-18.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-08 20:39:14 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:

Description Paulo E. Abreu 2023-02-08 16:39:56 UTC
Description of problem: Openbabel's BABEL_LIBDIR variable has the incorrect path. This variable (defined in /etc/profile.d/openbabel.sh and openbabel.csh) points to a non-existent directory: /usr/lib64/openbabel. The correct path should be /usr/lib64/openbabel3

Version-Release number of selected component (if applicable):
openbabel-3.1.1-15.fc37.x86_64 

How reproducible:
Always

Steps to Reproduce:
1. obabel "-:C" -o svg -O methane.svg

Actual results:
==============================
*** Open Babel Error  in LoadAllPlugins
  Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable.
obabel: cannot write output format!
Open Babel 3.1.1 -- Sep 29 2022 -- 00:00:00
Usage:
obabel [-i<input-type>] <infilename> [-o<output-type>] -O<outfilename> [Options]
Try  -H option for more information.


Expected results:

1 molecule converted

methane.svg file is generated.

Additional info:
If you alter the variable or the file to point to the correct path, the program will work correctly. This also impacts the openbabel GUI, which will look strange due to plugins not being loaded.

Comment 1 Alexander Ploumistos 2023-02-08 19:09:14 UTC
This was noted in bug 2112710 which was erroneously closed with the last update.

Comment 2 Antonio T. sagitter 2023-02-08 19:20:27 UTC
Thank you for reporting this issue.

Comment 3 Fedora Update System 2023-02-08 20:36:26 UTC
FEDORA-2023-dfef6cde71 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dfef6cde71

Comment 4 Fedora Update System 2023-02-08 20:39:14 UTC
FEDORA-2023-dfef6cde71 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.