Hi Johannes,
some of the macros come from obs-build itself, see: https://github.com/openSUSE/obs-build/tree/master/configs
Hope that helps,
Dan
Johannes Kastl kastl@b1-systems.de writes:
Hi all,
during cleanup I noticed that building rubygems for SLES12 in breaks with the following error:
[ 23s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/rubygem-net-ssh-5_0.spec [ 23s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 23s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 23s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 23s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 23s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration.
This leads to an error later: [ 24s] error: Failed build dependencies: [ 24s] rubygem(ruby:2.2.0: is needed by rubygem-net-ssh-5_0-5.0.2-0.x86_64 [ 24s] rubygem(ruby:2.3.0: is needed by rubygem-net-ssh-5_0-5.0.2-0.x86_64 [ 24s] rubygem(ruby:2.4.0: is needed by rubygem-net-ssh-5_0-5.0.2-0.x86_64 [ 24s] rubygem(ruby:2.5.0: is needed by rubygem-net-ssh-5_0-5.0.2-0.x86_64 [ 24s] rubygem(ruby:2.6.0: is needed by rubygem-net-ssh-5_0-5.0.2-0.x86_64
The macros have been defined in the prjconf long time ago and are still matching what I find in Factory or dlre prjconf.
I'll try to setup a new project for testing this. Is there any place I need to look besides prjconf and the macro package?
Kind Regards, Johannes
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537