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
This commit is contained in:
Lee Duncan 2019-10-04 19:06:05 +00:00 committed by Git OBS Bridge
parent bdbdd8e5bb
commit 967a364187
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Oct 4 18:26:01 UTC 2019 - Lee Duncan <lduncan@suse.com>
- 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

View File

@ -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