D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/viewvc-1.3.0-0.dev20200516.3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rqaiA8
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QLNGdR
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build
+ rm -rf viewvc-1.3.0-dev-20200516
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/viewvc-1.3.0-dev-20200516.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd viewvc-1.3.0-dev-20200516
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/viewvc-tools.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/viewvc-1.1.14-fhs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/CVE-2023-22464.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/CVE-2023-22456.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.embOYC
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd viewvc-1.3.0-dev-20200516
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qbBRwW
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd viewvc-1.3.0-dev-20200516
+ '[' 1 -eq 1 ']'
+ /usr/bin/python3 ./viewvc-install --destdir=/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/BUILDROOT --prefix=/usr/share/viewvc
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:674: SyntaxWarning: invalid escape sequence '\d'
'(:\d\d)?)?)?$')
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1156: SyntaxWarning: invalid escape sequence '\+'
_re_rewrite_url = re.compile('((http|https|ftp|file|svn|svn\+ssh)'
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1157: SyntaxWarning: invalid escape sequence '\?'
'(://[-a-zA-Z0-9%.~:_/]+)((\?|\&)'
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1161: SyntaxWarning: invalid escape sequence '\+'
_re_rewrite_email = re.compile('([-a-zA-Z0-9_.\+]+)@'
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1162: SyntaxWarning: invalid escape sequence '\.'
'(([-a-zA-Z0-9]+\.)+[A-Za-z]{2,4})')
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1293: SyntaxWarning: invalid escape sequence '\%'
url = url.replace('\%d' % (i), repl)
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1681: SyntaxWarning: invalid escape sequence '\+'
_re_rewrite_escaped_url = re.compile('((http|https|ftp|file|svn|svn\+ssh)'
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1683: SyntaxWarning: invalid escape sequence '\?'
'((\?|\&|\&|\&)'
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:3283: SyntaxWarning: invalid escape sequence '\<'
text = text.replace('\x02', '\
')
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:4425: SyntaxWarning: invalid escape sequence '\d'
'(\d\d):(\d\d)(?::(\d\d))?)?$', datestr)
/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py:1726: SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
if encoding is "ascii":
Traceback (most recent call last):
File "/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/./viewvc-install", line 36, in
import viewvc
File "/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/viewvc.py", line 47, in
import sapi
File "/home/pterjan/rpmbuild/BUILD/viewvc-1.3.0-build/viewvc-1.3.0-dev-20200516/lib/sapi.py", line 22, in
import cgi
ModuleNotFoundError: No module named 'cgi'
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qbBRwW (%install)
RPM build errors:
Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qbBRwW (%install)
I: [iurt_root_command] ERROR: chroot