Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qtwebkit.spec'], chrootPath='/var/lib/mock/f29-build-7005-1719/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qtwebkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 27: %{version} BUILDSTDERR: warning: Macro expanded in comment on line 29: %{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/qtwebkit-2.3.4-21.0.riscv64.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qtwebkit.spec'], chrootPath='/var/lib/mock/f29-build-7005-1719/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qtwebkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 27: %{version} BUILDSTDERR: warning: Macro expanded in comment on line 29: %{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HeoJqm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf webkit-qtwebkit-23 + /usr/bin/mkdir -p webkit-qtwebkit-23 + cd webkit-qtwebkit-23 + /usr/bin/gzip -dc /builddir/build/SOURCES/qtwebkit-2.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (webkit-qtwebkit-2.2-tp1-pluginpath.patch):' Patch #1 (webkit-qtwebkit-2.2-tp1-pluginpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pluginpath --fuzz=0 patching file Source/WebCore/plugins/PluginDatabase.cpp Hunk #1 succeeded at 384 (offset 4 lines). Hunk #2 succeeded at 394 (offset 4 lines). Patch #3 (qtwebkit-2.3-debuginfo.patch): + echo 'Patch #3 (qtwebkit-2.3-debuginfo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debuginfo --fuzz=0 patching file Source/WebCore/WebCore.pri + echo 'Patch #4 (qtwebkit-2.3-save_memory.patch):' Patch #4 (qtwebkit-2.3-save_memory.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .save_memory --fuzz=0 patching file Source/WebCore/WebCore.pri Hunk #1 succeeded at 359 (offset 23 lines). Patch #14 (webkit-qtwebkit-23-no_rpath.patch): + echo 'Patch #14 (webkit-qtwebkit-23-no_rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_rpath --fuzz=0 patching file Source/WebKit/qt/declarative/experimental/experimental.pri patching file Source/WebKit/qt/declarative/public.pri patching file Tools/qmake/mkspecs/features/rpath.prf + echo 'Patch #15 (webkit-qtwebkit-23-riscv64.patch):' Patch #15 (webkit-qtwebkit-23-riscv64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .riscv64 --fuzz=0 patching file CMakeLists.txt patching file Source/JavaScriptCore/CMakeLists.txt patching file Source/JavaScriptCore/JavaScriptCore.pri patching file Source/WTF/wtf/Platform.h patching file Source/WTF/wtf/dtoa/utils.h + echo 'Patch #100 (webkit-qtwebkit-23-gcc5.patch):' Patch #100 (webkit-qtwebkit-23-gcc5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc5 --fuzz=0 patching file Source/JavaScriptCore/runtime/JSObject.cpp + echo 'Patch #101 (webkit-qtwebkit-23-private_browsing.patch):' Patch #101 (webkit-qtwebkit-23-private_browsing.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .private_browsing --fuzz=0 patching file Source/WebCore/loader/icon/IconController.cpp + install -m755 -D /builddir/build/SOURCES/qmake.sh bin/qmake + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yLOfc7 + umask 022 + cd /builddir/build/BUILD + cd webkit-qtwebkit-23 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS BUILDSTDERR: ++ pwd + PATH=/builddir/build/BUILD/webkit-qtwebkit-23/bin:/usr/lib64/qt4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH BUILDSTDERR: ++ pwd + QMAKEPATH=/builddir/build/BUILD/webkit-qtwebkit-23/Tools/qmake + export QMAKEPATH + QTDIR=/usr/lib64/qt4 + export QTDIR + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpermissive' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpermissive' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpermissive' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpermissive' + mkdir -p riscv64-redhat-linux-gnu ~/build/BUILD/webkit-qtwebkit-23/riscv64-redhat-linux-gnu ~/build/BUILD/webkit-qtwebkit-23 + pushd riscv64-redhat-linux-gnu BUILDSTDERR: ++ pwd + WEBKITOUTPUTDIR=/builddir/build/BUILD/webkit-qtwebkit-23/riscv64-redhat-linux-gnu + export WEBKITOUTPUTDIR + ../Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 --no-webkit2 --release '--qmakearg=CONFIG+=production_build DEFINES+=HAVE_LIBWEBP=1' --makeargs=-j4 --disable-jit --system-malloc ***Unknown option --disable-jit Usage: qmake-qt4 [mode] [options] [files] QMake has two modes, one mode for generating project files based on some heuristics, and the other for generating makefiles. Normally you shouldn't need to specify a mode, as makefile generation is the default mode for qmake, but you may use this to test qmake on an existing project Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory Warnings Options: -Wnone Turn off all warnings; specific ones may be re-enabled by later -W options -Wall Turn on all warnings -Wparser Turn on parser warnings -Wlogic Turn on logic warnings (on by default) -Wdeprecated Turn on deprecation warnings (on by default) Options: * You can place any variable assignment in options and it will be * * processed as if it was in [files]. These assignments will be parsed * * before [files]. * -o file Write output to file -d Increase debug level -t templ Overrides TEMPLATE as templ -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value -help This help -v Version information -after All variable assignments after this will be parsed after [files] -norecursive Don't do a recursive search -recursive Do a recursive search -set Set persistent property -unset Unset persistent property -query Query persistent property. Show all if is empty. -cache file Use file as cache [makefile mode only] -spec spec Use spec as QMAKESPEC [makefile mode only] -nocache Don't use a cache file [makefile mode only] -nodepend Don't generate dependencies [makefile mode only] -nomoc Don't generate moc targets [makefile mode only] -nopwd Don't look for files in pwd [project mode only] Calling 'QMAKEPATH=/builddir/build/BUILD/webkit-qtwebkit-23/Tools/qmake qmake DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 CONFIG+=production_build DEFINES+=HAVE_LIBWEBP=1 --disable-jit CONFIG+=no_webkit2 DEFINES+=USE_SYSTEM_MALLOC=1 CONFIG+=release CONFIG-=debug CONFIG+=production_build /builddir/build/BUILD/webkit-qtwebkit-23/WebKit.pro' in /builddir/build/BUILD/webkit-qtwebkit-23/riscv64-redhat-linux-gnu/Release BUILDSTDERR: Unable to determine current SVN revision in /builddir/build/BUILD/webkit-qtwebkit-23 at /builddir/build/BUILD/webkit-qtwebkit-23/Tools/Scripts/VCSUtils.pm line 396. BUILDSTDERR: ***Unknown option --disable-jit Usage: qmake-qt4 [mode] [options] [files] QMake has two modes, one mode for generating project files based on some heuristics, and the other for generating makefiles. Normally you shouldn't need to specify a mode, as makefile generation is the default mode for qmake, but you may use this to test qmake on an existing project Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory Warnings Options: -Wnone Turn off all warnings; specific ones may be re-enabled by later -W options -Wall Turn on all warnings -Wparser Turn on parser warnings -Wlogic Turn on logic warnings (on by default) -Wdeprecated Turn on deprecation warnings (on by default) Options: * You can place any variable assignment in options and it will be * * processed as if it was in [files]. These assignments will be parsed * * before [files]. * -o file Write output to file -d Increase debug level -t templ Overrides TEMPLATE as templ -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value -help This help -v Version information -after All variable assignments after this will be parsed after [files] -norecursive Don't do a recursive search -recursive Do a recursive search -set Set persistent property -unset Unset persistent property -query Query persistent property. Show all if is empty. -cache file Use file as cache [makefile mode only] -spec spec Use spec as QMAKESPEC [makefile mode only] -nocache Don't use a cache file [makefile mode only] -nodepend Don't generate dependencies [makefile mode only] -nomoc Don't generate moc targets [makefile mode only] -nopwd Don't look for files in pwd [project mode only] RPM build errors: BUILDSTDERR: Failed to setup build environment using qmake! BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.yLOfc7 (%build) BUILDSTDERR: Macro expanded in comment on line 27: %{version} BUILDSTDERR: Macro expanded in comment on line 29: %{version}.tar.xz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.yLOfc7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qtwebkit.spec