Hello community, here is the log from the commit of package guile1 for openSUSE:Factory checked in at 2020-06-09 00:08:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guile1 (Old) and /work/SRC/openSUSE:Factory/.guile1.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guile1" Tue Jun 9 00:08:32 2020 rev:19 rq:812590 version:1.8.8 Changes: -------- --- /work/SRC/openSUSE:Factory/guile1/guile1.changes 2019-11-24 00:46:11.555298147 +0100 +++ /work/SRC/openSUSE:Factory/.guile1.new.3606/guile1.changes 2020-06-09 00:10:08.310435397 +0200 @@ -1,0 +2,6 @@ +Mon Jun 8 12:03:54 UTC 2020 - Dave Plater <davejpla...@gmail.com> + +- Fix build with gcc10 by removing optimization from the build flags + Thanks to the lilypond devs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guile1.spec ++++++ --- /var/tmp/diff_new_pack.QSGHjZ/_old 2020-06-09 00:10:09.590439325 +0200 +++ /var/tmp/diff_new_pack.QSGHjZ/_new 2020-06-09 00:10:09.594439337 +0200 @@ -1,7 +1,7 @@ # # spec file for package guile1 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,8 @@ Summary: GNU's Ubiquitous Intelligent Language for Extension License: LGPL-2.1-or-later Group: Development/Languages/Scheme -Url: https://www.gnu.org/software/guile/ +URL: https://www.gnu.org/software/guile/ +#https://github.com/texmacs/guile/archive/texmacs.zip Source0: https://ftp.gnu.org/gnu/guile/guile-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/guile/guile-%{version}.tar.gz.sig Source2: %{name}.keyring @@ -169,6 +170,14 @@ %build %define _lto_cflags %{nil} +# NOTE: GCC 10 succeeds in rewriting a +#particular tail call into jumps. This avoids stack frames from the +#recursive call which the check relies on. Funnily enough, a comment +#says: "If the code could be inlined, that might cause the test to give +#an incorrect answer." - indeed. +# As a result the guile executable causes a segfault when built with -02 +export CFLAGS="`echo %optflags|tr 02 00`" +echo $CFLAGS sed -i "s:GUILE_:GUILE1_:" guile-config/guile.m4 sed -i "s:guile:guile1:" guile-config/guile.m4 # automake 1.13: do not run test simultaneously @@ -181,7 +190,7 @@ --with-pic \ --with-threads \ --program-transform-name="s:guile:%{binpref}:" -make %{?_smp_mflags} +make --trace %{?_smp_mflags} %check # 47 of 11930 tests are failing now