Bug#918767: rivet FTBFS with yaml-cpp 0.6.2

Adrian Bunk bunk at debian.org
Wed Jan 9 07:11:19 GMT 2019


Source: rivet
Version: 1.8.3-2
Severity: serious
Tags: ftbfs patch

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rivet.html

...
In file included from /usr/include/c++/8/array:35,
                 from /usr/include/yaml-cpp/node/convert.h:10,
                 from /usr/include/yaml-cpp/yaml.h:18,
                 from AnalysisInfo.cc:7:
/usr/include/c++/8/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 \


Fix attached.
-------------- next part --------------
Description: Don't force a lower C++ standard with -ansi
 This causes FTBFS with yaml-cpp 0.6.2.
Author: Adrian Bunk <bunk at debian.org>

--- rivet-1.8.3.orig/configure.ac
+++ rivet-1.8.3/configure.ac
@@ -316,7 +316,6 @@ AM_CPPFLAGS="$AM_CPPFLAGS -I\$(BOOSTINCP
 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(HEPMCINCPATH)"
 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(FASTJETINCPATH)"
 AC_CEDAR_CHECKCXXFLAG([-pedantic], [AM_CXXFLAGS="$AM_CXXFLAGS -pedantic"])
-AC_CEDAR_CHECKCXXFLAG([-ansi], [AM_CXXFLAGS="$AM_CXXFLAGS -ansi"])
 AC_CEDAR_CHECKCXXFLAG([-Wall], [AM_CXXFLAGS="$AM_CXXFLAGS -Wall"])
 AC_CEDAR_CHECKCXXFLAG([-Wno-long-long], [AM_CXXFLAGS="$AM_CXXFLAGS -Wno-long-long"])
 AC_CEDAR_CHECKCXXFLAG([-Wno-format], [AM_CXXFLAGS="$AM_CXXFLAGS -Wno-format"])


More information about the debian-science-maintainers mailing list