https://bugzilla.novell.com/show_bug.cgi?id=726159 https://bugzilla.novell.com/show_bug.cgi?id=726159#c0 Summary: KDE:Distro:Factory: Bug -- OpenBabel spec file should include wxGTK-devel as dependency for GUI Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: kde-maintainers@suse.de ReportedBy: aardvark@saintaardvarkthecarpeted.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Community User Blocker: --- Created an attachment (id=458542) --> (http://bugzilla.novell.com/attachment.cgi?id=458542) Buildlog for the OpenBabel SRPM without wxGTK-devel installed. Overview ======== The SRPM for OpenBabel, version 2.3.1-24.1, should include wxGTK-devel as a build dependency, or else have GUI/non-GUI options that would include the dependency as necessary. The SRPM was downloaded from here: http://software.opensuse.org/search/download?base=openSUSE%3AFactory&file=KDE%3A%2FDistro%3A%2FFactory%2FopenSUSE_Factory%2Fsrc%2Fopenbabel-2.3.1-24.1.src.rpm&query=openbabel+2.3.1 Details ======= I recently downloaded the SRPM for OpenBabel, version 2.3.1-24.1, and compiled it on an OpenSuSE 11.3 machine. During the initial configuration phase, I noticed that it complained that it would not build the GUI because wxWidgets was missing. I've attached the full log, but here's a snippet: + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 [snip] -- Could NOT find wxWidgets (missing: wxWidgets_FOUND) [snip] -- Attempting to build the GUI -- wxWidgets not found => GUI will not be built The build succeeded, but the file "/usr/bin/obgui" was *not* part of the package. After I installed the wxGTK-devel RPM, I rebuilt the SRPM and found that the GUI was rebuilt successfully: + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 [snip] -- Found wxWidgets: TRUE [snip] -- Attempting to build the GUI -- wxWidgets found => GUI will be built Incidentally, the wxWidgets package *was* already on the build machine, but the configuration step was not satisfied until wxGTK-devel was installed. The build succeeded, and "/usr/bin/obgui" *was* part of the package. Steps to reproduce ================== Ensure you have wxWidgets installed, but not wxGTK-devel. Download the SRPM and rebuild: rpmbuild -ba path/to/openbabel.spec Actual results ============== The package builds but notes that no GUI will be built. When the RPM is installed, there is no "/usr/bin/obgui" in it. Expected results ================ Either: a) the rpmbuild process fails because of missing build dependencies; installing wxGTK-devel and rebuilding produces a package with "/usr/bin/obgui", or b) the non-GUI version of OpenBabel is in a separate non-GUI SRPM. Build date and platform ======================= October 24, 2011 on OpenSuSE 11.3, x86_64. I've left the severity at "Normal" because I'm not sure how many people expect to use the GUI when using OpenBabel. If that's the usual use case, then perhaps it should be bumped to "Major". I apologize if I've left anything out; please let me know if you need any further information. Thanks very much for your time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.