D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/flickcurl-1.26-7.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.46FSrf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf flickcurl-1.26 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/flickcurl-1.26.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flickcurl-1.26 + rm -rf /home/pterjan/rpmbuild/BUILD/flickcurl-1.26-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/flickcurl-1.26-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WWxyNO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd flickcurl-1.26 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying build/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --with-raptor=2 --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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking whether build environment is sane... yes checking for style of include used by make... GNU checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-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-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-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 x86_64-mageia-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 -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 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.6 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.7.1 via curl-config checking whether to use Raptor... yes - 2.0.16 checking using offline mode... no checking capturing web service responses... no checking whether make supports nested variables... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase 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.6 via xml2-config curl 8.7.1 via curl-config raptor 2.0.16 + /usr/bin/make -O -j16 V=1 VERBOSE=1 Making all in libmtwist make[1]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c seed.c -fPIC -DPIC -o .libs/seed.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/libmtwist' make[1]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mt.c -fPIC -DPIC -o .libs/mt.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/libmtwist' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/libmtwist' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/libmtwist' Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c args.c -fPIC -DPIC -o .libs/args.o args.c: In function 'flickcurl_free_arg': args.c:43:5: error: implicit declaration of function 'free' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' make[2]: *** [Makefile:596: args.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o context.lo context.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c context.c -fPIC -DPIC -o .libs/context.o context.c: In function 'flickcurl_free_context': context.c:77:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 77 | free(context->id); | ^~~~ context.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | context.c:77:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 77 | free(context->id); | ^~~~ context.c:77:5: note: include '' or provide a declaration of 'free' context.c:79:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 79 | free(context->secret); | ^~~~ context.c:79:5: note: include '' or provide a declaration of 'free' context.c:81:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 81 | free(context->title); | ^~~~ context.c:81:5: note: include '' or provide a declaration of 'free' context.c:83:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 83 | free(context->url); | ^~~~ context.c:83:5: note: include '' or provide a declaration of 'free' context.c:85:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 85 | free(context->thumb); | ^~~~ context.c:85:5: note: include '' or provide a declaration of 'free' context.c:86:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 86 | free(context); | ^~~~ context.c:86:3: note: include '' or provide a declaration of 'free' context.c: In function 'flickcurl_free_contexts': context.c:105:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 105 | free(contexts); | ^~~~ context.c:105:3: note: include '' or provide a declaration of 'free' context.c: In function 'flickcurl_build_contexts': context.c:127:35: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 127 | contexts = (flickcurl_context**)calloc(sizeof(flickcurl_context*), | ^~~~~~ context.c:127:35: note: include '' or provide a declaration of 'calloc' context.c:127:35: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] context.c:127:35: note: include '' or provide a declaration of 'calloc' context.c:164:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 164 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ context.c:164:27: note: include '' or provide a declaration of 'malloc' context.c:164:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] context.c:164:27: note: include '' or provide a declaration of 'malloc' context.c:172:27: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 172 | context->server = atoi(attr_value); | ^~~~ context.c:173:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 173 | free(attr_value); | ^~~~ context.c:173:9: note: include '' or provide a declaration of 'free' context.c:176:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 176 | free(attr_value); | ^~~~ context.c:176:9: note: include '' or provide a declaration of 'free' context.c:184:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 184 | free(attr_value); | ^~~~ context.c:184:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:596: context.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o contacts.lo contacts.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c contacts.c -fPIC -DPIC -o .libs/contacts.o contacts.c: In function 'flickcurl_free_contact': contacts.c:52:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 52 | free(contact_object->nsid); | ^~~~ contacts.c:38:1: note: include '' or provide a declaration of 'free' 37 | #include +++ |+#include 38 | contacts.c:52:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 52 | free(contact_object->nsid); | ^~~~ contacts.c:52:5: note: include '' or provide a declaration of 'free' contacts.c:54:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 54 | free(contact_object->username); | ^~~~ contacts.c:54:5: note: include '' or provide a declaration of 'free' contacts.c:56:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 56 | free(contact_object->realname); | ^~~~ contacts.c:56:5: note: include '' or provide a declaration of 'free' contacts.c:58:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 58 | free(contact_object); | ^~~~ contacts.c:58:3: note: include '' or provide a declaration of 'free' contacts.c: In function 'flickcurl_free_contacts': contacts.c:78:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 78 | free(contacts_object); | ^~~~ contacts.c:78:3: note: include '' or provide a declaration of 'free' contacts.c: In function 'flickcurl_build_contacts': contacts.c:106:35: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 106 | contacts = (flickcurl_contact**)calloc(sizeof(flickcurl_contact*), nodes_count+1); | ^~~~~~ contacts.c:106:35: note: include '' or provide a declaration of 'calloc' contacts.c:106:35: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] contacts.c:106:35: note: include '' or provide a declaration of 'calloc' contacts.c:126:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 126 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ contacts.c:126:27: note: include '' or provide a declaration of 'malloc' contacts.c:126:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] contacts.c:126:27: note: include '' or provide a declaration of 'malloc' contacts.c:134:38: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 134 | contact_object->iconserver = atoi((const char*)attr_value); | ^~~~ contacts.c:135:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 135 | free(attr_value); | ^~~~ contacts.c:135:9: note: include '' or provide a declaration of 'free' contacts.c:140:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 140 | free(attr_value); | ^~~~ contacts.c:140:9: note: include '' or provide a declaration of 'free' contacts.c:143:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 143 | free(attr_value); | ^~~~ contacts.c:143:9: note: include '' or provide a declaration of 'free' contacts.c:146:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 146 | free(attr_value); | ^~~~ contacts.c:146:9: note: include '' or provide a declaration of 'free' contacts.c:149:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 149 | free(attr_value); | ^~~~ contacts.c:149:9: note: include '' or provide a declaration of 'free' contacts.c:151:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 151 | free(attr_value); | ^~~~ contacts.c:151:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:596: contacts.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o exif.lo exif.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c exif.c -fPIC -DPIC -o .libs/exif.o exif.c: In function 'flickcurl_free_exif': exif.c:49:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 49 | free(exif->tagspace); | ^~~~ exif.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | exif.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(exif->tagspace); | ^~~~ exif.c:49:5: note: include '' or provide a declaration of 'free' exif.c:52:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 52 | free(exif->label); | ^~~~ exif.c:52:5: note: include '' or provide a declaration of 'free' exif.c:54:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 54 | free(exif->raw); | ^~~~ exif.c:54:5: note: include '' or provide a declaration of 'free' exif.c:56:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 56 | free(exif->clean); | ^~~~ exif.c:56:5: note: include '' or provide a declaration of 'free' exif.c:58:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 58 | free(exif); | ^~~~ exif.c:58:3: note: include '' or provide a declaration of 'free' exif.c: In function 'flickcurl_free_exifs': exif.c:78:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 78 | free(exifs_object); | ^~~~ exif.c:78:3: note: include '' or provide a declaration of 'free' exif.c: In function 'flickcurl_build_exifs': exif.c:105:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 105 | exifs = (flickcurl_exif**)calloc(sizeof(flickcurl_exif*), nodes_count+1); | ^~~~~~ exif.c:105:29: note: include '' or provide a declaration of 'calloc' exif.c:105:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] exif.c:105:29: note: include '' or provide a declaration of 'calloc' exif.c:126:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 126 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ exif.c:126:27: note: include '' or provide a declaration of 'malloc' exif.c:126:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] exif.c:126:27: note: include '' or provide a declaration of 'malloc' exif.c:132:25: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 132 | e->tagspaceid = atoi(attr_value); | ^~~~ exif.c:133:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 133 | free(attr_value); | ^~~~ exif.c:133:9: note: include '' or provide a declaration of 'free' exif.c:136:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 136 | free(attr_value); | ^~~~ exif.c:136:9: note: include '' or provide a declaration of 'free' exif.c:140:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 140 | free(attr_value); | ^~~~ exif.c:140:9: note: include '' or provide a declaration of 'free' exif.c:149:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 149 | e->raw = (char*)malloc(len + 1); | ^~~~~~ exif.c:149:27: note: include '' or provide a declaration of 'malloc' exif.c:153:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 153 | e->clean = (char*)malloc(len + 1); | ^~~~~~ exif.c:153:29: note: include '' or provide a declaration of 'malloc' make[2]: *** [Makefile:596: exif.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c blog.c -fPIC -DPIC -o .libs/blog.o blog.c: In function 'flickcurl_free_blog': blog.c:43:5: error: implicit declaration of function 'free' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' make[2]: *** [Makefile:596: blog.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o comments.lo comments.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c comments.c -fPIC -DPIC -o .libs/comments.o comments.c: In function 'flickcurl_free_comment': comments.c:49:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 49 | free(comment_object->id); | ^~~~ comments.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | comments.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(comment_object->id); | ^~~~ comments.c:49:5: note: include '' or provide a declaration of 'free' comments.c:51:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 51 | free(comment_object->author); | ^~~~ comments.c:51:5: note: include '' or provide a declaration of 'free' comments.c:53:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 53 | free(comment_object->authorname); | ^~~~ comments.c:53:5: note: include '' or provide a declaration of 'free' comments.c:55:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 55 | free(comment_object->permalink); | ^~~~ comments.c:55:5: note: include '' or provide a declaration of 'free' comments.c:57:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 57 | free(comment_object->text); | ^~~~ comments.c:57:5: note: include '' or provide a declaration of 'free' comments.c:59:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | free(comment_object); | ^~~~ comments.c:59:3: note: include '' or provide a declaration of 'free' comments.c: In function 'flickcurl_free_comments': comments.c:79:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 79 | free(comments_object); | ^~~~ comments.c:79:3: note: include '' or provide a declaration of 'free' comments.c: In function 'flickcurl_build_comments': comments.c:107:35: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 107 | comments = (flickcurl_comment**)calloc(sizeof(flickcurl_comment*), nodes_count+1); | ^~~~~~ comments.c:107:35: note: include '' or provide a declaration of 'calloc' comments.c:107:35: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] comments.c:107:35: note: include '' or provide a declaration of 'calloc' comments.c:128:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 128 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ comments.c:128:27: note: include '' or provide a declaration of 'malloc' comments.c:128:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] comments.c:128:27: note: include '' or provide a declaration of 'malloc' comments.c:138:38: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 138 | comment_object->datecreate = atoi((const char*)attr_value); | ^~~~ comments.c:139:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 139 | free(attr_value); | ^~~~ comments.c:139:9: note: include '' or provide a declaration of 'free' comments.c:143:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 143 | free(attr_value); | ^~~~ comments.c:143:9: note: include '' or provide a declaration of 'free' comments.c:150:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 150 | comment_object->text = (char*)malloc(len + 1); | ^~~~~~ comments.c:150:39: note: include '' or provide a declaration of 'malloc' make[2]: *** [Makefile:596: comments.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c category.c -fPIC -DPIC -o .libs/category.o category.c: In function 'flickcurl_free_category': category.c:49:5: error: implicit declaration of function 'free' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' make[2]: *** [Makefile:596: category.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c activity.c -fPIC -DPIC -o .libs/activity.o activity.c: In function 'flickcurl_free_activity_event': activity.c:43:5: error: implicit declaration of function 'free' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' [-Wimplicit-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' make[2]: *** [Makefile:596: activity.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o collection.lo collection.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c collection.c -fPIC -DPIC -o .libs/collection.o collection.c: In function 'flickcurl_free_collection': collection.c:59:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 59 | free(collection->description); | ^~~~ collection.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | collection.c:59:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | free(collection->description); | ^~~~ collection.c:59:5: note: include '' or provide a declaration of 'free' collection.c:62:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 62 | free(collection->title); | ^~~~ collection.c:62:5: note: include '' or provide a declaration of 'free' collection.c:65:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 65 | free(collection->secret); | ^~~~ collection.c:65:5: note: include '' or provide a declaration of 'free' collection.c:68:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 68 | free(collection->iconsmall); | ^~~~ collection.c:68:5: note: include '' or provide a declaration of 'free' collection.c:71:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 71 | free(collection->iconlarge); | ^~~~ collection.c:71:5: note: include '' or provide a declaration of 'free' collection.c:74:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 74 | free(collection->id); | ^~~~ collection.c:74:5: note: include '' or provide a declaration of 'free' collection.c:76:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 76 | free(collection); | ^~~~ collection.c:76:3: note: include '' or provide a declaration of 'free' collection.c: In function 'flickcurl_build_collections': collection.c:197:41: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 197 | collections = (flickcurl_collection**)calloc(sizeof(flickcurl_collection*), nodes_count+1); | ^~~~~~ collection.c:197:41: note: include '' or provide a declaration of 'calloc' collection.c:197:41: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] collection.c:197:41: note: include '' or provide a declaration of 'calloc' collection.c:241:25: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 241 | unix_time = atoi(string_value); | ^~~~ collection.c:272:11: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 272 | abort(); | ^~~~~ collection.c:272:11: note: include '' or provide a declaration of 'abort' collection.c:272:11: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] collection.c:272:11: note: include '' or provide a declaration of 'abort' collection.c:325:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 325 | free(string_value); | ^~~~ collection.c:325:9: note: include '' or provide a declaration of 'free' collection.c: In function 'flickcurl_build_collection': collection.c:375:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 375 | free(collections); | ^~~~ collection.c:375:5: note: include '' or provide a declaration of 'free' collection.c: In function 'flickcurl_free_collections': collection.c:397:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 397 | free(collections); | ^~~~ collection.c:397:3: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:596: collection.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o group.lo group.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c group.c -fPIC -DPIC -o .libs/group.o group.c: In function 'flickcurl_free_group': group.c:49:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 49 | free(group->nsid); | ^~~~ group.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | group.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(group->nsid); | ^~~~ group.c:49:5: note: include '' or provide a declaration of 'free' group.c:52:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 52 | free(group->name); | ^~~~ group.c:52:5: note: include '' or provide a declaration of 'free' group.c:55:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 55 | free(group->description); | ^~~~ group.c:55:5: note: include '' or provide a declaration of 'free' group.c:58:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 58 | free(group->lang); | ^~~~ group.c:58:5: note: include '' or provide a declaration of 'free' group.c:61:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 61 | free(group->throttle_mode); | ^~~~ group.c:61:5: note: include '' or provide a declaration of 'free' group.c:63:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 63 | free(group); | ^~~~ group.c:63:3: note: include '' or provide a declaration of 'free' group.c: In function 'flickcurl_free_groups': group.c:83:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 83 | free(groups_object); | ^~~~ group.c:83:3: note: include '' or provide a declaration of 'free' group.c: In function 'flickcurl_build_groups': group.c:109:31: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 109 | groups = (flickcurl_group**)calloc(sizeof(flickcurl_group*), nodes_count+1); | ^~~~~~ group.c:109:31: note: include '' or provide a declaration of 'calloc' group.c:109:31: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] group.c:109:31: note: include '' or provide a declaration of 'calloc' group.c:130:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 130 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ group.c:130:27: note: include '' or provide a declaration of 'malloc' group.c:130:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] group.c:130:27: note: include '' or provide a declaration of 'malloc' group.c:140:23: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 140 | g->is_admin = atoi(attr_value); | ^~~~ group.c:141:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 141 | free(attr_value); | ^~~~ group.c:141:9: note: include '' or provide a declaration of 'free' group.c:144:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 144 | free(attr_value); | ^~~~ group.c:144:9: note: include '' or provide a declaration of 'free' group.c:147:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 147 | free(attr_value); | ^~~~ group.c:147:9: note: include '' or provide a declaration of 'free' group.c:150:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 150 | free(attr_value); | ^~~~ group.c:150:9: note: include '' or provide a declaration of 'free' group.c:153:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 153 | free(attr_value); | ^~~~ group.c:153:9: note: include '' or provide a declaration of 'free' group.c:156:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 156 | free(attr_value); | ^~~~ group.c:156:9: note: include '' or provide a declaration of 'free' group.c:159:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 159 | free(attr_value); | ^~~~ group.c:159:9: note: include '' or provide a declaration of 'free' group.c:162:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | free(attr_value); | ^~~~ group.c:162:9: note: include '' or provide a declaration of 'free' group.c:164:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 164 | free(attr_value); | ^~~~ group.c:164:9: note: include '' or provide a declaration of 'free' group.c:183:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 183 | attr_value = (char*)malloc(attr_len + 1); | ^~~~~~ group.c:183:31: note: include '' or provide a declaration of 'malloc' group.c:187:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 187 | free(attr_value); | ^~~~ group.c:187:13: note: include '' or provide a declaration of 'free' group.c:192:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 192 | free(attr_value); | ^~~~ group.c:192:13: note: include '' or provide a declaration of 'free' group.c:194:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 194 | free(attr_value); | ^~~~ group.c:194:13: note: include '' or provide a declaration of 'free' group.c:230:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 230 | value = (char*)malloc(value_len + 1); | ^~~~~~ group.c:230:22: note: include '' or provide a declaration of 'malloc' group.c:239:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 239 | free(value); | ^~~~ group.c:239:9: note: include '' or provide a declaration of 'free' group.c:242:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 242 | free(value); | ^~~~ group.c:242:9: note: include '' or provide a declaration of 'free' group.c:247:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 247 | free(value); | ^~~~ group.c:247:9: note: include '' or provide a declaration of 'free' group.c:250:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 250 | free(value); | ^~~~ group.c:250:9: note: include '' or provide a declaration of 'free' group.c:252:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 252 | free(value); | ^~~~ group.c:252:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:596: group.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o gallery.lo gallery.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c gallery.c -fPIC -DPIC -o .libs/gallery.o gallery.c: In function 'flickcurl_free_gallery': gallery.c:49:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 49 | free(gallery->id); | ^~~~ gallery.c:35:1: note: include '' or provide a declaration of 'free' 34 | #include +++ |+#include 35 | gallery.c:49:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | free(gallery->id); | ^~~~ gallery.c:49:5: note: include '' or provide a declaration of 'free' gallery.c:51:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 51 | free(gallery->url); | ^~~~ gallery.c:51:5: note: include '' or provide a declaration of 'free' gallery.c:53:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 53 | free(gallery->owner); | ^~~~ gallery.c:53:5: note: include '' or provide a declaration of 'free' gallery.c:59:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | free(gallery->title); | ^~~~ gallery.c:59:5: note: include '' or provide a declaration of 'free' gallery.c:61:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 61 | free(gallery->description); | ^~~~ gallery.c:61:5: note: include '' or provide a declaration of 'free' gallery.c:64:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 64 | free(gallery); | ^~~~ gallery.c:64:3: note: include '' or provide a declaration of 'free' gallery.c: In function 'flickcurl_free_galleries': gallery.c:85:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 85 | free(galleries_object); | ^~~~ gallery.c:85:3: note: include '' or provide a declaration of 'free' gallery.c: In function 'flickcurl_build_galleries': gallery.c:111:36: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 111 | galleries = (flickcurl_gallery**)calloc(sizeof(flickcurl_gallery*), | ^~~~~~ gallery.c:111:36: note: include '' or provide a declaration of 'calloc' gallery.c:111:36: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] gallery.c:111:36: note: include '' or provide a declaration of 'calloc' gallery.c:132:43: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 132 | g->primary_photo->media_type = (char*)malloc(PHOTO_STR_LEN + 1); | ^~~~~~ gallery.c:132:43: note: include '' or provide a declaration of 'malloc' gallery.c:132:43: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] gallery.c:132:43: note: include '' or provide a declaration of 'malloc' gallery.c:153:26: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 153 | g->date_create = atoi(attr_value); | ^~~~ gallery.c:154:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 154 | free(attr_value); | ^~~~ gallery.c:154:9: note: include '' or provide a declaration of 'free' gallery.c:157:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 157 | free(attr_value); | ^~~~ gallery.c:157:9: note: include '' or provide a declaration of 'free' gallery.c:162:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | free(attr_value); | ^~~~ gallery.c:162:9: note: include '' or provide a declaration of 'free' gallery.c:165:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 165 | free(attr_value); | ^~~~ gallery.c:165:9: note: include '' or provide a declaration of 'free' gallery.c:170:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 170 | free(attr_value); | ^~~~ gallery.c:170:9: note: include '' or provide a declaration of 'free' gallery.c:173:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 173 | free(attr_value); | ^~~~ gallery.c:173:9: note: include '' or provide a declaration of 'free' gallery.c:175:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 175 | free(attr_value); | ^~~~ gallery.c:175:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:596: gallery.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o location.lo location.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c location.c -fPIC -DPIC -o .libs/location.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o md5.lo md5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c md5.c -fPIC -DPIC -o .libs/md5.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o institution.lo institution.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c institution.c -fPIC -DPIC -o .libs/institution.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o config.lo config.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c config.c -fPIC -DPIC -o .libs/config.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist -I/usr/include/libxml2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c common.c -fPIC -DPIC -o .libs/common.o common.c: In function 'flickcurl_invoke_common': common.c:1304:7: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1304 | curl_formadd(&post, &last, CURLFORM_PTRNAME, fc->param_fields[i], | ^~~~~~~~~~~~ In file included from ./flickcurl_internal.h:26, from common.c:62: /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ common.c:1304:7: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1304 | curl_formadd(&post, &last, CURLFORM_PTRNAME, fc->param_fields[i], | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ common.c:1305:20: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 1305 | CURLFORM_PTRCONTENTS, fc->param_values[i], | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ common.c:1314:5: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1314 | curl_formadd(&post, &last, CURLFORM_PTRNAME, fc->upload_field, | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ common.c:1314:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1314 | curl_formadd(&post, &last, CURLFORM_PTRNAME, fc->upload_field, | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2507:3: note: declared here 2507 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ common.c:1315:18: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 1315 | CURLFORM_FILE, fc->upload_value, CURLFORM_END); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ common.c:1318:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 1318 | curl_easy_setopt(fc->curl_handle, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/flickcurl-1.26/src' make[1]: *** [Makefile:416: all] Error 2 make: *** [Makefile:490: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WWxyNO (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WWxyNO (%build) I: [iurt_root_command] ERROR: chroot