Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/json-c.spec'], chrootPath='/var/lib/mock/dist-an23-build-127430-46192/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/json-c.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 warning: extra tokens at the end of %endif directive in line 174: %endif # 0%%{?fedora} || 0%%{?rhel} >= 7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1650240000 Wrote: /builddir/build/SRPMS/json-c-0.13.1-3.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/json-c.spec'], chrootPath='/var/lib/mock/dist-an23-build-127430-46192/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/json-c.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 warning: extra tokens at the end of %endif directive in line 174: %endif # 0%%{?fedora} || 0%%{?rhel} >= 7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1650240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xdq8qN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf json-c-json-c-0.13.1-20180305 + /usr/bin/gzip -dc /builddir/build/SOURCES/json-c-0.13.1-20180305.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd json-c-json-c-0.13.1-20180305 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/json-c-int-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/json-c-versioned-symbols.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for doc in ChangeLog + /usr/bin/iconv -f iso-8859-1 -t utf8 ChangeLog + /bin/touch -r ChangeLog ChangeLog.new + /usr/bin/mv -f ChangeLog.new ChangeLog + /usr/bin/sed -i -e 's!#ACLOCAL_AMFLAGS!ACLOCAL_AMFLAGS!g' Makefile.am + /usr/bin/autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I autoconf-archive/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'autoconf-archive/m4'. libtoolize: copying file 'autoconf-archive/m4/libtool.m4' libtoolize: copying file 'autoconf-archive/m4/ltoptions.m4' libtoolize: copying file 'autoconf-archive/m4/ltsugar.m4' libtoolize: copying file 'autoconf-archive/m4/ltversion.m4' libtoolize: copying file 'autoconf-archive/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I autoconf-archive/m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:51: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:51: the top level configure.ac:52: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:52: the top level configure.ac:53: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:53: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:53: the top level configure.ac:54: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:54: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:54: the top level configure.ac:119: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:119: the top level configure.ac:148: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:148: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:148: the top level configure.ac:193: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:193: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... autoconf-archive/m4/ax_compile_check_sizeof.m4:90: AX_COMPILE_CHECK_SIZEOF is expanded from... configure.ac:193: the top level configure.ac:194: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:194: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... autoconf-archive/m4/ax_compile_check_sizeof.m4:90: AX_COMPILE_CHECK_SIZEOF is expanded from... configure.ac:194: the top level configure.ac:195: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... autoconf-archive/m4/ax_compile_check_sizeof.m4:90: AX_COMPILE_CHECK_SIZEOF is expanded from... configure.ac:195: the top level configure.ac:196: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:196: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... autoconf-archive/m4/ax_compile_check_sizeof.m4:90: AX_COMPILE_CHECK_SIZEOF is expanded from... configure.ac:196: the top level configure.ac:197: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:197: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... autoconf-archive/m4/ax_compile_check_sizeof.m4:90: AX_COMPILE_CHECK_SIZEOF is expanded from... configure.ac:197: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:50: installing './compile' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.67xWHm + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 json-c-json-c-0.13.1-20180305 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--version-script,/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json-c.sym' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--version-script,/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json-c.sym' + 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 2022-09-27 17:05:39.793984361 +0800 +++ ./configure 2022-09-27 17:05:40.493012256 +0800 @@ -1760,7 +1760,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 2022-09-27 17:05:40.493012256 +0800 +++ ./configure 2022-09-27 17:05:40.507012815 +0800 @@ -7644,7 +7644,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'" @@ -14859,7 +14859,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 ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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-silent-rules --disable-static --enable-shared --enable-threading 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 sets $(MAKE)... (cached) yes checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu Partial multi-threaded support enabled. RDRAND Hardware RNG Hash Seed disabled. Use --enable-rdrand to enable checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-Anolis-linux-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 dependency style of gcc... none 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for strings.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for sys/cdefs.h... yes checking for sys/param.h... yes checking for stdarg.h... yes checking for locale.h... yes checking for xlocale.h... no checking for endian.h... yes checking for inttypes.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for __thread support... yes checking for vprintf... yes checking for working memcmp... yes checking for realloc... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes checking for open... yes checking for vsyslog... yes checking for strncasecmp... yes checking for setlocale... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether INFINITY is declared... yes checking whether nan is declared... yes checking whether isnan is declared... yes checking whether isinf is declared... yes checking whether _isnan is declared... no checking whether _finite is declared... no checking for GCC atomic builtins... yes checking for uselocale... yes checking if .gnu.warning accepts long strings... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-file... no checking for file... file checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7650: -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 x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no 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... no 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 -m elf_x86_64) 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 -Bsymbolic-functions linker flag... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Werror... yes checking whether C compiler accepts -Wcast-qual... yes checking whether C compiler accepts -Wno-error=deprecated-declarations... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wwrite-string... no checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -D_GNU_SOURCE... yes checking for compatibility with _REENTRANT and toolchain headers... yes checking whether C compiler accepts -D_REENTRANT... yes checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of size_t... 8 checking size of int64_t... 8 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating json-c.pc config.status: creating tests/Makefile config.status: creating json-c-uninstalled.pc config.status: creating config.h config.status: creating json_config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j64 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in . make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_c_version.lo json_c_version.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_c_version.c -fPIC -DPIC -o .libs/json_c_version.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_object_iterator.lo json_object_iterator.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_object_iterator.c -fPIC -DPIC -o .libs/json_object_iterator.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o strerror_override.lo strerror_override.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c strerror_override.c -fPIC -DPIC -o .libs/strerror_override.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o debug.lo debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c debug.c -fPIC -DPIC -o .libs/debug.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o random_seed.lo random_seed.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c random_seed.c -fPIC -DPIC -o .libs/random_seed.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o arraylist.lo arraylist.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c arraylist.c -fPIC -DPIC -o .libs/arraylist.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o printbuf.lo printbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c printbuf.c -fPIC -DPIC -o .libs/printbuf.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_visit.lo json_visit.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_visit.c -fPIC -DPIC -o .libs/json_visit.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_util.lo json_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_util.c -fPIC -DPIC -o .libs/json_util.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_pointer.lo json_pointer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_pointer.c -fPIC -DPIC -o .libs/json_pointer.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o linkhash.lo linkhash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c linkhash.c -fPIC -DPIC -o .libs/linkhash.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_object.lo json_object.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_object.c -fPIC -DPIC -o .libs/json_object.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c -o json_tokener.lo json_tokener.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -c json_tokener.c -fPIC -DPIC -o .libs/json_tokener.o make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /bin/sh ./libtool --tag=CC --mode=link gcc -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -D_GNU_SOURCE -D_REENTRANT -version-info 4:0:0 -no-undefined -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--version-script,/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json-c.sym -o libjson-c.la -rpath /usr/lib64 arraylist.lo debug.lo json_c_version.lo json_object.lo json_object_iterator.lo json_pointer.lo json_tokener.lo json_util.lo json_visit.lo linkhash.lo printbuf.lo random_seed.lo strerror_override.lo libtool: link: gcc -shared -fPIC -DPIC .libs/arraylist.o .libs/debug.o .libs/json_c_version.o .libs/json_object.o .libs/json_object_iterator.o .libs/json_pointer.o .libs/json_tokener.o .libs/json_util.o .libs/json_visit.o .libs/linkhash.o .libs/printbuf.o .libs/random_seed.o .libs/strerror_override.o -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--version-script -Wl,/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json-c.sym -Wl,-soname -Wl,libjson-c.so.4 -o .libs/libjson-c.so.4.0.0 libtool: link: (cd ".libs" && rm -f "libjson-c.so.4" && ln -s "libjson-c.so.4.0.0" "libjson-c.so.4") libtool: link: (cd ".libs" && rm -f "libjson-c.so" && ln -s "libjson-c.so.4.0.0" "libjson-c.so") libtool: link: ( cd ".libs" && rm -f "libjson-c.la" && ln -s "../libjson-c.la" "libjson-c.la" ) make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' Making all in tests make[2]: Nothing to be done for 'all'. + /usr/bin/doxygen Doxyfile warning: Tag 'TCL_SUBST' at line 237 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1017 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 2048 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2070 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! Doxygen version used: 1.9.1 Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/json-c-json-c-0.13.1-20180305 Reading and parsing tag files Parsing files Reading /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/README.md... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/arraylist.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/arraylist.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/bits.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/bits.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/config.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/config.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/debug.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/debug.h... Reading /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/issues_closed_for_0.13.md... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_c_version.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_c_version.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_config.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_config.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_inttypes.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_inttypes.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object_iterator.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object_iterator.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object_private.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_object_private.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_pointer.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_pointer.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_tokener.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_tokener.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_util.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_util.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_visit.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/json_visit.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/linkhash.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/linkhash.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/math_compat.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/math_compat.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/printbuf.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/printbuf.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/random_seed.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/random_seed.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/snprintf_compat.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/snprintf_compat.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strdup_compat.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strdup_compat.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strerror_override.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strerror_override.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strerror_override_private.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/strerror_override_private.h... Preprocessing /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/vasprintf_compat.h... Parsing file /builddir/build/BUILD/json-c-json-c-0.13.1-20180305/vasprintf_compat.h... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Computing nesting relations for classes... Associating documentation with classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Computing tooltip texts... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Parsing code for file arraylist.h... Parsing code for file bits.h... Parsing code for file config.h... Parsing code for file debug.h... Parsing code for file issues_closed_for_0.13.md... Parsing code for file json.h... Parsing code for file json_c_version.h... Parsing code for file json_config.h... Parsing code for file json_inttypes.h... Parsing code for file json_object.h... Parsing code for file json_object_iterator.h... Parsing code for file json_object_private.h... Parsing code for file json_pointer.h... Parsing code for file json_tokener.h... Parsing code for file json_util.h... Parsing code for file json_visit.h... Parsing code for file linkhash.h... Parsing code for file math_compat.h... Parsing code for file printbuf.h... Parsing code for file random_seed.h... Parsing code for file README.md... Parsing code for file snprintf_compat.h... Parsing code for file strdup_compat.h... Parsing code for file strerror_override.h... Parsing code for file strerror_override_private.h... Parsing code for file vasprintf_compat.h... Generating file documentation... Generating docs for file arraylist.h... Generating docs for file bits.h... Generating docs for file config.h... Generating docs for file debug.h... Generating docs for file issues_closed_for_0.13.md... Generating docs for file json.h... Generating docs for file json_c_version.h... Generating docs for file json_config.h... Generating docs for file json_inttypes.h... Generating docs for file json_object.h... Generating docs for file json_object_iterator.h... Generating docs for file json_object_private.h... Generating docs for file json_pointer.h... Generating docs for file json_tokener.h... Generating docs for file json_util.h... Generating docs for file json_visit.h... Generating docs for file linkhash.h... Generating docs for file math_compat.h... Generating docs for file printbuf.h... Generating docs for file random_seed.h... Generating docs for file README.md... Generating docs for file snprintf_compat.h... Generating docs for file strdup_compat.h... Generating docs for file strerror_override.h... Generating docs for file strerror_override_private.h... Generating docs for file vasprintf_compat.h... Generating page documentation... Generating docs for page md_issues_closed_for_0_13... Generating docs for page deprecated... Generating group documentation... Generating class documentation... Generating docs for compound array_list... Generating docs for compound json_object... Generating docs for nested compound json_object::data... Generating docs for compound json_object_iter... Generating docs for compound json_object_iterator... Generating docs for compound json_tokener... Generating docs for compound json_tokener_srec... Generating docs for compound lh_entry... Generating docs for compound lh_table... Generating docs for compound printbuf... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... lookup cache used 429/65536 hits=1782 misses=451 finished... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gWi5Vt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 json-c-json-c-0.13.1-20180305 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 'INSTALL=/usr/bin/install -p' Making install in . make[1]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libjson-c.la '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libjson-c.so.4.0.0 /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64/libjson-c.so.4.0.0 libtool: install: (cd /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64 && { ln -s -f libjson-c.so.4.0.0 libjson-c.so.4 || { rm -f libjson-c.so.4 && ln -s libjson-c.so.4.0.0 libjson-c.so.4; }; }) libtool: install: (cd /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64 && { ln -s -f libjson-c.so.4.0.0 libjson-c.so || { rm -f libjson-c.so && ln -s libjson-c.so.4.0.0 libjson-c.so; }; }) libtool: install: /usr/bin/install -p .libs/libjson-c.lai /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64/libjson-c.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/include/json-c' /usr/bin/install -p -m 644 arraylist.h bits.h debug.h json.h json_c_version.h json_config.h json_inttypes.h json_object.h json_object_iterator.h json_pointer.h json_tokener.h json_util.h json_visit.h linkhash.h printbuf.h '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/include/json-c' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 json-c.pc '/builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' make[1]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/tests' make[2]: Entering directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/tests' make[1]: Leaving directory '/builddir/build/BUILD/json-c-json-c-0.13.1-20180305/tests' + /usr/bin/find /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 -name '*.a' -delete -print + /usr/bin/find /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64 -name '*.la' -delete -print /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/lib64/libjson-c.la + /usr/bin/mkdir -p /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/share/doc/json-c + /usr/bin/cp -pr doc/html ChangeLog README README.html README.md /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/share/doc/json-c + /usr/sbin/hardlink -cvf /builddir/build/BUILDROOT/json-c-0.13.1-3.0.1.an23.x86_64/usr/share/doc/json-c /var/tmp/rpm-tmp.gWi5Vt: line 51: /usr/sbin/hardlink: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.gWi5Vt (%install) RPM build errors: extra tokens at the end of %endif directive in line 174: %endif # 0%%{?fedora} || 0%%{?rhel} >= 7 Bad exit status from /var/tmp/rpm-tmp.gWi5Vt (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 x86_64 --nodeps /builddir/build/SPECS/json-c.spec