Re: Boost updated to 1.58.0 in rawhide and f23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

commit 79905dc02dd19265d235c0cb37b0360a783c8eeb
Author: Jonathan Wakely <jwakely@xxxxxxxxxx>
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@xxxxxxxxxx> 0.9.3-12.20130401snap
+- Use -P flag during configure tests.
+
 * Wed Jul 22 2015 David Tardon <dtardon@xxxxxxxxxx> - 0.9.3-11.20130401snap
 - rebuild for Boost 1.58
 
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux