Boost updated to 1.58.0 in rawhide and f23

Jonathan Wakely jwakely at redhat.com
Mon Jul 27 08:48:40 UTC 2015


On 24/07/15 19:26 +0100, Jonathan Wakely wrote:
>>>flamerobin
>
>This looks like a Boost problem:
>
>configure: error: invalid value: boost_major_version=
>
>But actually it's caused by a GCC change that puts a # preprocessor
>marker before macro expansions:
>
>boost-lib-version = # 2 "/tmp/conftest.cpp" 3 4
>                  "1_58"
>
>The configure script needs to use -P as described at
>https://gcc.gnu.org/gcc-5/porting_to.html

This patch fixes the flamerobin build.

I don't understand why flamerobin isn't shown in the recent FTBFS
email when this failure is nothing to do with the Boost upgrade and
should be happening for all f23 and rawhide builds using GCC-5.

-------------- next part --------------
commit 79905dc02dd19265d235c0cb37b0360a783c8eeb
Author: Jonathan Wakely <jwakely at redhat.com>
Date:   Mon Jul 27 09:26:07 2015 +0100

    Use -P flag during configure tests.

diff --git a/flamerobin.spec b/flamerobin.spec
index b7aeb95..beae887 100644
--- a/flamerobin.spec
+++ b/flamerobin.spec
@@ -3,7 +3,7 @@
 Summary:	Graphical client for Firebird
 Name:		flamerobin
 Version:	0.9.3
-Release:	11.%{checkout}%{?dist}
+Release:	12.%{checkout}%{?dist}
 License:	BSD
 Group:		Applications/Databases
 #Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
@@ -30,7 +30,7 @@ toolkit.
 %setup -q -c -n %{name}
 
 %build
-%configure 
+%configure CPPFLAGS=-P
 make %{?_smp_mflags} 
 
 %install
@@ -59,6 +59,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jul 27 2015 Jonathan Wakely <jwakely at redhat.com> 0.9.3-12.20130401snap
+- Use -P flag during configure tests.
+
 * Wed Jul 22 2015 David Tardon <dtardon at redhat.com> - 0.9.3-11.20130401snap
 - rebuild for Boost 1.58
 


More information about the devel mailing list