Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-359212-42017/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/gstreamer1-1.26.3-1.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/gstreamer1.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-359212-42017/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/gstreamer1.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T7R7YJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gstreamer-1.26.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gstreamer-1.26.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gstreamer-1.26.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gstreamer-inspect-rpm-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X5L2Rm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gstreamer-1.26.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --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-OpenCloudOS-linux-gnu -D tests=disabled -D examples=disabled -D ptp-helper-permissions=capabilities -D dbghelp=disabled -D doc=disabled The Meson build system Version: 1.4.2 Source dir: /builddir/build/BUILD/gstreamer-1.26.3 Build dir: /builddir/build/BUILD/gstreamer-1.26.3/riscv64-OpenCloudOS-linux-gnu Build type: native build Project name: gstreamer Project version: 1.26.3 C compiler for the host machine: gcc (gcc 14.3.1 "gcc (GCC) 14.3.1 20250730 (OpenCloudOS 14.3.1-1)") C linker for the host machine: gcc ld.bfd 2.42 Host machine cpu family: riscv64 Host machine cpu: riscv64 Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES Compiler for C supports link arguments -Wl,-z,nodelete: YES Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -fno-strict-aliasing: YES Has header "dlfcn.h" : YES Has header "inttypes.h" : YES Has header "memory.h" : YES Has header "poll.h" : YES Has header "stdint.h" : YES Has header "stdio_ext.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/param.h" : YES Has header "sys/poll.h" : YES Has header "sys/prctl.h" : YES Has header "sys/socket.h" : YES Has header "sys/stat.h" : YES Has header "sys/times.h" : YES Has header "sys/time.h" : YES Has header "sys/types.h" : YES Has header "sys/utsname.h" : YES Has header "sys/wait.h" : YES Has header "ucontext.h" : YES Has header "unistd.h" : YES Has header "sys/resource.h" : YES Has header "sys/uio.h" : YES Checking whether type "struct tm" has member "tm_gmtoff" : YES Checking for function "gmtime_r" : YES Checking for function "sigaction" : YES Checking for function "getrusage" : YES Checking for function "fseeko" : YES Checking for function "ftello" : YES Checking for function "poll" : YES Checking for function "ppoll" : YES Checking for function "pselect" : YES Checking for function "getpagesize" : YES Checking for function "clock_gettime" : YES Checking for function "clock_nanosleep" : YES Checking for function "strnlen" : YES Checking for function "getline" : YES Checking for function "mkstemp" : YES Checking for function "alarm" : YES Checking for function "gettimeofday" : YES Checking for function "localtime_r" : YES Checking if "pthread_setname_np(const char*)" : links: NO Header "pthread.h" has symbol "pthread_condattr_setclock" : YES Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO Checking if "futex(2) system call" compiles: YES Checking if "futex_time64(2) system call" compiles: NO Checking if "posix timers from time.h" compiles: YES Checking if "monotonic clock from time.h" compiles: YES Checking if "__uint128_t available" compiles: YES Checking for function "getpid" : YES Checking for function "strdup" : YES Checking for function "strsignal" : YES Checking for type "clockid_t" : YES Checking for type "timer_t" : YES Checking whether type "struct timespec" has members "tv_sec", "tv_nsec" : YES Checking whether type "struct itimerspec" has members "it_interval", "it_value" : YES Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 Run-time dependency libunwind found: YES 1.6.2 Run-time dependency libdw found: YES 0.190 Has header "dbghelp.h" skipped: feature dbghelp disabled Has header "execinfo.h" : YES Checking for function "backtrace" : YES Compiler for C supports arguments -Waddress: YES Compiler for C supports arguments -Waggregate-return: YES Compiler for C supports arguments -Wformat: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wimplicit-fallthrough=3: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wno-multichar: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wshift-negative-value: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wwrite-strings: YES Library gmp found: NO Library gsl found: NO Library gslcblas found: NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Run-time dependency glib-2.0 found: YES 2.78.3 Run-time dependency gobject-2.0 found: YES 2.78.3 Run-time dependency gmodule-no-export-2.0 found: YES 2.78.3 Run-time dependency gio-2.0 found: YES 2.78.3 Run-time dependency gio-unix-2.0 found: YES 2.78.3 Library m found: YES Library rt found: YES Library socket found: NO Library nsl found: NO Library atomic found: YES Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Program python3 found: YES (/usr/bin/python3) Run-time dependency bash-completion found: YES 2.11 Configuring gstconfig.h using configuration Configuring gstversion.h using configuration Dependency glib-2.0 found: YES 2.78.3 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency glib-2.0 found: YES 2.78.3 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Program flex found: YES (/usr/bin/flex) Program get_flex_version.py found: YES (/builddir/build/BUILD/gstreamer-1.26.3/gst/parse/get_flex_version.py) Message: flex version 2.6.4 >= 2.5.31: YES Configuring gen_lex.py using configuration Program bison found: YES (/usr/bin/bison) Message: bison version 3.8.2 >= 2.4: YES Configuring grammar.y using configuration Configuring gen_grammar.py using configuration Compiler for C supports arguments -Wno-format-nonliteral: YES Checking if "long long" compiles: YES Checking if "uintmax_t in inttypes.h" compiles: YES Checking if "uintmax_t in stdint.h" compiles: YES Run-time dependency gobject-introspection-1.0 found: YES 1.76.1 Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached) Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached) Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Dependency glib-2.0 found: YES 2.78.3 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency glib-2.0 found: YES 2.78.3 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Compiler for language rust for the host machine not found. libs/gst/helpers/ptp/meson.build:18:4: ERROR: Problem encountered: PTP not supported without Rust compiler A full log can be found at /builddir/build/BUILD/gstreamer-1.26.3/riscv64-OpenCloudOS-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.X5L2Rm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.X5L2Rm (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/gstreamer1.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/gstreamer1.spec'