Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sed.spec'], chrootPath='/var/lib/mock/f33-build-633242-68568/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sed.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 error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body warning: bogus date in %changelog: Tue Aug 08 2022 David Abdurachmanov - 4.8-11.1.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1659916800 Wrote: /builddir/build/SRPMS/sed-4.8-11.1.riscv64.fc33.src.rpm error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sed.spec'], chrootPath='/var/lib/mock/f33-build-633242-68568/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sed.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 error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body warning: bogus date in %changelog: Tue Aug 08 2022 David Abdurachmanov - 4.8-11.1.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1659916800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8T03ob + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sed-4.8 + /usr/bin/xz -dc /builddir/build/SOURCES/sed-4.8.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sed-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (sed-b-flag.patch): + echo 'Patch #0 (sed-b-flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sed/sed.c Patch #1 (sed-c-flag.patch): + echo 'Patch #1 (sed-c-flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sed/execute.c patching file sed/sed.c patching file sed/sed.h patching file sed/utils.c patching file sed/utils.h Patch #2 (sed-covscan-annotations.patch): + echo 'Patch #2 (sed-covscan-annotations.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/malloca.c patching file sed/compile.c patching file sed/utils.c Patch #9 (b8f98f7dc3638384a6cd378c78f0a788fbf33b34.patch): + echo 'Patch #9 (b8f98f7dc3638384a6cd378c78f0a788fbf33b34.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/local.mk Hunk #1 succeeded at 165 (offset -1 lines). + sed -e s/1729576/EPERM/ -i gnulib-tests/test-strerror_r.c gnulib-tests/test-perror2.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n9rH4p + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 sed-4.8 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + '[' '-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 2020-01-15 04:09:53.000000000 +0000 +++ ./configure 2022-08-09 08:35:32.520784136 +0100 @@ -2742,7 +2742,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 + mv ./configure.backup ./configure + '[' 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --without-included-regex 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 whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-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 dependency style of gcc... none checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for stdio_ext.h... yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for sys/time.h... yes checking for sys/socket.h... yes checking for threads.h... yes checking for limits.h... yes checking for wchar.h... yes checking for langinfo.h... yes checking for xlocale.h... no checking for sys/mman.h... yes checking for malloc.h... yes checking for selinux/selinux.h... yes checking for features.h... yes checking for crtdefs.h... no checking for wctype.h... yes checking for arpa/inet.h... yes checking for dirent.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/select.h... yes checking for pthread.h... yes checking for sys/wait.h... yes checking for sys/ioctl.h... yes checking for sys/uio.h... yes checking for locale.h... yes checking for errno.h... yes checking for mcheck.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for fchmod... yes checking for btowc... yes checking for canonicalize_file_name... yes checking for getcwd... yes checking for readlink... yes checking for realpath... yes checking for strerror_r... yes checking for symlink... yes checking for __fwriting... yes checking for getdelim... yes checking for getprogname... no checking for getexecname... no checking for gettimeofday... yes checking for isblank... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mbrlen... yes checking for mprotect... yes checking for mkostemp... yes checking for _set_invalid_parameter_handler... no checking for nl_langinfo... yes checking for iswctype... yes checking for link... yes checking for __xpg_strerror_r... yes checking for wcrtomb... yes checking for wctob... yes checking for iswcntrl... yes checking for fcntl... yes checking for fpurge... no checking for __fpurge... yes checking for __freading... yes checking for ftruncate... yes checking for getdtablesize... yes checking for duplocale... yes checking for newlocale... yes checking for uselocale... yes checking for freelocale... yes checking for pipe... yes checking for pthread_sigmask... yes checking for setenv... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for sleep... yes checking for strdup... yes checking for catgets... yes checking for snprintf... yes checking for shutdown... yes checking for isatty... yes checking for isascii... yes checking for memcpy... yes checking for strchr... yes checking for strtoul... yes checking for popen... yes checking for pathconf... yes checking for fchown... yes checking for setlocale... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether uses 'inline' correctly... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking whether // is distinct from /... no checking whether realpath works... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for complete errno.h... yes checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... none checking how gcc reports undeclared, standard C functions... error checking whether strerror_r is declared... yes checking whether strerror_r returns char *... yes checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether getdelim is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking for pthread.h... (cached) yes checking for pthread_kill in -lpthread... yes checking whether POSIX threads API is available... yes checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes checking whether setlocale (category, NULL) is multithread-safe... yes checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... yes checking for wint_t... yes checking whether wint_t is too small... no checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether locale.h defines locale_t... yes checking for multithread API to use... none checking whether lstat correctly handles trailing slash... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... yes checking for GNU libc compatible malloc... yes checking for mbstate_t... yes checking for a traditional japanese locale... none checking for a french Unicode locale... none checking for a transitional chinese locale... none checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc stores incomplete characters... guessing no checking whether mbrtowc works on empty input... yes checking whether the C locale is free of encoding errors... no checking for inline... inline checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memrchr is declared... yes checking whether defines MIN and MAX... no checking whether defines MIN and MAX... yes checking whether alarm is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for library containing setfilecon... -lselinux checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether strerror(0) succeeds... yes checking for strerror_r with POSIX signature... no checking whether __xpg_strerror_r works... yes checking for struct timespec in ... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether is self-contained... yes checking for shutdown... (cached) yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking if environ is properly declared... yes checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether fflush works on input streams... no checking whether ungetc works on arbitrary bytes... yes checking whether ftello is declared... yes checking for ftello... yes checking whether ftello works... yes checking whether getcwd (NULL, 0) allocates memory for result... yes checking for getcwd with POSIX signature... yes checking whether getdtablesize is declared... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for LC_MESSAGES... yes checking whether uselocale works... yes checking for fake locale system (OpenBSD)... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... no checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking whether is self-contained... yes checking for library containing setsockopt... none needed checking whether select supports a 0 argument... yes checking whether select detects invalid fds... yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking for sigset_t... yes checking whether setenv is declared... yes checking for search.h... yes checking for tsearch... yes checking for uid_t in sys/types.h... yes checking whether strdup is declared... yes checking whether unsetenv is declared... yes checking for sys/acl.h... yes checking for library containing acl_get_file... -lacl checking for acl_get_file... yes checking for acl_get_fd... yes checking for acl_set_file... yes checking for acl_set_fd... yes checking for acl_free... yes checking for acl_from_mode... yes checking for acl_from_text... yes checking for acl_delete_def_file... yes checking for acl_extended_file... yes checking for acl_delete_fd_np... no checking for acl_delete_file_np... no checking for acl_copy_ext_native... no checking for acl_create_entry_np... no checking for acl_to_short_text... no checking for acl_free_text... no checking for working acl_get_file... yes checking for acl/libacl.h... yes checking for acl_entries... yes checking for ACL_FIRST_ENTRY... yes checking for ACL_TYPE_EXTENDED... no checking for alloca as a compiler built-in... yes checking whether to enable assertions... yes checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... guessing yes checking for __builtin_expect... yes checking whether // is distinct from /... (cached) no checking for error_at_line... yes checking for flexible array member... yes checking for __fpending... yes checking whether __fpending is declared... yes checking for working getdelim function... yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether __argv is declared... no checking whether gettimeofday clobbers localtime buffer... no checking for gettimeofday with POSIX signature... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ALTMON_1... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking whether the compiler supports the __inline keyword... yes checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles a NULL pwc argument... (cached) guessing yes checking whether mbrtowc handles a NULL string argument... (cached) guessing yes checking whether mbrtowc has a correct return value... (cached) guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... (cached) guessing yes checking whether mbrtowc stores incomplete characters... (cached) guessing no checking whether mbrtowc works on empty input... (cached) yes checking whether the C locale is free of encoding errors... (cached) no checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking for mbtowc... yes checking for memrchr... yes checking whether mkdir handles trailing slash... yes checking whether mkdir handles trailing dot... yes checking whether YESEXPR works... yes checking for obstacks that work with any size object... no checking for perl5.005 or newer... yes checking whether program_invocation_name is declared... (cached) yes checking whether program_invocation_short_name is declared... (cached) yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... yes checking whether rename honors trailing slash on destination... yes checking whether rename honors trailing slash on source... yes checking whether rename manages hard links correctly... yes checking whether rename manages existing destinations correctly... yes checking whether rmdir works... yes checking for selinux/selinux.h... (cached) yes checking for selinux/context.h... yes checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) yes checking whether setlocale (category, NULL) is multithread-safe... (cached) yes checking for ssize_t... yes checking whether stat handles trailing slashes on files... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for working stdalign.h... yes checking for va_copy... yes checking for good max_align_t... (cached) yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking which flavor of printf attribute matches inttypes macros... system checking for working strerror function... yes checking for strverscmp... yes checking for nlink_t... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb works in the C locale... yes checking whether wcrtomb return value is correct... guessing yes checking whether wctob works... guessing yes checking whether wctob is declared... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional french locale... (cached) none checking for a turkish Unicode locale... none checking for closedir... yes checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking whether dup2 works... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fdopen sets errno... yes checking whether fflush works on input streams... (cached) no checking for getxattr with XATTR_NAME_POSIX_ACL macros... yes checking whether fpurge is declared... no checking for fseeko... (cached) yes checking whether fflush works on input streams... (cached) no checking for _fseeki64... no checking for ftello... (cached) yes checking whether ftello works... (cached) yes checking whether getdtablesize works... yes checking for getpagesize... yes checking whether getpagesize is declared... yes checking for library containing inet_pton... none required checking whether inet_pton is declared... yes checking whether byte ordering is bigendian... no checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking for ioctl... yes checking for ioctl with POSIX signature... no checking whether link obeys POSIX... yes checking whether lseek detects pipes... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for a french Unicode locale... (cached) none checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for library containing nanosleep... none required checking for working nanosleep... no (mishandles large arguments) checking whether is self-contained... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking whether open recognizes a trailing slash... yes checking for opendir... yes checking whether perror matches strerror... yes checking for pthread_t... yes checking for pthread_spinlock_t... yes checking for PTHREAD_CREATE_DETACHED... yes checking for PTHREAD_MUTEX_RECURSIVE... yes checking for PTHREAD_MUTEX_ROBUST... yes checking for PTHREAD_PROCESS_SHARED... yes checking whether pthread_create exists as a global function... yes checking whether pthread_sigmask is a macro... no checking whether pthread_sigmask works without -lpthread... yes checking whether pthread_sigmask returns error numbers... yes checking whether pthread_sigmask unblocks signals correctly... guessing yes checking for putenv compatible with GNU and SVID... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for raise... yes checking for sigprocmask... yes checking for readdir... yes checking for sched.h... yes checking for struct sched_param... yes checking whether select supports a 0 argument... (cached) yes checking whether select detects invalid fds... (cached) yes checking whether setenv validates arguments... yes checking whether setlocale supports the C locale... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for sigprocmask... (cached) yes checking whether sleep is declared... yes checking for working sleep... yes checking for socklen_t... yes checking whether symlink handles trailing slash correctly... yes checking whether declares ioctl... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking whether "rt" can be used with fopen... yes checking whether -lcP is needed... no checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done ./configure: line 38537: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 38537: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyPreferredLanguages... (cached) no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking whether UTF-8 case folding tests should pass... no checking for perl... /usr/bin/perl checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating gnulib-tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd . && /bin/sh /builddir/build/BUILD/sed-4.8/build-aux/missing automake-1.16 --gnu Makefile aclocal.m4:17: warning: this file was generated for autoconf 2.69.202-d78a. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. configure.ac:24: error: version mismatch. This is Automake 1.16.5, configure.ac:24: but the definition used by this AM_INIT_AUTOMAKE configure.ac:24: comes from Automake 1.16a. You should recreate configure.ac:24: aclocal.m4 with aclocal and run automake again. WARNING: 'automake-1.16' is probably too old. 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: *** [Makefile:2329: Makefile.in] Error 63 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.n9rH4p (%build) /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body bogus date in %changelog: Tue Aug 08 2022 David Abdurachmanov - 4.8-11.1.riscv64 Bad exit status from /var/tmp/rpm-tmp.n9rH4p (%build) error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body 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/sed.spec