printf(" %-39s: ", vaConfigAttribTypeStr(attrib_list[VAConfigAttribMultipleFrame].type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct str_format * In file included from vainfo.c:31: /usr/include/va/va_str.h:39:54: note: expected 'VAConfigAttribType' but argument is of type 'struct str_format *' 39 | const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ vainfo.c:482:21: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'struct str_format *' [-Wformat=] 482 | printf(" %-39s: ", vaConfigAttribTypeStr(attrib_list[VAConfigAttribMultipleFrame].type)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | struct str_format * | char * vainfo.c:483:52: error: request for member 'bits' in something not a structure or union 483 | printf("max_num_concurrent_frames=%d\n", config->bits.max_num_concurrent_frames); | ^~ vainfo.c:483:58: error: '(struct str_format *)&' is a pointer; did you mean to use '->'? 483 | printf("max_num_concurrent_frames=%d\n", config->bits.max_num_concurrent_frames); | ^ | -> vainfo.c:483:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'struct str_format *' [-Wformat=] 483 | printf("max_num_concurrent_frames=%d\n", config->bits.max_num_concurrent_frames); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int struct str_format * vainfo.c:484:58: error: request for member 'bits' in something not a structure or union 484 | printf("%-*smixed_quality_level=%d\n", 45, "", config->bits.mixed_quality_level); | ^~ vainfo.c:484:64: error: '(struct str_format *)&' is a pointer; did you mean to use '->'? 484 | printf("%-*smixed_quality_level=%d\n", 45, "", config->bits.mixed_quality_level); | ^ | -> vainfo.c:484:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'struct str_format *' [-Wformat=] 484 | printf("%-*smixed_quality_level=%d\n", 45, "", config->bits.mixed_quality_level); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int struct str_format * make[2]: *** [Makefile:491: vainfo-vainfo.o] Error 1 RPM build errors: make[1]: *** [Makefile:462: all-recursive] Error 1 make: *** [Makefile:394: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xf2OR4 (%build) Bad exit status from /var/tmp/rpm-tmp.xf2OR4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/libva-utils.spec