Hello! On 5/21/21 6:48 PM, Ben Greiner wrote:
By "Public Cloud repositories for SLE-12", do you by any chance refer to devel projects inheriting their stuff from devel:languages:python:backports/SLE12_SP*[1]?
No, I am talking about internal projects hosted on IBS.
Almost any package in a devel project where such a SLE-12 target is configured has been failing with the mentioned error for months. Nobody seemed to care until now.
I am talking about different repos though. Although it's good to see the error is reproducible outside IBS.
I ran into a repeating issue that I'm not sure what it's causing but I assume it's an issue with RPM macros:
[ 70s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 70s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 70s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 70s] error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. [ 70s] error: lua script failed: [string "<lua>"]:45: bad argument #2 to 'format' (string expected, got nil) [ 70s] error: line 38: Provides: python2-cffi = 1.14.5-2.1 [ 70s] %package -n python36-cffi
Please, file a proper bug report to the Bugzilla. We will probably have to update python-rpm-macros in SLE-12, and we will need it.
I am almost certain that building a python package against true SLE-12 without importing from the devel projects will not show these errors.
The problem is rather that d:l:p:backports includes a recent python-rpm-macros, but either RPM or Lua in SLE-12 are too old to deal with it.
Yes, that was my suspicion as well. Updating python-rpm-macros didn't help. But I also ran into issues with the current version of RPM on SLE-12.
Suggestion: - Use an older python-rpm-macros and import it into the SLE12 build target for d:l:p:backports through something similar as you already had done with devel:languages:python:backports:SLE_12_SP2
Since the repository is not d:l:p:b but a different one, it does not have the same version of python-rpm-macros. Adrian