t) [with ArrayType = voodoo::rasterizer_palette; int TrackingCount = 0]' ../../../../../src/devices/video/poly.h:186:25: required from 'ArrayType& poly_array::next(int) [with ArrayType = voodoo::rasterizer_palette; int TrackingCount = 8]' ../../../../../src/devices/video/voodoo_render.h:568:71: required from here ../../../../../src/devices/video/poly.h:212:24: warning: cast from 'u8*' {aka 'unsigned char*'} to 'voodoo::rasterizer_palette*' increases required alignment of target type [-Wcast-align] ../../../../../src/devices/video/poly.h: In instantiation of 'ArrayType* poly_array::item_ptr(u32) [with ArrayType = voodoo::poly_data; int TrackingCount = 0; u32 = unsigned int]': ../../../../../src/devices/video/poly.h:179:15: required from 'ArrayType& poly_array::next(int) [with ArrayType = voodoo::poly_data; int TrackingCount = 0]' ../../../../../src/devices/video/poly.h:186:25: required from 'ArrayType& poly_array::next(int) [with ArrayType = voodoo::poly_data; int TrackingCount = 1]' ../../../../../src/devices/video/voodoo_render.cpp:1285:38: required from here ../../../../../src/devices/video/poly.h:212:24: warning: cast from 'u8*' {aka 'unsigned char*'} to 'voodoo::poly_data*' increases required alignment of target type [-Wcast-align] ../../../../../src/devices/video/poly.h: In instantiation of 'ArrayType* poly_array::item_ptr(u32) [with ArrayType = poly_manager::primitive_info; int TrackingCount = 0; u32 = unsigned int]': ../../../../../src/devices/video/poly.h:179:15: required from 'ArrayType& poly_array::next(int) [with ArrayType = poly_manager::primitive_info; int TrackingCount = 0]' ../../../../../src/devices/video/poly.h:379:47: required from 'poly_manager::primitive_info& poly_manager::primitive_alloc(int, int, int, int, render_delegate) [with BaseType = float; ObjectType = voodoo::poly_data; int MaxParams = 0; unsigned char Flags = 2; render_delegate = delegate::extent_t&, const voodoo::poly_data&, int), delegate_late_bind>]' ../../../../../src/devices/video/poly.h:718:30: required from 'uint32_t poly_manager::render_tile(const rectangle&, render_delegate, const vertex_t&, const vertex_t&) [with int ParamCount = 0; BaseType = float; ObjectType = voodoo::poly_data; int MaxParams = 0; unsigned char Flags = 2; uint32_t = unsigned int; render_delegate = delegate::extent_t&, const voodoo::poly_data&, int), delegate_late_bind>]' ../../../../../src/devices/video/voodoo_render.cpp:1317:23: required from here ../../../../../src/devices/video/poly.h:212:24: warning: cast from 'u8*' {aka 'unsigned char*'} to 'poly_manager::primitive_info*' increases required alignment of target type [-Wcast-align] Archiving liboptional.a... rm -f "../../../../../scripts/mame_mame/liboptional.a" ar -cs ../../../../../scripts/mame_mame/liboptional.a make: *** [makefile:1296: linux] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.AbDVjg (%build) Bad exit status from /var/tmp/rpm-tmp.AbDVjg (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/mame.spec