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/pitivi.spec'], chrootPath='/var/lib/mock/f29-build-31702-16734/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/pitivi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pitivi-0.99-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pitivi.spec'], chrootPath='/var/lib/mock/f29-build-31702-16734/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/pitivi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FGlbCI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pitivi-0.99 + /usr/bin/xz -dc /builddir/build/SOURCES/pitivi-0.99.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pitivi-0.99 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o4mz1I + umask 022 + cd /builddir/build/BUILD + cd pitivi-0.99 + 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 + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . riscv64-redhat-linux-gnu The Meson build system Version: 0.48.0 Source dir: /builddir/build/BUILD/pitivi-0.99 Build dir: /builddir/build/BUILD/pitivi-0.99/riscv64-redhat-linux-gnu Build type: native build Project name: pitivi Project version: 0.99 Appending CFLAGS from environment: '-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' Appending LDFLAGS from environment: '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Native C compiler: cc (gcc 8.2.1 "cc (GCC) 8.2.1 20180801 (Red Hat 8.2.1-2)") Build machine cpu family: riscv64 Build machine cpu: riscv64 Program python3 found: YES (/usr/bin/python3) Program intltool-merge found: YES (/usr/bin/intltool-merge) Program itstool found: YES (/usr/bin/itstool) Program msgfmt found: YES (/usr/bin/msgfmt) Found pkg-config: /usr/bin/pkg-config (1.5.3) Dependency python3 found: YES 3.7 Dependency gstreamer-1.0 found: YES 1.14.4 Dependency cairo found: YES 1.15.14 Dependency py3cairo found: YES 1.17.1 Dependency gst-transcoder-1.0 found: YES 1.14.0 Program git found: NO Program getenvvar.py found: YES (/builddir/build/BUILD/pitivi-0.99/getenvvar.py) Configuring configure.py using configuration Configuring pitivi using configuration Program gst-validate-launcher found: YES (/usr/bin/gst-validate-launcher) Program gst-validate-launcher found: YES (/usr/bin/gst-validate-launcher) Build targets in project: 223 Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [1/220] /usr/bin/msgfmt ../help/cs/cs.po --output-file help/cs/cs.mo [2/220] /usr/bin/itstool -m help/cs/cs.mo ../help/cs/../C/about.page --output help/cs/about.page FAILED: help/cs/about.page /usr/bin/itstool -m help/cs/cs.mo ../help/cs/../C/about.page --output help/cs/about.page Traceback (most recent call last): File "/usr/bin/itstool", line 1605, in fout.write(serialized) TypeError: write() argument must be str, not bytes [3/220] cc -Irenderer@sha -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.7m -I/usr/include/pycairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -g -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 -fPIC -pthread -MD -MQ 'renderer@sha/pitivi_coptimizations_renderer.c.o' -MF 'renderer@sha/pitivi_coptimizations_renderer.c.o.d' -o 'renderer@sha/pitivi_coptimizations_renderer.c.o' -c ../pitivi/coptimizations/renderer.c FAILED: renderer@sha/pitivi_coptimizations_renderer.c.o cc -Irenderer@sha -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.7m -I/usr/include/pycairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -g -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 -fPIC -pthread -MD -MQ 'renderer@sha/pitivi_coptimizations_renderer.c.o' -MF 'renderer@sha/pitivi_coptimizations_renderer.c.o.d' -o 'renderer@sha/pitivi_coptimizations_renderer.c.o' -c ../pitivi/coptimizations/renderer.c ../pitivi/coptimizations/renderer.c:7:24: error: static declaration of 'Pycairo_CAPI' follows non-static declaration static Pycairo_CAPI_t *Pycairo_CAPI; ^~~~~~~~~~~~ In file included from ../pitivi/coptimizations/renderer.c:4: /usr/include/pycairo/py3cairo.h:262:17: note: previous declaration of 'Pycairo_CAPI' was here Pycairo_CAPI_t *Pycairo_CAPI; ^~~~~~~~~~~~ [4/220] /usr/bin/intltool-merge --desktop-style /builddir/build/BUILD/pitivi-0.99/po ../data/pitivi.desktop.in data/pitivi.desktop Merging translations into data/pitivi.desktop. [5/220] /usr/bin/intltool-merge --xml-style /builddir/build/BUILD/pitivi-0.99/po ../data/pitivi.appdata.xml.in data/pitivi.appdata.xml Merging translations into data/pitivi.appdata.xml. CREATED data/pitivi.appdata.xml ninja: build stopped: subcommand failed. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.o4mz1I (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.o4mz1I (%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/pitivi.spec