UILDSTDERR: jsstr.cpp:3244:40: warning: cast from 'char*' to 'jschar*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: offsetof(JSString, inlineStorage)) }, \ BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3131:24: note: in expansion of macro 'R' BUILDSTDERR: #define R2(n) R(n), R((n) + (1 << 0)), R((n) + (2 << 0)), R((n) + (3 << 0)) BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3263:5: note: in expansion of macro 'R2' BUILDSTDERR: R2(100 + (1 << 7) + (1 << 4) + (1 << 3)) /* 252 through 255 */ BUILDSTDERR: ^~ BUILDSTDERR: jsstr.cpp:3244:40: warning: cast from 'char*' to 'jschar*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: offsetof(JSString, inlineStorage)) }, \ BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3131:46: note: in expansion of macro 'R' BUILDSTDERR: #define R2(n) R(n), R((n) + (1 << 0)), R((n) + (2 << 0)), R((n) + (3 << 0)) BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3263:5: note: in expansion of macro 'R2' BUILDSTDERR: R2(100 + (1 << 7) + (1 << 4) + (1 << 3)) /* 252 through 255 */ BUILDSTDERR: ^~ BUILDSTDERR: jsstr.cpp:3244:40: warning: cast from 'char*' to 'jschar*' {aka 'short unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: offsetof(JSString, inlineStorage)) }, \ BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3131:68: note: in expansion of macro 'R' BUILDSTDERR: #define R2(n) R(n), R((n) + (1 << 0)), R((n) + (2 << 0)), R((n) + (3 << 0)) BUILDSTDERR: ^ BUILDSTDERR: jsstr.cpp:3263:5: note: in expansion of macro 'R2' BUILDSTDERR: R2(100 + (1 << 7) + (1 << 4) + (1 << 3)) /* 252 through 255 */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from jsstr.cpp:55: BUILDSTDERR: jsstr.cpp: In member function 'JSFlatString* js::StringBuffer::finishString()': BUILDSTDERR: jsutil.h:120:43: warning: typedef 'js_static_assert72' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1' BUILDSTDERR: #define JS_STATIC_ASSERT_GLUE1(x,y) x##y BUILDSTDERR: ^ BUILDSTDERR: jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE' BUILDSTDERR: typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: jsstr.cpp:3501:5: note: in expansion of macro 'JS_STATIC_ASSERT' BUILDSTDERR: JS_STATIC_ASSERT(JSShortString::MAX_SHORT_STRING_LENGTH < CharBuffer::InlineLength); BUILDSTDERR: ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/js-1.8.5/js/src' BUILDSTDERR: make: *** [config/rules.mk:754: default] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.E5ov6l (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.E5ov6l (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/js.spec