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/flickcurl.spec'], chrootPath='/var/lib/mock/f40-build-749557-114434/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/flickcurl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/flickcurl-1.26-21.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flickcurl.spec'], chrootPath='/var/lib/mock/f40-build-749557-114434/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flickcurl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cx02fb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flickcurl-1.26 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flickcurl-1.26.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flickcurl-1.26 + rm -rf /builddir/build/BUILD/flickcurl-1.26-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/flickcurl-1.26-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/flickcurl-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x90p5H + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flickcurl-1.26 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2023-11-27 14:33:20.194300015 -0500 +++ ./configure 2023-11-27 14:33:20.394300204 -0500 @@ -1803,7 +1803,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 2023-11-27 14:33:20.394300204 -0500 +++ ./configure 2023-11-27 14:33:20.534300337 -0500 @@ -14843,7 +14843,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_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"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./build/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking whether build environment is sane... yes checking for style of include used by make... GNU 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether gcc and cc understand -c and -o together... yes checking whether gcc is clang... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... 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) 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 ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether byte ordering is bigendian... no checking for u32... no checking size of unsigned int... 4 checking size of unsigned long... 8 checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for getopt... yes checking for getopt_long... yes checking for gettimeofday... yes checking for memset... yes checking for strdup... yes checking for usleep... yes checking for vsnprintf... yes checking for library containing nanosleep... none required checking whether need to declare optind... no checking vsnprintf has C99 compatible return value... yes checking for echo... echo checking for pkg-config... pkg-config checking for xml2-config... xml2-config checking for xmlCreatePushParserCtxt... yes checking for libxml via xml2-config... yes - 2.12.1 via xml2-config checking for curl-config... curl-config checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for curl_easy_init... yes checking for libcurl via curl-config... yes - 8.0.1 via curl-config checking whether to use Raptor... yes - 2.0.15 checking using offline mode... no checking capturing web service responses... no checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no configure: creating ./config.status config.status: creating Makefile config.status: creating libmtwist/Makefile config.status: creating getopt/Makefile config.status: creating src/Makefile config.status: creating utils/Makefile config.status: creating examples/Makefile config.status: creating docs/Makefile config.status: creating docs/version.xml config.status: creating flickcurl.spec config.status: creating flickcurl.rdf config.status: creating flickcurl.pc config.status: creating flickcurl-config config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Flickcurl build summary: libxml 2.12.1 via xml2-config curl 8.0.1 via curl-config raptor 2.0.15 + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in libmtwist make[1]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../src -DMTWIST_CONFIG -I../src -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o seed.lo seed.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -DMTWIST_CONFIG -I../src -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c seed.c -fPIC -DPIC -o .libs/seed.o make[1]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' make[1]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../src -DMTWIST_CONFIG -I../src -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o mt.lo mt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -DMTWIST_CONFIG -I../src -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c mt.c -fPIC -DPIC -o .libs/mt.o make[1]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' make[1]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libmtwist.la mt.lo seed.lo -lxml2 -lz -llzma -lm -lcurl -lraptor2 libtool: link: ar cru .libs/libmtwist.a .libs/mt.o .libs/seed.o libtool: link: ranlib .libs/libmtwist.a libtool: link: ( cd ".libs" && rm -f "libmtwist.la" && ln -s "../libmtwist.la" "libmtwist.la" ) make[1]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/libmtwist' Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o args.lo args.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c args.c -fPIC -DPIC -o .libs/args.o make[2]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/src' args.c: In function 'flickcurl_free_arg': args.c:43:5: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 43 | free(arg->name); | ^~~~ args.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | args.c:43:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 43 | free(arg->name); | ^~~~ args.c:43:5: note: include '' or provide a declaration of 'free' args.c:45:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 45 | free(arg->description); | ^~~~ args.c:45:5: note: include '' or provide a declaration of 'free' args.c:46:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 46 | free(arg); | ^~~~ args.c:46:3: note: include '' or provide a declaration of 'free' args.c: In function 'flickcurl_build_args': args.c:74:27: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 74 | args = (flickcurl_arg**)calloc(sizeof(flickcurl_arg*), nodes_count+1); | ^~~~~~ args.c:74:27: note: include '' or provide a declaration of 'calloc' args.c:74:27: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] args.c:74:27: note: include '' or provide a declaration of 'calloc' args.c:94:28: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 94 | arg->name = (char*)malloc(len + 1); | ^~~~~~ args.c:94:28: note: include '' or provide a declaration of 'malloc' args.c:94:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] args.c:94:28: note: include '' or provide a declaration of 'malloc' args.c:97:25: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration] 97 | arg->optional = atoi((const char*)attr->children->content); | ^~~~ args.c:104:35: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 104 | arg->description = (char*)malloc(len + 1); | ^~~~~~ args.c:104:35: note: include '' or provide a declaration of 'malloc' cc1: some warnings being treated as errors make[2]: *** [Makefile:596: args.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o category.lo category.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c category.c -fPIC -DPIC -o .libs/category.o make[2]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/src' category.c: In function 'flickcurl_free_category': category.c:49:5: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 49 | free(category->id); | ^~~~ category.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | category.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(category->id); | ^~~~ category.c:49:5: note: include '' or provide a declaration of 'free' category.c:52:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 52 | free(category->name); | ^~~~ category.c:52:5: note: include '' or provide a declaration of 'free' category.c:60:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 60 | free(category); | ^~~~ category.c:60:3: note: include '' or provide a declaration of 'free' category.c: In function 'flickcurl_free_categories': category.c:80:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 80 | free(categories_object); | ^~~~ category.c:80:3: note: include '' or provide a declaration of 'free' category.c: In function 'flickcurl_build_categories': category.c:106:38: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 106 | categories = (flickcurl_category**)calloc(sizeof(flickcurl_category*), nodes_count+1); | ^~~~~~ category.c:106:38: note: include '' or provide a declaration of 'calloc' category.c:106:38: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] category.c:106:38: note: include '' or provide a declaration of 'calloc' category.c:126:27: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 126 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ category.c:126:27: note: include '' or provide a declaration of 'malloc' category.c:126:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] category.c:126:27: note: include '' or provide a declaration of 'malloc' category.c:136:20: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration] 136 | c->count = atoi(attr_value); | ^~~~ category.c:137:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 137 | free(attr_value); | ^~~~ category.c:137:9: note: include '' or provide a declaration of 'free' category.c:139:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 139 | free(attr_value); | ^~~~ category.c:139:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors make[2]: *** [Makefile:596: category.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o blog.lo blog.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c blog.c -fPIC -DPIC -o .libs/blog.o make[2]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/src' blog.c: In function 'flickcurl_free_blog': blog.c:43:5: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 43 | free(blog->id); | ^~~~ blog.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | blog.c:43:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 43 | free(blog->id); | ^~~~ blog.c:43:5: note: include '' or provide a declaration of 'free' blog.c:46:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 46 | free(blog->name); | ^~~~ blog.c:46:5: note: include '' or provide a declaration of 'free' blog.c:48:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 48 | free(blog); | ^~~~ blog.c:48:3: note: include '' or provide a declaration of 'free' blog.c: In function 'flickcurl_free_blogs': blog.c:68:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 68 | free(blogs_object); | ^~~~ blog.c:68:3: note: include '' or provide a declaration of 'free' blog.c: In function 'flickcurl_build_blogs': blog.c:94:29: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 94 | blogs = (flickcurl_blog**)calloc(sizeof(flickcurl_blog*), nodes_count+1); | ^~~~~~ blog.c:94:29: note: include '' or provide a declaration of 'calloc' blog.c:94:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] blog.c:94:29: note: include '' or provide a declaration of 'calloc' blog.c:114:27: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 114 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ blog.c:114:27: note: include '' or provide a declaration of 'malloc' blog.c:114:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] blog.c:114:27: note: include '' or provide a declaration of 'malloc' blog.c:122:29: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration] 122 | b->needs_password = atoi(attr_value); | ^~~~ blog.c:123:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 123 | free(attr_value); | ^~~~ blog.c:123:9: note: include '' or provide a declaration of 'free' blog.c:127:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 127 | free(attr_value); | ^~~~ blog.c:127:9: note: include '' or provide a declaration of 'free' blog.c: In function 'flickcurl_free_blog_service': blog.c:157:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 157 | free(blog_service->id); | ^~~~ blog.c:157:5: note: include '' or provide a declaration of 'free' blog.c:160:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 160 | free(blog_service->name); | ^~~~ blog.c:160:5: note: include '' or provide a declaration of 'free' blog.c:162:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | free(blog_service); | ^~~~ blog.c:162:3: note: include '' or provide a declaration of 'free' blog.c: In function 'flickcurl_free_blog_services': blog.c:182:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 182 | free(blog_services_object); | ^~~~ blog.c:182:3: note: include '' or provide a declaration of 'free' blog.c: In function 'flickcurl_build_blog_services': blog.c:209:45: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 209 | blog_services = (flickcurl_blog_service**)calloc(sizeof(flickcurl_blog_service*), nodes_count+1); | ^~~~~~ blog.c:209:45: note: include '' or provide a declaration of 'calloc' blog.c:230:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 230 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ blog.c:230:27: note: include '' or provide a declaration of 'malloc' blog.c:236:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 236 | free(attr_value); | ^~~~ blog.c:236:9: note: include '' or provide a declaration of 'free' blog.c:242:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 242 | b->name = (char*)malloc(len + 1); | ^~~~~~ blog.c:242:26: note: include '' or provide a declaration of 'malloc' cc1: some warnings being treated as errors make[2]: *** [Makefile:596: blog.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/flickcurl-1.26/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o activity.lo activity.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c activity.c -fPIC -DPIC -o .libs/activity.o make[2]: Leaving directory '/builddir/build/BUILD/flickcurl-1.26/src' activity.c: In function 'flickcurl_free_activity_event': activity.c:43:5: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 43 | free(activity_event->id); | ^~~~ activity.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | activity.c:43:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 43 | free(activity_event->id); | ^~~~ activity.c:43:5: note: include '' or provide a declaration of 'free' activity.c:45:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 45 | free(activity_event->type); | ^~~~ activity.c:45:5: note: include '' or provide a declaration of 'free' activity.c:47:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 47 | free(activity_event->user); | ^~~~ activity.c:47:5: note: include '' or provide a declaration of 'free' activity.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(activity_event->username); | ^~~~ activity.c:49:5: note: include '' or provide a declaration of 'free' activity.c:51:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 51 | free(activity_event->value); | ^~~~ activity.c:51:5: note: include '' or provide a declaration of 'free' activity.c:52:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 52 | free(activity_event); | ^~~~ activity.c:52:3: note: include '' or provide a declaration of 'free' activity.c: In function 'flickcurl_free_activity': activity.c:63:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 63 | free(activity->type); | ^~~~ activity.c:63:5: note: include '' or provide a declaration of 'free' activity.c:65:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 65 | free(activity->id); | ^~~~ activity.c:65:5: note: include '' or provide a declaration of 'free' activity.c:67:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 67 | free(activity->owner); | ^~~~ activity.c:67:5: note: include '' or provide a declaration of 'free' activity.c:69:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 69 | free(activity->owner_name); | ^~~~ activity.c:69:5: note: include '' or provide a declaration of 'free' activity.c:71:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 71 | free(activity->primary); | ^~~~ activity.c:71:5: note: include '' or provide a declaration of 'free' activity.c:73:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 73 | free(activity->secret); | ^~~~ activity.c:73:5: note: include '' or provide a declaration of 'free' activity.c:75:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 75 | free(activity->title); | ^~~~ activity.c:75:5: note: include '' or provide a declaration of 'free' activity.c:80:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 80 | free(activity); | ^~~~ activity.c:80:3: note: include '' or provide a declaration of 'free' activity.c: In function 'flickcurl_free_activities': activity.c:100:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 100 | free(activities_object); | ^~~~ activity.c:100:3: note: include '' or provide a declaration of 'free' activity.c: In function 'flickcurl_build_activity_event': activity.c:111:35: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 111 | ae = (flickcurl_activity_event*)calloc(sizeof(flickcurl_activity_event), 1); | ^~~~~~ activity.c:111:35: note: include '' or provide a declaration of 'calloc' activity.c:111:35: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] activity.c:111:35: note: include '' or provide a declaration of 'calloc' activity.c:120:25: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 120 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ activity.c:120:25: note: include '' or provide a declaration of 'malloc' activity.c:120:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] activity.c:120:25: note: include '' or provide a declaration of 'malloc' activity.c:132:24: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration] 132 | ae->date_added = atoi(attr_value); | ^~~~ activity.c:133:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 133 | free(attr_value); | ^~~~ activity.c:133:7: note: include '' or provide a declaration of 'free' activity.c:135:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 135 | free(attr_value); | ^~~~ activity.c:135:7: note: include '' or provide a declaration of 'free' activity.c:142:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 142 | ae->value = (char*)malloc(len + 1); | ^~~~~~ activity.c:142:26: note: include '' or provide a declaration of 'malloc' activity.c: In function 'flickcurl_build_activities': activity.c:174:38: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 174 | activities = (flickcurl_activity**)calloc(sizeof(flickcurl_activity*), nodes_count+1); | ^~~~~~ activity.c:174:38: note: include '' or provide a declaration of 'calloc' activity.c:196:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 196 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ activity.c:196:27: note: include '' or provide a declaration of 'malloc' activity.c:213:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 213 | free(attr_value); | ^~~~ activity.c:213:9: note: include '' or provide a declaration of 'free' activity.c:216:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 216 | free(attr_value); | ^~~~ activity.c:216:9: note: include '' or provide a declaration of 'free' activity.c:219:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 219 | free(attr_value); | ^~~~ activity.c:219:9: note: include '' or provide a declaration of 'free' activity.c:222:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 222 | free(attr_value); | ^~~~ activity.c:222:9: note: include '' or provide a declaration of 'free' activity.c:225:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 225 | free(attr_value); | ^~~~ activity.c:225:9: note: include '' or provide a declaration of 'free' activity.c:228:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | free(attr_value); | ^~~~ activity.c:228:9: note: include '' or provide a declaration of 'free' activity.c:231:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 231 | free(attr_value); | ^~~~ activity.c:231:9: note: include '' or provide a declaration of 'free' activity.c:234:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 234 | free(attr_value); | ^~~~ activity.c:234:9: note: include '' or provide a declaration of 'free' activity.c:237:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 237 | free(attr_value); | ^~~~ activity.c:237:9: note: include '' or provide a declaration of 'free' activity.c:240:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 240 | free(attr_value); | ^~~~ activity.c:240:9: note: include '' or provide a declaration of 'free' activity.c:243:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 243 | free(attr_value); | ^~~~ activity.c:243:9: note: include '' or provide a declaration of 'free' activity.c:245:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 245 | free(attr_value); | ^~~~ activity.c:245:9: note: include '' or provide a declaration of 'free' activity.c:255:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 255 | a->title = (char*)malloc(len + 1); | ^~~~~~ activity.c:255:29: note: include '' or provide a declaration of 'malloc' cc1: some warnings being treated as errors make[2]: *** [Makefile:596: activity.lo] Error 1 RPM build errors: make[1]: *** [Makefile:416: all] Error 2 make: *** [Makefile:490: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.x90p5H (%build) Bad exit status from /var/tmp/rpm-tmp.x90p5H (%build) 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/flickcurl.spec