<86>Dec 30 01:19:46 userdel[3768048]: delete user 'rooter' <86>Dec 30 01:19:46 userdel[3768048]: removed group 'rooter' owned by 'rooter' <86>Dec 30 01:19:46 userdel[3768048]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 30 01:19:46 groupadd[3768078]: group added to /etc/group: name=rooter, GID=1799 <86>Dec 30 01:19:46 groupadd[3768078]: group added to /etc/gshadow: name=rooter <86>Dec 30 01:19:46 groupadd[3768078]: new group: name=rooter, GID=1799 <86>Dec 30 01:19:46 useradd[3768106]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash, from=none <86>Dec 30 01:19:46 userdel[3768141]: delete user 'builder' <86>Dec 30 01:19:46 userdel[3768141]: removed group 'builder' owned by 'builder' <86>Dec 30 01:19:46 userdel[3768141]: removed shadow group 'builder' owned by 'builder' <86>Dec 30 01:19:46 groupadd[3768170]: group added to /etc/group: name=builder, GID=1800 <86>Dec 30 01:19:46 groupadd[3768170]: group added to /etc/gshadow: name=builder <86>Dec 30 01:19:46 groupadd[3768170]: new group: name=builder, GID=1800 <86>Dec 30 01:19:46 useradd[3768204]: new user: name=builder, UID=1800, GID=1800, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/libsvg-0.1.4-alt2_24.src.rpm: The use of such a license name is ambiguous: LGPL warning: ignored self-provides: libsvg-devel = 0.1.4 <13>Dec 30 01:19:50 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 30 01:19:50 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 30 01:19:50 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 30 01:19:50 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 30 01:19:50 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 30 01:19:50 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 30 01:19:51 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 30 01:19:51 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 30 01:19:51 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 30 01:19:51 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 30 01:19:51 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed warning: ignored self-provides: libsvg-devel = 0.1.4 Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libsvg-0.1.4-alt2_24.nosrc.rpm (w1.gzdio) warning: ignored self-provides: libsvg-devel = 0.1.4 Installing libsvg-0.1.4-alt2_24.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99279 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsvg-0.1.4 + echo 'Source #0 (libsvg-0.1.4.tar.bz2):' Source #0 (libsvg-0.1.4.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/libsvg-0.1.4.tar.bz2 + /bin/tar -xf - + cd libsvg-0.1.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libsvg-0.1.4-link.patch):' Patch #0 (libsvg-0.1.4-link.patch): + /usr/bin/patch -p0 patching file src/Makefile.am patching file src/Makefile.in + echo 'Patch #1 (libsvg-0.1.4-libpng14.patch):' Patch #1 (libsvg-0.1.4-libpng14.patch): + /usr/bin/patch -p0 patching file src/svg_image.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.99279 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsvg-0.1.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking dependency style of x86_64-alt-linux-gcc... none checking for library containing strerror... none required checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ANSI C... (cached) none needed checking dependency style of x86_64-alt-linux-gcc... (cached) none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for gawk... (cached) gawk checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking for ANSI C header files... no 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for x86_64-alt-linux-g77... no checking for x86_64-alt-linux-f77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... no checking for x86_64-alt-linux-fort77... no checking for x86_64-alt-linux-fl32... no checking for x86_64-alt-linux-af77... no checking for x86_64-alt-linux-f90... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-xlf95... no checking for x86_64-alt-linux-ifc... no checking for x86_64-alt-linux-efc... no checking for x86_64-alt-linux-pgf95... no checking for x86_64-alt-linux-lf95... no checking for x86_64-alt-linux-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from x86_64-alt-linux-gcc object... failed checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc static flag works... yes checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-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... cat: '/etc/ld.so.conf.d/*.conf': No such file or directory 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... cat: '/etc/ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) no checking whether libexpat is requested... no checking for pkg-config... /usr/bin/pkg-config checking for libxml-2.0 >= 2.4.7 ... yes checking LIBSVG_CFLAGS... -I/usr/include/libxml2 checking LIBSVG_LIBS... -lxml2 configure: creating ./config.status config.status: creating libsvg.spec config.status: creating libsvg.pc config.status: creating src/svg_version.h config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j16 make all-recursive Making all in . Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_element.lo svg_element.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_element.c -fPIC -DPIC -o .libs/svg_element.o svg_element.c: In function '_svg_element_create': svg_element.c:33:16: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 33 | *element = malloc( sizeof (svg_element_t)); | ^~~~~~ svg_element.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "svgint.h" +++ |+#include 26 | svg_element.c:33:16: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 33 | *element = malloc( sizeof (svg_element_t)); | ^~~~~~ svg_element.c:33:16: note: include '' or provide a declaration of 'malloc' svg_element.c: In function '_svg_element_deinit': svg_element.c:180:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 180 | free (element->id); | ^~~~ svg_element.c:180:9: note: include '' or provide a declaration of 'free' svg_element.c:180:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_element.c:180:9: note: include '' or provide a declaration of 'free' svg_element.c: In function '_svg_element_clone': svg_element.c:227:16: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 227 | *element = malloc( sizeof (svg_element_t)); | ^~~~~~ svg_element.c:227:16: note: include '' or provide a declaration of 'malloc' svg_element.c: In function '_svg_element_destroy': svg_element.c:241:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 241 | free (element); | ^~~~ svg_element.c:241:5: note: include '' or provide a declaration of 'free' svg_element.c: In function '_svg_element_parse_aspect_ratio': svg_element.c:387:25: warning: variable 'end' set but not used [-Wunused-but-set-variable] 387 | const char *start, *end; | ^~~ make[2]: *** [Makefile:344: svg_element.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_gradient.lo svg_gradient.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_gradient.c -fPIC -DPIC -o .libs/svg_gradient.o svg_gradient.c: In function '_svg_gradient_init_copy': svg_gradient.c:56:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 56 | gradient->stops = malloc (gradient->stops_size * sizeof (svg_gradient_stop_t)); | ^~~~~~ svg_gradient.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include +++ |+#include 26 | svg_gradient.c:56:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 56 | gradient->stops = malloc (gradient->stops_size * sizeof (svg_gradient_stop_t)); | ^~~~~~ svg_gradient.c:56:23: note: include '' or provide a declaration of 'malloc' svg_gradient.c: In function '_svg_gradient_deinit': svg_gradient.c:68:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 68 | free (gradient->stops); | ^~~~ svg_gradient.c:68:9: note: include '' or provide a declaration of 'free' svg_gradient.c:68:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_gradient.c:68:9: note: include '' or provide a declaration of 'free' svg_gradient.c: In function '_svg_gradient_add_stop': svg_gradient.c:115:21: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 115 | new_stops = realloc (gradient->stops, | ^~~~~~~ svg_gradient.c:115:21: note: include '' or provide a declaration of 'realloc' svg_gradient.c:115:21: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] svg_gradient.c:115:21: note: include '' or provide a declaration of 'realloc' make[2]: *** [Makefile:344: svg_gradient.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_str.lo svg_str.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_str.c -fPIC -DPIC -o .libs/svg_str.o svg_str.c: In function '_svg_str_parse_all_csv_doubles': svg_str.c:95:22: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 95 | *value = realloc(*value, size * sizeof(double)); | ^~~~~~~ svg_str.c:24:1: note: include '' or provide a declaration of 'realloc' 23 | #include "svgint.h" +++ |+#include 24 | svg_str.c:95:22: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 95 | *value = realloc(*value, size * sizeof(double)); | ^~~~~~~ svg_str.c:95:22: note: include '' or provide a declaration of 'realloc' make[2]: *** [Makefile:344: svg_str.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_group.lo svg_group.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_group.c -fPIC -DPIC -o .libs/svg_group.o svg_group.c: In function '_svg_group_deinit': svg_group.c:86:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 86 | free (group->element); | ^~~~ svg_group.c:24:1: note: include '' or provide a declaration of 'free' 23 | #include "svgint.h" +++ |+#include 24 | svg_group.c:86:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 86 | free (group->element); | ^~~~ svg_group.c:86:5: note: include '' or provide a declaration of 'free' svg_group.c: In function '_svg_group_apply_svg_attributes': svg_group.c:150:21: warning: variable 'status' set but not used [-Wunused-but-set-variable] 150 | svgint_status_t status; | ^~~~~~ svg_group.c: In function '_svg_group_grow_element_by': svg_group.c:253:19: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 253 | new_element = realloc (group->element, | ^~~~~~~ svg_group.c:253:19: note: include '' or provide a declaration of 'realloc' svg_group.c:253:19: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] svg_group.c:253:19: note: include '' or provide a declaration of 'realloc' make[2]: *** [Makefile:344: svg_group.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_image.lo svg_image.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_image.c -fPIC -DPIC -o .libs/svg_image.o svg_image.c: In function '_svg_image_deinit': svg_image.c:78:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 78 | free (image->url); | ^~~~ svg_image.c:30:1: note: include '' or provide a declaration of 'free' 29 | #include "svgint.h" +++ |+#include 30 | svg_image.c:78:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 78 | free (image->url); | ^~~~ svg_image.c:78:9: note: include '' or provide a declaration of 'free' svg_image.c:83:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 83 | free (image->data); | ^~~~ svg_image.c:83:9: note: include '' or provide a declaration of 'free' svg_image.c: In function '_svg_image_read_png': svg_image.c:302:13: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 302 | *data = malloc (png_width * png_height * pixel_size); | ^~~~~~ svg_image.c:302:13: note: include '' or provide a declaration of 'malloc' svg_image.c:302:13: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] svg_image.c:302:13: note: include '' or provide a declaration of 'malloc' svg_image.c:315:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 315 | free (row_pointers); | ^~~~ svg_image.c:315:5: note: include '' or provide a declaration of 'free' svg_image.c: In function '_svg_image_read_jpeg': svg_image.c:386:13: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 386 | *data = malloc (cinfo.output_width * cinfo.output_height * 4); | ^~~~~~ svg_image.c:386:13: note: include '' or provide a declaration of 'malloc' make[2]: *** [Makefile:344: svg_image.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_paint.lo svg_paint.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_paint.c -fPIC -DPIC -o .libs/svg_paint.o svg_paint.c: In function '_svg_paint_init': svg_paint.c:42:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 42 | char *id = malloc (length+1); | ^~~~~~ svg_paint.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "svgint.h" +++ |+#include 26 | svg_paint.c:42:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 42 | char *id = malloc (length+1); | ^~~~~~ svg_paint.c:42:31: note: include '' or provide a declaration of 'malloc' svg_paint.c:50:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 50 | free (id); | ^~~~ svg_paint.c:50:9: note: include '' or provide a declaration of 'free' svg_paint.c:50:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_paint.c:50:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:344: svg_paint.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_attribute.lo svg_attribute.c mkdir .libs x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_attribute.c -fPIC -DPIC -o .libs/svg_attribute.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_ascii.lo svg_ascii.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_ascii.c -fPIC -DPIC -o .libs/svg_ascii.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg.lo svg.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg.c -fPIC -DPIC -o .libs/svg.o svg.c: In function 'svg_create': svg.c:39:12: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 39 | *svg = malloc (sizeof (svg_t)); | ^~~~~~ svg.c:32:1: note: include '' or provide a declaration of 'malloc' 31 | #include "svgint.h" +++ |+#include 32 | svg.c:39:12: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 39 | *svg = malloc (sizeof (svg_t)); | ^~~~~~ svg.c:39:12: note: include '' or provide a declaration of 'malloc' svg.c: In function '_svg_deinit': svg.c:68:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 68 | free (svg->dir_name); | ^~~~ svg.c:68:5: note: include '' or provide a declaration of 'free' svg.c:68:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg.c:68:5: note: include '' or provide a declaration of 'free' svg.c: In function 'svg_destroy': svg.c:88:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 88 | free (svg); | ^~~~ svg.c:88:5: note: include '' or provide a declaration of 'free' svg.c: In function 'svg_parse': svg.c:145:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 145 | free (svg->dir_name); | ^~~~ svg.c:145:5: note: include '' or provide a declaration of 'free' svg.c: In function 'svg_render': svg.c:219:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | getcwd (orig_dir, MAXPATHLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg.c:220:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | chdir (svg->dir_name); | ^~~~~~~~~~~~~~~~~~~~~ svg.c:224:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | chdir (orig_dir); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:344: svg.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_length.lo svg_length.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_length.c -fPIC -DPIC -o .libs/svg_length.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_parser.lo svg_parser.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_parser.c -fPIC -DPIC -o .libs/svg_parser.o svg_parser.c: In function '_svg_parser_sax_start_element': svg_parser.c:215:28: warning: comparison between 'svg_status_t' {aka 'enum svg_status'} and 'enum svgint_status' [-Wenum-compare] 215 | if (parser->status == SVGINT_STATUS_UNKNOWN_ELEMENT) | ^~ svg_parser.c: In function '_svg_parser_sax_characters': svg_parser.c:263:15: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 263 | ch_copy = malloc (len); | ^~~~~~ svg_parser.c:30:1: note: include '' or provide a declaration of 'malloc' 29 | #include "svgint.h" +++ |+#include 30 | svg_parser.c:263:15: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 263 | ch_copy = malloc (len); | ^~~~~~ svg_parser.c:263:15: note: include '' or provide a declaration of 'malloc' svg_parser.c:290:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 290 | free (ch_copy); | ^~~~ svg_parser.c:290:5: note: include '' or provide a declaration of 'free' svg_parser.c:290:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_parser.c:290:5: note: include '' or provide a declaration of 'free' svg_parser.c: In function '_svg_parser_push_state': svg_parser.c:302:13: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 302 | state = malloc (sizeof (svg_parser_state_t)); | ^~~~~~ svg_parser.c:302:13: note: include '' or provide a declaration of 'malloc' svg_parser.c: In function '_svg_parser_pop_state': svg_parser.c:331:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 331 | free(old); | ^~~~ svg_parser.c:331:5: note: include '' or provide a declaration of 'free' svg_parser.c: In function '_svg_parser_parse_gradient_stop': svg_parser.c:735:85: warning: comparison between 'svgint_status_t' {aka 'enum svgint_status'} and 'enum svg_status' [-Wenum-compare] 735 | if (_svg_attribute_get_string (attributes, "stop-color", &color_str, "#000000") == SVG_STATUS_SUCCESS) | ^~ svg_parser.c: In function '_svg_parser_parse_pattern': svg_parser.c:755:18: warning: variable 'status' set but not used [-Wunused-but-set-variable] 755 | svg_status_t status; | ^~~~~~ make[2]: *** [Makefile:344: svg_parser.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_pattern.lo svg_pattern.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_pattern.c -fPIC -DPIC -o .libs/svg_pattern.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_color.lo svg_color.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_color.c -fPIC -DPIC -o .libs/svg_color.o svg_color.c: In function '_svg_color_init_from_str': svg_color.c:345:11: error: implicit declaration of function 'bsearch' [-Wimplicit-function-declaration] 345 | map = bsearch (str, SVG_COLOR_MAP, | ^~~~~~~ svg_color.c:345:11: warning: nested extern declaration of 'bsearch' [-Wnested-externs] svg_color.c:345:9: error: assignment to 'svg_color_map_t *' {aka 'struct svg_color_map *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 345 | map = bsearch (str, SVG_COLOR_MAP, | ^ make[2]: *** [Makefile:344: svg_color.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_style.lo svg_style.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_style.c -fPIC -DPIC -o .libs/svg_style.o svg_style.c: In function '_svg_style_init_copy': svg_style.c:217:36: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 217 | style->stroke_dash_array = malloc (style->num_dashes * sizeof (double)); | ^~~~~~ svg_style.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "svgint.h" +++ |+#include 27 | svg_style.c:217:36: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 217 | style->stroke_dash_array = malloc (style->num_dashes * sizeof (double)); | ^~~~~~ svg_style.c:217:36: note: include '' or provide a declaration of 'malloc' svg_style.c: In function '_svg_style_deinit': svg_style.c:266:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 266 | free (style->font_family); | ^~~~ svg_style.c:266:9: note: include '' or provide a declaration of 'free' svg_style.c:266:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_style.c:266:9: note: include '' or provide a declaration of 'free' svg_style.c:270:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 270 | free (style->stroke_dash_array); | ^~~~ svg_style.c:270:9: note: include '' or provide a declaration of 'free' svg_style.c: In function '_svg_style_parse_font_family': svg_style.c:362:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 362 | free (style->font_family); | ^~~~ svg_style.c:362:5: note: include '' or provide a declaration of 'free' svg_style.c: In function '_svg_style_parse_stroke_dash_array': svg_style.c:449:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 449 | free (style->stroke_dash_array); | ^~~~ svg_style.c:449:5: note: include '' or provide a declaration of 'free' svg_style.c:464:26: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 464 | new_dash_array = realloc(style->stroke_dash_array, style->num_dashes * sizeof(double)); | ^~~~~~~ svg_style.c:464:26: note: include '' or provide a declaration of 'realloc' svg_style.c:464:26: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] svg_style.c:464:26: note: include '' or provide a declaration of 'realloc' svg_style.c: In function '_svg_style_parse_stop_opacity': svg_style.c:658:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 658 | if (status) | ^~ svg_style.c:661:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 661 | style->opacity = opacity; | ^~~~~ svg_style.c: In function '_svg_style_split_nv_pair_alloc': svg_style.c:682:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 682 | free (*name); | ^~~~ svg_style.c:682:9: note: include '' or provide a declaration of 'free' svg_style.c: In function '_svg_style_parse_nv_pair': svg_style.c:724:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 724 | free (name); | ^~~~ svg_style.c:724:5: note: include '' or provide a declaration of 'free' svg_style.c: In function '_svg_style_parse_style_str': svg_style.c:754:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 754 | nv_pair = malloc (1 + end - start); | ^~~~~~ svg_style.c:754:19: note: include '' or provide a declaration of 'malloc' svg_style.c:760:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 760 | free (nv_pair); | ^~~~ svg_style.c:760:9: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:344: svg_style.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_text.lo svg_text.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_text.c -fPIC -DPIC -o .libs/svg_text.o svg_text.c: In function '_svg_text_init_copy': svg_text.c:47:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 47 | text->chars = malloc (text->len + 1); | ^~~~~~ svg_text.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "svgint.h" +++ |+#include 26 | svg_text.c:47:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 47 | text->chars = malloc (text->len + 1); | ^~~~~~ svg_text.c:47:23: note: include '' or provide a declaration of 'malloc' svg_text.c: In function '_svg_text_deinit': svg_text.c:62:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 62 | free (text->chars); | ^~~~ svg_text.c:62:5: note: include '' or provide a declaration of 'free' svg_text.c:62:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg_text.c:62:5: note: include '' or provide a declaration of 'free' svg_text.c: In function '_svg_text_append_chars': svg_text.c:77:17: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 77 | new_chars = realloc (text->chars, text->len + 1); | ^~~~~~~ svg_text.c:77:17: note: include '' or provide a declaration of 'realloc' svg_text.c:77:17: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] svg_text.c:77:17: note: include '' or provide a declaration of 'realloc' make[2]: *** [Makefile:344: svg_text.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o svg_path.lo svg_path.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c svg_path.c -fPIC -DPIC -o .libs/svg_path.o svg_path.c: In function '_svg_path_add_from_str': svg_path.c:410:24: warning: comparison between 'svg_status_t' {aka 'enum svg_status'} and 'enum svgint_status' [-Wenum-compare] 410 | if (status == SVGINT_STATUS_ARGS_EXHAUSTED) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsvg-0.1.4/src' make[1]: *** [Makefile:304: all-recursive] Error 1 make: *** [Makefile:212: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.99279 (%build) RPM build errors: ignored self-provides: libsvg-devel = 0.1.4 Bad exit status from /usr/src/tmp/rpm-tmp.99279 (%build) Command exited with non-zero status 1 1.76user 3.92system 0:04.03elapsed 140%CPU (0avgtext+0avgdata 27568maxresident)k 0inputs+0outputs (0major+701888minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsvg-0.1.4-alt2_24.src.rpm' failed. Command exited with non-zero status 1 3.86user 2.43system 0:13.41elapsed 46%CPU (0avgtext+0avgdata 138124maxresident)k 0inputs+0outputs (0major+187350minor)pagefaults 0swaps