Bug 1461145

Summary: dmlite: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: dmliteAssignee: Ricardo Rocha <rocha.porto>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.alvarezayllon, adev88, andrea.manzi, rocha.porto
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://apps.fedoraproject.org/koschei/package/dmlite
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-21 17:19:55 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 Orion Poplawski 2017-06-13 16:23:47 UTC
Description of problem:
Package dmlite fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
0.8.6-2.fc27

Steps to Reproduce:
koji build --scratch f27 dmlite-0.8.6-2.fc27.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/dmlite

Comment 1 Andrea 2017-07-10 15:13:23 UTC
i have fixed the build by removing the cppunit tests:

https://koji.fedoraproject.org/koji/taskinfo?taskID=20443250

from the build error it seems that the latest cppunit version requires cpp+11 

In file included from /usr/include/c++/7/type_traits:35:0,
                 from /usr/include/cppunit/tools/StringHelper.h:7,
                 from /usr/include/cppunit/TestAssert.h:8,
                 from /builddir/build/BUILD/dmlite-0.8.6/tests/cpp/test-base.cpp:1:
/usr/include/c++/7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \

this is quite strange as i didn't find anything related to this on the release notes..

only this package is having this issue?

thanks
Andrea