-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/riscv/rv64/rvd -I../sysdeps/riscv/rv64/rvf -I../sysdeps/riscv/rvf -I../sysdeps/riscv/rvd -I../sysdeps/riscv/rv64 -I../sysdeps/riscv -I../sysdeps/init_array -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/riscv64-redhat-linux/8/include -isystem /usr/include -D_LIBC_REENTRANT -include /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -o /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/inotify_init.o -MD -MP -MF /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/inotify_init.o.dt -MT /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/inotify_init.o make[2]: Leaving directory '/builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/misc' make[2]: Entering directory '/builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/misc' gcc ../sysdeps/unix/sysv/linux/generic/sysctl.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wp,-D_GLIBCXX_ASSERTIONS -Wundef -Wwrite-strings -fasynchronous-unwind-tables -fmerge-all-constants -frounding-math -fstack-clash-protection -fstack-protector-strong -g -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wstrict-prototypes -Wold-style-definition -fno-math-errno -ftls-model=initial-exec -I../include -I/builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc -I/builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux -I../sysdeps/unix/sysv/linux/riscv/rv64 -I../sysdeps/unix/sysv/linux/riscv -I../sysdeps/riscv/nptl -I../sysdeps/unix/sysv/linux/generic -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/riscv/rv64/rvd -I../sysdeps/riscv/rv64/rvf -I../sysdeps/riscv/rvf -I../sysdeps/riscv/rvd -I../sysdeps/riscv/rv64 -I../sysdeps/riscv -I../sysdeps/init_array -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/riscv64-redhat-linux/8/include -isystem /usr/include -D_LIBC_REENTRANT -include /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -o /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/sysctl.o -MD -MP -MF /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/sysctl.o.dt -MT /builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/build-riscv64-redhat-linux/misc/sysctl.o make[2]: Leaving directory '/builddir/build/BUILD/glibc-2.28-44-gf44c2ca5ea/misc' BUILDSTDERR: make[1]: *** [Makefile:258: misc/subdir_lib] Error 2 BUILDSTDERR: make: *** [Makefile:9: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6KUVxY (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6KUVxY (%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/glibc.spec