See <https://jenkins.x2go.org:8443/job/x2goclient+ppc64le+nightly+epel-7/148/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: don't try to prepend %{_qt4_bindir} if the macro is not defined. [ionic] Makefile: allow passing down variables that are safe to pass via the environment. ------------------------------------------ [...truncated 64.66 KB...] + echo enabled=0 + read line + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=ppc64le =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=ppc64le =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=ppc64le' + 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 + [[ '' =~ ^[[: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/ppc64le/ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ + 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=ppc64le =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le' + 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/ppc64le + (( ++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/ppc64le + (( ++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-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg ']' + '[' '!' -r /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg ']' ++ basename -s .cfg /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg + typeset mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3 + typeset tmp=epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3 + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full + '[' epel-7-ppc64le-x2go-nightly-full = epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3 ']' + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.cfg + typeset mock_cache_file_path=/home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg + '[' -f /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + '[' -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + cmp -s /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg /home/x2go-jenkins/mock-cache//epel-7-ppc64le-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-ppc64le-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg' + return 0 + mock --buildsrpm -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg --resultdir=/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/ --spec /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec --sources /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/ INFO: mock.py version 1.3.2-2 starting (python version = 3.5.3)... Start: init plugins INFO: selinux disabled Finish: init plugins Start: run INFO: Start(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-ppc64le) 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-2 INFO: Mock Version: 1.3.2-2 Start: yum update Finish: yum update Finish: chroot init Start: buildsrpm Start: rpmbuild -bs Finish: rpmbuild -bs Finish: buildsrpm ERROR: Exception(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-ppc64le) 1 minutes 3 seconds INFO: Results and/or logs in: /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/ 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 -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + cat /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/build.log Mock Version: 1.3.2-2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'], printOutput=Falseshell=Falseenv={'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ '}uid=1001logger=<mockbuild.trace_decorator.getLog object at 0x3fff954e3198>timeout=0user='mockbuild'chrootPath='/var/lib/mock/epel-7-ppc64le/root'gid=402) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:151: bad %if condition Building target platforms: ppc64le Building for target ppc64le 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 -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + exit 1 + cleanup + '[' -n /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA ']' + '[' -e /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA/epel-7-ppc64le-x2go-nightly-full.XCc5Gxx4FSYzzWvQMiOBTeb3.cfg + '[' -e /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA ']' + '[' -d /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA ']' + rmdir -- /home/x2go-jenkins/tmp/x2go-mock-WwCTzvPC57Me8kSJ1L0JAKUA + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /home/x2go-jenkins/tmp/tmp.A1JN9LJO3z2pWwsqyF1AUc8X ']' + '[' -d /home/x2go-jenkins/tmp/tmp.A1JN9LJO3z2pWwsqyF1AUc8X ']' + rm -Rf -- /home/x2go-jenkins/tmp/tmp.A1JN9LJO3z2pWwsqyF1AUc8X Build step 'Execute shell' marked build as failure
See <https://jenkins.x2go.org:8443/job/x2goclient+ppc64le+nightly+epel-7/149/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: fix condition with maybe-undefined macro. ------------------------------------------ [...truncated 128.53 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/ppc64le/ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ + 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=ppc64le =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le' + 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/ppc64le + (( ++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/ppc64le + (( ++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-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg ']' + '[' '!' -r /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg ']' ++ basename -s .cfg /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg + typeset mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA + typeset tmp=epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full + '[' epel-7-ppc64le-x2go-nightly-full = epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA ']' + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.cfg + typeset mock_cache_file_path=/home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg + '[' -f /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + '[' -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + cmp -s /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg /home/x2go-jenkins/mock-cache//epel-7-ppc64le-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-ppc64le-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg' + return 0 + read -r -d '' srpm + 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 + mock -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg --resultdir=/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64le /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-2 starting (python version = 3.5.3)... 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-ppc64le) 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-2 INFO: Mock Version: 1.3.2-2 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-ppc64le) 22 minutes 48 seconds INFO: Results and/or logs in: /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + cat /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/ppc64le/build.log Mock Version: 1.3.2-2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'], env={'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8'}shell=Falseuser='mockbuild'logger=<mockbuild.trace_decorator.getLog object at 0x3fffb4fc2a20>uid=1001printOutput=FalsechrootPath='/var/lib/mock/epel-7-ppc64le/root'gid=402timeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'], private_network=Trueshell=Falseuser='mockbuild'logger=<mockbuild.trace_decorator.getLog object at 0x3fffb4fc2a20>uid=1001printOutput=FalsechrootPath='/var/lib/mock/epel-7-ppc64le/root'gid=402env={'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8'}timeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8'} and shell False error: types must match error: /builddir/build/SPECS/x2goclient.spec:151: bad %if condition Building target platforms: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + exit 1 + cleanup + '[' -n /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4 ']' + '[' -e /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4 ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.167SFPaaeqeyQQhyK5DF1kqA.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.Gdyo0zo2euDIIIxqeiOU6APC.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4/epel-7-ppc64le-x2go-nightly-full.Gdyo0zo2euDIIIxqeiOU6APC.cfg + '[' -e /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4 ']' + '[' -d /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4 ']' + rmdir -- /home/x2go-jenkins/tmp/x2go-mock-PNZd6e3tExPKjcrddJ7SPyn4 + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /home/x2go-jenkins/tmp/tmp.WvG7agu18WWV11KDriE70tkg ']' + '[' -d /home/x2go-jenkins/tmp/tmp.WvG7agu18WWV11KDriE70tkg ']' + rm -Rf -- /home/x2go-jenkins/tmp/tmp.WvG7agu18WWV11KDriE70tkg Build step 'Execute shell' marked build as failure