Overview
Request 1133996 superseded
- Update to version 20231207.46c2ec3:
* make FLAVOR_compile compatible with python2
- Update to version 20231204.dd64e74:
* Combine fix_shebang in one line
* New macro FLAVOR_fix_shebang_path
* Use realpath in %python_clone macro shebang replacement
* Compile and fix_shebang in %python_install macros
- Created by dgarcia
- In state superseded
- Supersedes 1130671
- Superseded by 1134299
- Open review for factory-staging
[ 12s] + xargs -0 /usr/bin/python2 -c ' [ 12s] import sys, py_compile [ 12s] for f in sys.argv[1:]: [ 12s] fp=f[len("/home/abuild/rpmbuild/BUILDROOT/python2-pycairo-1.18.1-6.60.x86_64"):] [ 12s] print(f"Generating cached byte-code for {fp}") [ 12s] for o in [0, 1]: [ 12s] py_compile.compile(f, dfile=fp, optimize=o) [ 12s] ' [ 12s] File "<string>", line 5 [ 12s] print(f"Generating cached byte-code for {fp}") [ 12s] ^ [ 12s] SyntaxError: invalid syntax [ 12s] error: Bad exit status from /var/tmp/rpm-tmp.ZxZmqo (%install)
In a new rebuild there were many other issues (likely transient problems) but this issue was still present.
https://bugzilla.opensuse.org/show_bug.cgi?id=1218143 - python2-pycairo is blocking update python-rpm-macros
Request History
dgarcia created request
- Update to version 20231207.46c2ec3:
* make FLAVOR_compile compatible with python2
- Update to version 20231204.dd64e74:
* Combine fix_shebang in one line
* New macro FLAVOR_fix_shebang_path
* Use realpath in %python_clone macro shebang replacement
* Compile and fix_shebang in %python_install macros
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
anag+factory set openSUSE:Factory:Staging:B as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:B"
anag+factory accepted review
Picked "openSUSE:Factory:Staging:B"
anag+factory added factory-staging as a reviewer
Being evaluated by group "factory-staging"
anag+factory accepted review
Unstaged from project "openSUSE:Factory:Staging:B"
dimstar accepted review
New issue: