h:4, BUILDSTDERR: from include/jemalloc/internal/bitmap.h:5, BUILDSTDERR: from include/jemalloc/internal/arena_structs_a.h:4, BUILDSTDERR: from include/jemalloc/internal/jemalloc_internal_includes.h:53, BUILDSTDERR: from src/jemalloc.c:3: BUILDSTDERR: src/jemalloc.c: In function 'rallocx': BUILDSTDERR: src/jemalloc.c:2584:38: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? BUILDSTDERR: if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' BUILDSTDERR: # define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: src/jemalloc.c: In function 'ixallocx_prof': BUILDSTDERR: src/jemalloc.c:2665:40: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? BUILDSTDERR: assert(usize_max > 0 && usize_max <= LARGE_MAXCLASS); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' BUILDSTDERR: # define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: src/jemalloc.c:2665:3: note: in expansion of macro 'assert' BUILDSTDERR: assert(usize_max > 0 && usize_max <= LARGE_MAXCLASS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/jemalloc.c: In function 'xallocx': BUILDSTDERR: src/jemalloc.c:2727:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? BUILDSTDERR: if (unlikely(size > LARGE_MAXCLASS)) { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' BUILDSTDERR: # define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: src/jemalloc.c: In function 'nallocx': BUILDSTDERR: src/jemalloc.c:2893:23: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? BUILDSTDERR: if (unlikely(usize > LARGE_MAXCLASS)) { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' BUILDSTDERR: # define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from include/jemalloc/internal/jemalloc_internal_includes.h:78, BUILDSTDERR: from src/jemalloc.c:3: BUILDSTDERR: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_large_bin_get': BUILDSTDERR: include/jemalloc/internal/jemalloc_internal_inlines_a.h:119:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_small_bin_get': BUILDSTDERR: include/jemalloc/internal/jemalloc_internal_inlines_a.h:113:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: make: *** [Makefile:344: src/jemalloc.sym.o] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ztoehc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ztoehc (%build) 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/389-ds-base.spec