From 967a364187e9f2283cdf6330298ae53904b0d05a217da48a47a4ba5803cc4dce Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Fri, 4 Oct 2019 19:06:05 +0000 Subject: [PATCH] Accepting request 735345 from home:lee_duncan:branches:Base:System - Had to address build issue in OBS, resulting in this package not building, with message (folding done by me): + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature \ --define '_build_create_debug 1' \ --define 'disturl obs://build.opensuse.org/Base:System/openSUSE_Factory/93a92c971e76cbf08ebb7afd9a4de7be-open-isns' \ /home/abuild/rpmbuild/SOURCES/open-isns.spec error: /home/abuild/rpmbuild/SOURCES/open-isns.spec: \ line 63: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. Line 63 was the "%configure" call, but I believe recursion is caused by redefinition of _lto_cflags. To fix this, I reverted the "Use FAT LTO ..." commit, removing the "%global _lto_cflags ..." line. OBS-URL: https://build.opensuse.org/request/show/735345 OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=21 --- open-isns.changes | 17 +++++++++++++++++ open-isns.spec | 3 +-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/open-isns.changes b/open-isns.changes index 62a1711..bb694cb 100644 --- a/open-isns.changes +++ b/open-isns.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Oct 4 18:26:01 UTC 2019 - Lee Duncan + +- Had to address build issue in OBS, resulting in this package not + building, with message (folding done by me): + + + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature \ + --define '_build_create_debug 1' \ + --define 'disturl obs://build.opensuse.org/Base:System/openSUSE_Factory/93a92c971e76cbf08ebb7afd9a4de7be-open-isns' \ + /home/abuild/rpmbuild/SOURCES/open-isns.spec + error: /home/abuild/rpmbuild/SOURCES/open-isns.spec: \ + line 63: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. + + Line 63 was the "%configure" call, but I believe recursion is caused + by redefinition of _lto_cflags. To fix this, I reverted the + "Use FAT LTO ..." commit, removing the "%global _lto_cflags ..." line. + ------------------------------------------------------------------- Wed Jul 24 13:52:45 UTC 2019 - matthias.gerstner@suse.com diff --git a/open-isns.spec b/open-isns.spec index 6de7638..00cf0e6 100644 --- a/open-isns.spec +++ b/open-isns.spec @@ -57,10 +57,9 @@ Files to develop an application using the open-isns library. %setup -n %{name}-%{version} %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects autoconf autoheader -%configure --prefix=%{_prefix} +%configure make OPTFLAGS="%{optflags}" %install