See <https://jenkins.x2go.org:8443/job/x2goclient+ppc64be+nightly+epel-7/155/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: fix condition with maybe-undefined macro. ------------------------------------------ [...truncated 128.65 KB...] + '[' 1 -eq 0 ']' + echo failovermethod=priority + read line + [[ '' =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ '' =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [local] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [local] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[local]' + read line + [[ name=local =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=local =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=local + read line + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64/ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64/ + read line + [[ cost=2000 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ cost=2000 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo cost=2000 + read line + [[ enabled=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ enabled=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo enabled=0 + read line + [[ '' =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [epel-debuginfo] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [epel-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[epel-debuginfo]' + read line + [[ name=epel-debug =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=epel-debug =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=epel-debug + read line + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64' + read line + [[ failovermethod=priority =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ failovermethod=priority =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo failovermethod=priority + read line + [[ enabled=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ enabled=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo enabled=0 + read line + [[ """ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ """ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + printf '\n' + typeset -i i=0 + (( i = 0 )) + (( i < 8 )) + echo '[x2go-extras-epel]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go EPEL Packages (Extra Packages)' + (( ++i )) + (( i < 8 )) + echo baseurl=http://packages.x2go.org/epel/7/extras/ppc64 + (( ++i )) + (( i < 8 )) + echo gpgcheck=0 + (( ++i )) + (( i < 8 )) + echo gpgkey=http://packages.x2go.org/pub.key + (( ++i )) + (( i < 8 )) + echo enabled=1 + (( ++i )) + (( i < 8 )) + echo protect=0 + (( ++i )) + (( i < 8 )) + echo '' + (( ++i )) + (( i < 8 )) + '[' full = full ']' + printf '\n' + typeset -i i=0 + (( i = 0 )) + (( i < 8 )) + echo '[x2go-nightly-epel]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go EPEL Packages (Nightly Builds)' + (( ++i )) + (( i < 8 )) + echo baseurl=http://packages.x2go.org/epel/7/heuler/ppc64 + (( ++i )) + (( i < 8 )) + echo gpgcheck=0 + (( ++i )) + (( i < 8 )) + echo gpgkey=http://packages.x2go.org/pub.key + (( ++i )) + (( i < 8 )) + echo enabled=1 + (( ++i )) + (( i < 8 )) + echo protect=0 + (( ++i )) + (( i < 8 )) + echo '' + (( ++i )) + (( i < 8 )) + echo '"""' + read line + IFS=' ' + cache_mock_config + typeset tmp_mock_config=/home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg ']' + '[' '!' -r /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg ']' ++ basename -s .cfg /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg + typeset mock_cache_file_name=epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y + typeset tmp=epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y + mock_cache_file_name=epel-7-ppc64-x2go-nightly-full + '[' epel-7-ppc64-x2go-nightly-full = epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y ']' + mock_cache_file_name=epel-7-ppc64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg + '[' -f /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg ']' + '[' -r /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg ']' + cmp -s /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg + echo 'Cached mock config file matches generated one, using the cached file.' Cached mock config file matches generated one, using the cached file. + TMP_MOCK_CFG_FILE=/home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg' + return 0 + find /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/ -type f -iname 'x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.*.src.rpm' -print0 + read -r -d '' srpm + mock -r /home/x2go-jenkins/mock-cache//epel-7-ppc64-x2go-nightly-full.cfg --resultdir=/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64 /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm INFO: mock.py version 1.3.2-1~bpo8+1 starting (python version = 3.4.2)... Start: init plugins INFO: selinux disabled Finish: init plugins Start: run INFO: Start(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm) Config(epel-7-ppc64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled yum cache Start: cleaning yum metadata Finish: cleaning yum metadata Mock Version: 1.3.2-1~bpo8+1 INFO: Mock Version: 1.3.2-1~bpo8+1 Start: yum update Finish: yum update Finish: chroot init Start: build phase for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm Start: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm Finish: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm Start: rpmbuild x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm ERROR: Exception(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm) Config(epel-7-ppc64) 15 minutes 42 seconds INFO: Results and/or logs in: /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64 INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot Finish: clean chroot ERROR: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec + cat /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64/build.log Mock Version: 1.3.2-1~bpo8+1 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec'], user='mockbuild'logger=<mockbuild.trace_decorator.getLog object at 0xf753ea50>uid=1001timeout=0env={'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=402shell=FalsechrootPath='/var/lib/mock/epel-7-ppc64/root'printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec'], user='mockbuild'gid=402uid=1001private_network=Truetimeout=0env={'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}logger=<mockbuild.trace_decorator.getLog object at 0xf753ea50>shell=FalsechrootPath='/var/lib/mock/epel-7-ppc64/root'printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False error: types must match error: /builddir/build/SPECS/x2goclient.spec:151: bad %if condition Building target platforms: ppc64 Building for target ppc64 Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python3/dist-packages/mockbuild/util.py", line 569, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/x2goclient.spec + exit 1 + cleanup + '[' -n /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw ']' + '[' -e /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in '"${TMP_MOCK_CFG_DIR}/"*' + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.23ZrUZcfxxfCLq7q5kyJv47Y.cfg + for file in '"${TMP_MOCK_CFG_DIR}/"*' + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.34WFDtkyBPnMX3aVr1xk9PTK.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw/epel-7-ppc64-x2go-nightly-full.34WFDtkyBPnMX3aVr1xk9PTK.cfg + '[' -e /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw ']' + '[' -d /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw ']' + rmdir -- /home/x2go-jenkins/tmp/x2go-mock-jQGax7G063cUrZzMpJzyFVEw + typeset temp_dir= + for temp_dir in '"${temp_cleanup[@]}"' + '[' -n /home/x2go-jenkins/tmp/tmp.gAFQa7iF6bDZxU8SIMS6FX5M ']' + '[' -d /home/x2go-jenkins/tmp/tmp.gAFQa7iF6bDZxU8SIMS6FX5M ']' + rm -Rf -- /home/x2go-jenkins/tmp/tmp.gAFQa7iF6bDZxU8SIMS6FX5M Build step 'Execute shell' marked build as failure