Bug 1306639 - 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
Summary: openbabel-2.3.90-0.8.20150402gita345105.fc24 FTBFS: cannot convert 'std::basi...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openbabel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/b...
Whiteboard:
: 1307819 (view as bug list)
Depends On:
Blocks: F24FTBFS
TreeView+ depends on / blocked
 
Reported: 2016-02-11 14:01 UTC by Petr Pisar
Modified: 2016-02-22 09:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-22 09:47:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.