types.c:905:9: note: (near initialization for 'values[6].value') BUILDSTDERR: video-enumtypes.c:905:9: error: initializer element is not constant BUILDSTDERR: video-enumtypes.c:905:9: note: (near initialization for 'values[6].value') BUILDSTDERR: video-enumtypes.c:906:9: error: 'GST_VIDEO_ORIENTATION_UR_LL' undeclared (first use in this function); did you mean 'GST_TYPE_VIDEO_ORIENTATION_METHOD'? BUILDSTDERR: 906 | { GST_VIDEO_ORIENTATION_UR_LL, "GST_VIDEO_ORIENTATION_UR_LL", "ur-ll" }, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | GST_TYPE_VIDEO_ORIENTATION_METHOD BUILDSTDERR: video-enumtypes.c:906:9: warning: initialization of 'int' from 'const GEnumValue *' {aka 'const struct _GEnumValue *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: video-enumtypes.c:906:9: note: (near initialization for 'values[7].value') BUILDSTDERR: video-enumtypes.c:906:9: error: initializer element is not constant BUILDSTDERR: video-enumtypes.c:906:9: note: (near initialization for 'values[7].value') BUILDSTDERR: video-enumtypes.c:907:9: error: 'GST_VIDEO_ORIENTATION_AUTO' undeclared (first use in this function); did you mean 'GST_TYPE_VIDEO_ORIENTATION_METHOD'? BUILDSTDERR: 907 | { GST_VIDEO_ORIENTATION_AUTO, "GST_VIDEO_ORIENTATION_AUTO", "auto" }, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | GST_TYPE_VIDEO_ORIENTATION_METHOD BUILDSTDERR: video-enumtypes.c:907:9: warning: initialization of 'int' from 'const GEnumValue *' {aka 'const struct _GEnumValue *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: video-enumtypes.c:907:9: note: (near initialization for 'values[8].value') BUILDSTDERR: video-enumtypes.c:907:9: error: initializer element is not constant BUILDSTDERR: video-enumtypes.c:907:9: note: (near initialization for 'values[8].value') BUILDSTDERR: video-enumtypes.c:908:9: error: 'GST_VIDEO_ORIENTATION_CUSTOM' undeclared (first use in this function); did you mean 'GST_TYPE_VIDEO_ORIENTATION_METHOD'? BUILDSTDERR: 908 | { GST_VIDEO_ORIENTATION_CUSTOM, "GST_VIDEO_ORIENTATION_CUSTOM", "custom" }, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | GST_TYPE_VIDEO_ORIENTATION_METHOD BUILDSTDERR: video-enumtypes.c:908:9: warning: initialization of 'int' from 'const GEnumValue *' {aka 'const struct _GEnumValue *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: video-enumtypes.c:908:9: note: (near initialization for 'values[9].value') BUILDSTDERR: video-enumtypes.c:908:9: error: initializer element is not constant BUILDSTDERR: video-enumtypes.c:908:9: note: (near initialization for 'values[9].value') BUILDSTDERR: make[5]: *** [Makefile:1236: libgstvideo_1.0_la-video-enumtypes.lo] Error 1 make[5]: Leaving directory '/builddir/build/BUILD/gst-plugins-base-1.16.2/gst-libs/gst/video' RPM build errors: BUILDSTDERR: make[4]: *** [Makefile:840: all] Error 2 BUILDSTDERR: make[3]: *** [Makefile:937: video] Error 2 BUILDSTDERR: make[2]: *** [Makefile:613: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:730: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:661: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xhUiiB (%build) BUILDSTDERR: Macro expanded in comment on line 5: (c=%{gitcommit}; echo ${c:0:5}) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xhUiiB (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/gstreamer1-plugins-base.spec