Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/egl-wayland.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-126989-46179/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/egl-wayland.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/egl-wayland-1.1.9-3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/egl-wayland.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-126989-46179/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/egl-wayland.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2ekFh5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf egl-wayland-1.1.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/egl-wayland-1.1.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd egl-wayland-1.1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/d4937adc5cd04ac7df98fc5616e40319fb52fdee.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/daab8546eca8428543a4d958a2c53fc747f70672.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/582b2d345abaa0e313cf16c902e602084ea59551.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i -e 's@>= 0.50@>= 0.47@g' meson.build + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gPrMcu + umask 022 + cd /builddir/build/BUILD + cd egl-wayland-1.1.9 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -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 . loongarch64-redhat-linux-gnu The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/egl-wayland-1.1.9 Build dir: /builddir/build/BUILD/egl-wayland-1.1.9/loongarch64-redhat-linux-gnu Build type: native build Project name: wayland-eglstream Project version: 1.1.9 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.1)") C linker for the host machine: cc ld.bfd 2.31.1.20190122 Host machine cpu family: loongarch64 Host machine cpu: loongarch64 Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency eglexternalplatform found: YES 1.1 Run-time dependency wayland-server found: YES 1.19.0 Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-egl-backend found: YES 3 Run-time dependency threads found: YES Found pkg-config: /usr/bin/pkg-config (1.4.2) Build-time dependency wayland-scanner found: YES 1.19.0 Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) WARNING: Project targeting '>= 0.47' but tried to use feature introduced in '0.50.0': install arg in configure_file. Configuring wayland-eglstream.pc using configuration Configuring wayland-eglstream-protocols.pc using configuration src/meson.build:1: WARNING: Consider using the built-in warning_level option instead of using "-Wall". src/meson.build:2: WARNING: Consider using the built-in werror option instead of using "-Werror". Compiler for C supports arguments -Wpedantic: YES Run-time dependency wayland-protocols found: YES 1.23 Build targets in project: 10 WARNING: Project specifies a minimum meson_version '>= 0.47' but uses features which were added in newer versions: * 0.50.0: {'install arg in configure_file'} Option buildtype is: plain [default: debugoptimized] Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/meson compile -C loongarch64-redhat-linux-gnu -j 4 --verbose ninja: Entering directory `loongarch64-redhat-linux-gnu' [1/26] /usr/bin/wayland-scanner client-header ../wayland-eglstream/wayland-eglstream.xml wayland-eglstream/wayland-eglstream-client-protocol.h [2/26] /usr/bin/wayland-scanner server-header ../wayland-eglstream/wayland-eglstream.xml wayland-eglstream/wayland-eglstream-server-protocol.h [3/26] /usr/bin/wayland-scanner private-code ../wayland-eglstream/wayland-eglstream.xml wayland-eglstream/wayland-eglstream-protocol.c [4/26] /usr/bin/wayland-scanner client-header ../wayland-eglstream/wayland-eglstream-controller.xml wayland-eglstream/wayland-eglstream-controller-client-protocol.h [5/26] /usr/bin/wayland-scanner public-code ../wayland-eglstream/wayland-eglstream-controller.xml wayland-eglstream/wayland-eglstream-controller-protocol.c [6/26] /usr/bin/wayland-scanner client-header ../wayland-drm/wayland-drm.xml wayland-drm/wayland-drm-client-protocol.h [7/26] /usr/bin/wayland-scanner server-header ../wayland-drm/wayland-drm.xml wayland-drm/wayland-drm-server-protocol.h [8/26] /usr/bin/wayland-scanner public-code ../wayland-drm/wayland-drm.xml wayland-drm/wayland-drm-protocol.c [9/26] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml src/libnvidia-egl-wayland.so.1.1.9.p/linux-dmabuf-unstable-v1-client-protocol.h [10/26] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml src/libnvidia-egl-wayland.so.1.1.9.p/linux-dmabuf-unstable-v1-protocol.c [11/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-drm_wayland-drm-protocol.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-drm_wayland-drm-protocol.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-drm_wayland-drm-protocol.c.o -c wayland-drm/wayland-drm-protocol.c [12/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-controller-protocol.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-controller-protocol.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-controller-protocol.c.o -c wayland-eglstream/wayland-eglstream-controller-protocol.c [13/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-protocol.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-protocol.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_.._.._wayland-eglstream_wayland-eglstream-protocol.c.o -c wayland-eglstream/wayland-eglstream-protocol.c [14/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_linux-dmabuf-unstable-v1-protocol.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_linux-dmabuf-unstable-v1-protocol.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/meson-generated_linux-dmabuf-unstable-v1-protocol.c.o -c src/libnvidia-egl-wayland.so.1.1.9.p/linux-dmabuf-unstable-v1-protocol.c [15/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o -c ../src/wayland-egldisplay.c FAILED: src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldisplay.c.o -c ../src/wayland-egldisplay.c In file included from ../include/wayland-egldisplay.h:31, from ../src/wayland-egldisplay.c:23: ../include/wayland-eglhandle.h:113:9: error: unknown type name ‘PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC’ PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC streamImageConsumerConnect; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:114:9: error: unknown type name ‘PFNEGLSTREAMACQUIREIMAGENVPROC’ PFNEGLSTREAMACQUIREIMAGENVPROC streamAcquireImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:115:9: error: unknown type name ‘PFNEGLSTREAMRELEASEIMAGENVPROC’ PFNEGLSTREAMRELEASEIMAGENVPROC streamReleaseImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:116:9: error: unknown type name ‘PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC’ PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC queryStreamConsumerEvent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/wayland-egldisplay.c: In function ‘wlEglGetPlatformDisplayExport’: ../src/wayland-egldisplay.c:610:33: error: ‘EGL_DRM_RENDER_NODE_FILE_EXT’ undeclared (first use in this function); did you mean ‘EGL_DRM_DEVICE_FILE_EXT’? EGL_DRM_RENDER_NODE_FILE_EXT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ EGL_DRM_DEVICE_FILE_EXT ../src/wayland-egldisplay.c:610:33: note: each undeclared identifier is reported only once for each function it appears in [16/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o -c ../src/wayland-thread.c FAILED: src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-thread.c.o -c ../src/wayland-thread.c In file included from ../include/wayland-egldisplay.h:31, from ../src/wayland-thread.c:29: ../include/wayland-eglhandle.h:113:9: error: unknown type name ‘PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC’ PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC streamImageConsumerConnect; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:114:9: error: unknown type name ‘PFNEGLSTREAMACQUIREIMAGENVPROC’ PFNEGLSTREAMACQUIREIMAGENVPROC streamAcquireImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:115:9: error: unknown type name ‘PFNEGLSTREAMRELEASEIMAGENVPROC’ PFNEGLSTREAMRELEASEIMAGENVPROC streamReleaseImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:116:9: error: unknown type name ‘PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC’ PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC queryStreamConsumerEvent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o -c ../src/wayland-eglstream.c FAILED: src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-eglstream.c.o -c ../src/wayland-eglstream.c In file included from ../include/wayland-eglstream-server.h:29, from ../src/wayland-eglstream.c:24: ../include/wayland-eglhandle.h:113:9: error: unknown type name ‘PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC’ PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC streamImageConsumerConnect; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:114:9: error: unknown type name ‘PFNEGLSTREAMACQUIREIMAGENVPROC’ PFNEGLSTREAMACQUIREIMAGENVPROC streamAcquireImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:115:9: error: unknown type name ‘PFNEGLSTREAMRELEASEIMAGENVPROC’ PFNEGLSTREAMRELEASEIMAGENVPROC streamReleaseImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:116:9: error: unknown type name ‘PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC’ PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC queryStreamConsumerEvent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/26] cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o -c ../src/wayland-egldevice.c FAILED: src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o cc -Isrc/libnvidia-egl-wayland.so.1.1.9.p -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -Iwayland-drm -I/usr/include/EGL -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wall -Werror -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -O2 -g -fPIC -pthread -MD -MQ src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o -MF src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o.d -o src/libnvidia-egl-wayland.so.1.1.9.p/wayland-egldevice.c.o -c ../src/wayland-egldevice.c In file included from ../include/wayland-egldevice.h:30, from ../src/wayland-egldevice.c:23: ../include/wayland-eglhandle.h:113:9: error: unknown type name ‘PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC’ PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC streamImageConsumerConnect; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:114:9: error: unknown type name ‘PFNEGLSTREAMACQUIREIMAGENVPROC’ PFNEGLSTREAMACQUIREIMAGENVPROC streamAcquireImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:115:9: error: unknown type name ‘PFNEGLSTREAMRELEASEIMAGENVPROC’ PFNEGLSTREAMRELEASEIMAGENVPROC streamReleaseImage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/wayland-eglhandle.h:116:9: error: unknown type name ‘PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC’ PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC queryStreamConsumerEvent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.gPrMcu (%build) Bad exit status from /var/tmp/rpm-tmp.gPrMcu (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status 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 loongarch64 --nodeps /builddir/build/SPECS/egl-wayland.spec