Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmicrohttpd.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331265-35834/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libmicrohttpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libmicrohttpd-1.0.2-1.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libmicrohttpd.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331265-35834/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libmicrohttpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ndtkew + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmicrohttpd-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libmicrohttpd-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libmicrohttpd-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3001-remove-broken-experimental-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X8LlUW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmicrohttpd-1.0.2 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-07-14 23:05:44.000000000 +0800 +++ ./configure 2025-11-13 17:02:45.643747800 +0800 @@ -2018,7 +2018,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-11-13 17:02:45.643747800 +0800 +++ ./configure 2025-11-13 17:02:46.527747800 +0800 @@ -11531,7 +11531,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -49215,7 +49215,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-opencloudos-linux-gnu --host=riscv64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-gnutls --enable-https=yes checking for build type... neutral. Defaults: use only user-specified compiler and linker flags checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk checking for grep that handles long lines and -e... /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... riscv64-opencloudos-linux-gnu checking host system type... riscv64-opencloudos-linux-gnu checking for riscv64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for gcc options needed to detect all undeclared functions... none needed checking how to run the C preprocessor... gcc -E checking for presence of stdio.h... yes checking for presence of wchar.h... yes checking for presence of stdlib.h... yes checking for presence of string.h... yes checking for presence of strings.h... yes checking for presence of stdint.h... yes checking for presence of fcntl.h... yes checking for presence of sys/types.h... yes checking for presence of time.h... yes checking for presence of unistd.h... yes checking whether _GNU_SOURCE is already defined... no checking whether headers accept _GNU_SOURCE... yes checking whether to try __BSD_VISIBLE macro... no checking whether to try _DARWIN_C_SOURCE macro... no checking whether to try __EXTENSIONS__ macro... no checking whether to try _NETBSD_SOURCE macro... no checking whether to try _BSD_SOURCE macro... no checking whether to try _TANDEM_SOURCE macro... no checking whether to try _ALL_SOURCE macro... no checking whether _XOPEN_SOURCE is already defined... no checking headers for POSIX.1-2008/SUSv4 features... available, works with _XOPEN_SOURCE=700, works with extension macro checking for useful system-specific features... no checking for final set of defined symbols... _GNU_SOURCE _XOPEN_SOURCE=700 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-opencloudos-linux-gnu file names to riscv64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert riscv64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-opencloudos-linux-gnu-file... no checking for file... file checking for riscv64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for riscv64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 11537: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for errno.h... yes checking for limits.h... yes checking for fcntl.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-opencloudos-linux-gnu-windres... no checking for windres... no checking whether MHD_FAVOR_SMALL_CODE is declared... no checking whether MHD_FAVOR_FAST_CODE is declared... no checking whether compiler is configured to optimize for size... no checking whether to use a reduced size version of the code... no (by default) checking for gcc flag to warn on unknown -W parameters... none needed checking whether gcc supports -Wunused-command-line-argument flag... no checking whether gcc supports -Wignored-optimization-argument flag... no checking whether gcc supports -Winvalid-command-line-argument flag... no checking whether gcc supports -Wunknown-argument flag... no checking whether gcc supports -fno-strict-aliasing flag... yes checking whether gcc supports -qlonglong flag... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/uio.h... yes checking for sys/time.h... yes checking for time.h... yes checking for endian.h... yes checking for machine/endian.h... no checking for sys/endian.h... no checking for sys/byteorder.h... no checking for sys/machine.h... no checking for machine/param.h... no checking for sys/param.h... yes checking for sys/isa_defs.h... no checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/select.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for net/if.h... yes checking for netdb.h... yes checking for sockLib.h... no checking for inetLib.h... no checking for sys/msg.h... yes checking for sys/mman.h... yes checking for signal.h... yes checking for search.h... yes checking for proper tsearch(), tfind() and tdelete()... yes checking for sys/sysctl.h... no checking for netinet/ip_icmp.h... yes checking for netinet/icmp_var.h... no checking whether "bool", "true" and "false" work natively... no checking whether is present and defines proper "bool", "true" and "false"... yes checking for inline... inline checking whether gcc supports -Werror=attributes flag... yes checking whether -Werror=attributes actually works... yes checking for function force inline keywords supported by gcc... inline __attribute__((always_inline)) checking for stdalign.h... yes checking for C11 'alignof()' support... yes checking for target host OS... GNU/Linux checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether pthread_sigmask is declared... yes checking for function pthread_sigmask... yes checking for threading lib to use with libmicrohttpd (auto)... posix checking for pthread_np.h... no checking whether pthread_attr_setname_np is declared... no checking whether pthread_setname_np is declared... yes checking for pthread_setname_np(3) in NetBSD or OSF1 form... no checking for pthread_setname_np(3) in GNU/Linux form... yes checking whether to enable thread names... yes checking whether socket is declared... yes checking for library containing function socket... none required checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking whether gettimeofday is declared... yes checking for function gettimeofday... yes checking whether usleep is declared... yes checking for function usleep... yes checking whether nanosleep is declared... yes checking for function nanosleep... yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for time.h... (cached) yes checking for sys/select.h... (cached) yes checking for netinet/tcp.h... (cached) yes checking whether shutdown of listen socket triggers select()... yes checking for system default FD_SETSIZE value... 1024 checking for current FD_SETSIZE value... 1024 checking whether FD_SETSIZE is overridable... no checking whether socket value is a signed type... yes checking whether writev is declared... yes checking for function writev... yes checking whether sendmsg is declared... yes checking for library containing function sendmsg... none required checking whether byte ordering is bigendian... no checking for variable-length arrays... yes checking whether __func__ magic-macro is available... yes checking whether __builtin_bswap32() is available... yes checking whether __builtin_bswap64() is available... yes checking for curl... yes checking for makeinfo... yes checking for poll.h... yes checking whether poll is declared... yes checking for function poll... yes checking whether epoll_create is declared... yes checking whether 'epoll_create' available and works... yes checking whether epoll_create1 is declared... yes checking for function epoll_create1... yes checking for supported 'noreturn' keyword... [[noreturn]] checking size of tv_sec member of struct timeval... 8 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of int... 4 checking size of unsigned int... 4 checking size of unsigned long long... 8 checking size of size_t... 8 checking for dlfcn.h... (cached) yes checking for zlib.h... yes checking for jansson.h... no checking whether random is declared... yes checking for function random... yes checking for struct sockaddr.sa_len... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_in6.sin6_len... no checking whether getsockname is declared... yes checking whether 'getsockname' available and works... yes checking for usable PAGESIZE macro... no checking for usable PAGE_SIZE macro... no checking whether eventfd is declared... yes checking whether 'eventfd' available and works... yes checking whether accept4 is declared... yes checking for function accept4... yes checking whether gmtime_r is declared... yes checking for function gmtime_r... yes checking whether memmem is declared... yes checking for function memmem... yes checking whether snprintf is declared... yes checking for function snprintf... yes checking whether gmtime_s is declared... no checking whether SOCK_NONBLOCK is declared... yes checking whether clock_gettime is declared... yes checking for library containing function clock_gettime... none required checking whether clock_get_time is declared... no checking for function clock_get_time... (cached) no checking whether gethrtime is declared... no checking for function gethrtime... (cached) no checking whether timespec_get is declared... yes checking for function timespec_get... yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for function gettimeofday... (cached) yes checking for IPv6... yes checking whether sysconf is declared... yes checking for function sysconf... yes checking whether sysctl is declared... no checking for function sysctl... (cached) no checking whether sysctlbyname is declared... no checking for function sysctlbyname... (cached) no checking for function usleep... (cached) yes checking for function nanosleep... (cached) yes checking whether gcc supports -fvisibility=hidden flag... yes checking whether gcc supports __attribute__((visibility("default")))... yes checking for gawk... (cached) gawk checking for curl-config... no checking whether libcurl is usable... no checking whether magic_open is declared... no checking for function magic_open... (cached) no checking whether lseek64 is declared... yes checking for function lseek64... yes checking whether pread64 is declared... yes checking for function pread64... yes checking whether pread is declared... yes checking for function pread... yes checking for Linux-style sendfile(2)... yes checking whether sendfile64 is declared... yes checking for function sendfile64... yes checking whether to generate text messages... yes checking whether to enable postprocessor... yes checking for riscv64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to find GnuTLS library... automatically, forced checking for gnutls... yes checking whether GnuTLS is usable... yes checking for gnutls_privkey_import_x509_raw()... yes checking whether GnuTLS require libgcrypt initialisation... no checking whether to support HTTPS... yes (using libgnutls) checking for GnuTLS quirks... no checking for gnutls-cli binary... no checking whether to support HTTP Basic authentication... yes checking whether to support HTTP Digest authentication... yes checking for Digest Authentication default nonce timeout value... 90 seconds (default) checking for Digest Authentication default maximum nc value... 1000 (default) checking whether to support HTTP "Upgrade"... yes checking whether to support HTTP cookie parsing... yes checking whether to support MD5... yes, built-in checking whether to support SHA-256... yes, built-in checking whether to support SHA-512/256... yes, built-in checking for calloc()... yes checking whether IPv6 could be used for testing... yes checking for features.h... yes checking for sys/pstat.h... no checking for vxCpuLib.h... no checking whether _SC_NPROCESSORS_ONLN is declared... yes checking whether _SC_NPROC_ONLN is declared... no checking whether _SC_CRAY_NCPU is declared... no checking whether _SC_NPROCESSORS_CONF is declared... yes checking whether CTL_HW is declared... no checking whether HW_NCPUONLINE is declared... no checking whether HW_NCPU is declared... no checking whether HW_AVAILCPU is declared... no checking whether pstat_getdynamic is declared... no checking for function pstat_getdynamic... (cached) no checking whether vxCpuEnabledGet is declared... no checking for function vxCpuEnabledGet... (cached) no checking for sched.h... yes checking for sys/_cpuset.h... no checking for sys/cpuset.h... no checking whether getpid is declared... yes checking for function getpid... yes checking whether sched_getaffinity is declared... yes checking for function sched_getaffinity... yes checking whether CPU_COUNT is declared... yes checking for function CPU_COUNT... yes checking whether CPU_COUNT_S is declared... yes checking for function CPU_COUNT_S... yes checking whether CPU_SETSIZE is declared... yes checking whether sched_getaffinity_np is declared... no checking for function sched_getaffinity_np... (cached) no checking whether cpuset_getaffinity is declared... no checking for function cpuset_getaffinity... (cached) no checking whether CPU_COUNT_S() expects max CPU number as 'size' parameter... no checking for fork()... yes checking for waitpid()... yes checking whether to compile with support for code coverage analysis... no checking the number of available CPUs... 16 checking for number of CPU cores to use in tests... 6 checking whether NDEBUG macro is defined... no checking whether _DEBUG macro is defined... no checking whether DEBUG macro is defined... no checking whether to enable debug asserts... no checking whether to enable run-time sanitizers... no checking whether to compile experimental code... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/microhttpd/microhttpd_dll_res.rc config.status: creating po/po-configure.ac config.status: creating libmicrohttpd.pc config.status: creating w32/common/microhttpd_dll_res_vc.rc config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen/libmicrohttpd.doxy config.status: creating doc/doxygen/Makefile config.status: creating doc/examples/Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/microhttpd/Makefile config.status: creating src/microhttpd_ws/Makefile config.status: creating src/examples/Makefile config.status: creating src/tools/Makefile config.status: creating src/testcurl/Makefile config.status: creating src/testcurl/https/Makefile config.status: creating src/testzzuf/Makefile config.status: creating MHD_config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po/Makefile.in commands Skipping update of po/Makefile.in Real update of po/Makefile.in for 'make dist' is performed by po-config.status config.status: executing po-directories commands Skipping po-directories command. Real po-directories command for 'make dist' is implemented in po-config.status configure: Toolchain settings: CC=gcc User/system/default flags: CPPFLAGS="" CFLAGS= "-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection" LDFLAGS= "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1" Final set of the flags for tests and examples: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_XOPEN_SOURCE=700" CFLAGS= "-fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection" LDFLAGS= "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1" Final set of the flags for GNU libmicrohttpd library: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_XOPEN_SOURCE=700" CFLAGS= "-fno-strict-aliasing -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection" LDFLAGS= "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1" configure: GNU libmicrohttpd 1.0.2 Configuration Summary: Target directory: /usr Cross-compiling: no Operating System: GNU/Linux Threading lib: posix Inter-thread comm: eventfd Shutdown of listening socket triggers select: yes poll support: yes epoll support: yes sendfile used: yes, Linux-style HTTPS support: yes (using libgnutls) Messages: yes Cookie parsing: yes Postproc: yes Basic auth.: yes Digest auth.: yes Digest auth. defaults: timeout: 90 seconds (default), max nc: 1000 (default) MD5: yes, built-in SHA-256: yes, built-in SHA-512/256: yes, built-in HTTP "Upgrade": yes Compact code: no (by default) Use thread names: yes Use debug asserts: no Use sanitizers: no Build static lib: no Build shared lib: yes Build docs: yes Build examples: yes Build tools: yes Test with libcurl: no, many unit tests will not run Heavy tests: no Fuzzing tests: no, heavy tests are not enabled configure: HTTPS subsystem configuration: License : LGPL version 2.1 or any later version + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in contrib make[2]: Nothing to be done for 'all'. Making all in m4 make[2]: Nothing to be done for 'all'. Making all in src cd .. && /bin/sh /builddir/build/BUILD/libmicrohttpd-1.0.2/build-aux/missing automake-1.16 --gnu src/Makefile /builddir/build/BUILD/libmicrohttpd-1.0.2/build-aux/missing: line 81: automake-1.16: command not found WARNING: 'automake-1.16' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' program is part of the GNU Automake package: It also requires GNU Autoconf, GNU m4 and Perl in order to run: make[2]: *** [Makefile:408: Makefile.in] Error 127 make[1]: *** [Makefile:789: all-recursive] Error 1 make: *** [Makefile:694: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.X8LlUW (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.X8LlUW (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libmicrohttpd.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libmicrohttpd.spec'