Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1306639

Summary: openbabel-2.3.90-0.8.20150402gita345105.fc24 FTBFS: cannot convert 'std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}' to 'bool' in initialization
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: openbabelAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominik, itamar, paul, releng, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koji.fedoraproject.org/koji/buildinfo?buildID=724828
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-22 09:47:27 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:    
Bug Blocks: 1305208    

Description Petr Pisar 2016-02-11 14:01:27 UTC
openbabel-2.3.90-0.8.20150402gita345105.fc24 fails to build in F24:

[ 30%] Building CXX object src/CMakeFiles/plugin_ops.dir/ops/conformer.o
cd /builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/src && /usr/bin/c++   -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Dplugin_ops_EXPORTS -isystem /usr/lib/wx/include/gtk2-unicode-release-2.8 -isystem /usr/include/wx-2.8 -I/builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/include -I/builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/data -I/usr/include/eigen3  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables  -pthread -O2 -g -DNDEBUG -O2 -g -fPIC   -DOB_MODULE_PATH="\"/usr/lib/openbabel\"" -o CMakeFiles/plugin_ops.dir/ops/conformer.o -c /builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/src/ops/conformer.cpp
[...]
/builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/src/ops/conformer.cpp: In function 'bool OpenBabel::getInteger(const string&, int&)':
/builddir/build/BUILD/openbabel-a345105b28173eb7da14ecd1e5beebe94140c6d7/src/ops/conformer.cpp:84:23: error: cannot convert 'std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}' to 'bool' in initialization
     bool ret = iss >> value;
                       ^~~~~
[ 30%] Linking CXX shared module ../../lib/boxformat.so

This seems to be triggered by GCC 6.

Comment 1 Petr Pisar 2016-02-17 07:09:15 UTC
*** Bug 1307819 has been marked as a duplicate of this bug. ***

Comment 2 Dominik 'Rathann' Mierzejewski 2016-02-22 09:47:27 UTC
Fixed in rawhide.