<86>Nov 9 07:08:13 userdel[842920]: delete user 'rooter' <86>Nov 9 07:08:13 userdel[842920]: removed group 'rooter' owned by 'rooter' <86>Nov 9 07:08:13 userdel[842920]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 07:08:13 groupadd[842937]: group added to /etc/group: name=rooter, GID=1826 <86>Nov 9 07:08:13 groupadd[842937]: group added to /etc/gshadow: name=rooter <86>Nov 9 07:08:13 groupadd[842937]: new group: name=rooter, GID=1826 <86>Nov 9 07:08:13 useradd[842953]: new user: name=rooter, UID=1826, GID=1826, home=/root, shell=/bin/bash, from=none <86>Nov 9 07:08:13 userdel[842990]: delete user 'builder' <86>Nov 9 07:08:13 userdel[842990]: removed group 'builder' owned by 'builder' <86>Nov 9 07:08:13 userdel[842990]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 07:08:13 groupadd[843025]: group added to /etc/group: name=builder, GID=1827 <86>Nov 9 07:08:13 groupadd[843025]: group added to /etc/gshadow: name=builder <86>Nov 9 07:08:13 groupadd[843025]: new group: name=builder, GID=1827 <86>Nov 9 07:08:13 useradd[843053]: new user: name=builder, UID=1827, GID=1827, home=/usr/src, shell=/bin/bash, from=none warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root <13>Nov 9 07:08:17 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Nov 9 07:08:17 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Nov 9 07:08:17 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Nov 9 07:08:17 rpmi: libwebp7-1.4.0-alt1 sisyphus+345159.200.1.1 1713168690 installed <13>Nov 9 07:08:17 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Nov 9 07:08:18 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Nov 9 07:08:18 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Nov 9 07:08:18 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Nov 9 07:08:18 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Nov 9 07:08:18 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Nov 9 07:08:18 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed <13>Nov 9 07:08:18 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Nov 9 07:08:18 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Nov 9 07:08:18 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Nov 9 07:08:18 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Nov 9 07:08:18 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Nov 9 07:08:18 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Nov 9 07:08:18 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Nov 9 07:08:18 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Nov 9 07:08:18 rpmi: libnuma-2.0.18-alt1 sisyphus+358102.100.1.1 1727069614 installed <13>Nov 9 07:08:18 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625696944 installed <13>Nov 9 07:08:18 rpmi: libgdk-pixbuf-locales-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Nov 9 07:08:18 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330311 installed <13>Nov 9 07:08:18 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Nov 9 07:08:18 rpmi: libde265-1.0.15-alt1 sisyphus+337190.100.1.1 1703502097 installed <13>Nov 9 07:08:18 rpmi: libaom3-3.9.1-alt2 sisyphus+354446.100.1.1 1722877569 installed <13>Nov 9 07:08:18 rpmi: libpixman-3:0.43.4-alt2 sisyphus+344164.100.1.1 1711987947 installed <13>Nov 9 07:08:18 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 07:08:18 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 07:08:18 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Nov 9 07:08:18 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221065 installed <13>Nov 9 07:08:18 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed <13>Nov 9 07:08:18 rpmi: fontconfig-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed Updating fonts cache: <29>Nov 9 07:08:19 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 9 07:08:19 rpmi: libharfbuzz-icu-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Nov 9 07:08:19 rpmi: libharfbuzz-gobject-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Nov 9 07:08:19 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Nov 9 07:08:19 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Nov 9 07:08:19 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Nov 9 07:08:19 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Nov 9 07:08:19 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Nov 9 07:08:19 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Nov 9 07:08:19 rpmi: libcairo-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948394 installed <13>Nov 9 07:08:20 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Nov 9 07:08:20 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Nov 9 07:08:20 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Nov 9 07:08:20 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Nov 9 07:08:20 rpmi: libharfbuzz-cairo-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Nov 9 07:08:20 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023316 installed <13>Nov 9 07:08:20 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400258 installed <13>Nov 9 07:08:20 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed <13>Nov 9 07:08:20 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787317 installed <13>Nov 9 07:08:21 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Nov 9 07:08:21 rpmi: libgio-2.82.2-alt1 sisyphus+360023.100.1.1 1729169702 installed <13>Nov 9 07:08:21 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641770 installed <13>Nov 9 07:08:21 rpmi: libgdk-pixbuf-2.42.12-alt1 sisyphus+348142.100.1.1 1715791858 installed <13>Nov 9 07:08:21 rpmi: libheif-1.18.2-alt1 sisyphus+357135.100.1.1 1725864575 installed <13>Nov 9 07:08:21 rpmi: libgd3-2.3.3-alt2 sisyphus+346221.200.2.1 1716402081 installed <13>Nov 9 07:08:21 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Nov 9 07:08:21 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Nov 9 07:08:21 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Nov 9 07:08:21 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:08:21 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 07:08:21 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:08:21 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:08:21 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 07:08:21 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 07:08:21 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:08:21 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 07:08:21 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 07:08:21 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:08:22 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:08:22 rpmi: glib2-devel-2.82.2-alt1 sisyphus+360023.100.1.1 1729169702 installed <13>Nov 9 07:08:22 rpmi: libcairo-devel-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948394 installed <13>Nov 9 07:08:22 rpmi: fontconfig-devel-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed <13>Nov 9 07:08:22 rpmi: libfreetype-devel-2.13.3-alt1 sisyphus+355656.100.1.1 1724221065 installed <13>Nov 9 07:08:22 rpmi: libharfbuzz-devel-10.1.0-alt1 sisyphus+361773.100.1.1 1730824050 installed <13>Nov 9 07:08:22 rpmi: libgd3-devel-2.3.3-alt2 sisyphus+346221.200.2.1 1716402081 installed <13>Nov 9 07:08:22 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libgdchart-0.11.5-alt1.3.nosrc.rpm (w1.gzdio) Installing libgdchart-0.11.5-alt1.3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95188 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gdchart0.11.5dev + echo 'Source #0 (gdchart0.11.5dev.tar.gz):' Source #0 (gdchart0.11.5dev.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/gdchart0.11.5dev.tar.gz + /bin/tar -xf - + cd gdchart0.11.5dev + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95188 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gdchart0.11.5dev + subst s@/local@@ Makefile + subst s@/usr/lib@/usr/lib@ Makefile + subst 's/^EXTERND//' array_alloc.h gdchart.h gdcpie.h gdc.h + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -c array_alloc.c make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdc_pie_samp.c gdc_pie_samp.c:13:1: error: return type defaults to 'int' [-Wimplicit-int] 13 | main( int argc, char *argv[] ) | ^~~~ gdc_pie_samp.c: In function 'main': gdc_pie_samp.c:76:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 76 | exit( 0 ); | ^~~~ gdc_pie_samp.c:12:1: note: include '' or provide a declaration of 'exit' 11 | #include "gdcpie.h" +++ |+#include 12 | gdc_pie_samp.c:76:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 76 | exit( 0 ); | ^~~~ gdc_pie_samp.c:76:9: note: include '' or provide a declaration of 'exit' gdc_pie_samp.c:16:26: warning: unused variable 'lbl' [-Wunused-variable] 16 | char *lbl[] = { "CPQ\n(DEC)", | ^~~ In file included from gdc_pie_samp.c:10: gdc.h: At top level: gdc.h:63:33: warning: '_gdccfoo2' defined but not used [-Wunused-variable] 63 | static unsigned long _gdccfoo2; | ^~~~~~~~~ gdc.h:62:49: warning: '_gdccfoo1' defined but not used [-Wunused-variable] 62 | static int _gdccfoo1; | ^~~~~~~~~ make: *** [Makefile:70: gdc_pie_samp.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdc_samp2.c gdc_samp2.c:22:1: error: return type defaults to 'int' [-Wimplicit-int] 22 | main() | ^~~~ gdc_samp2.c: In function 'main': gdc_samp2.c:48:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 48 | strncpy( anno.note, "Did Not\nTrade", MAX_NOTE_LEN ); /* don't exceed MAX_NOTE_LEN */ | ^~~~~~~ gdc_samp2.c:20:1: note: include '' or provide a declaration of 'strncpy' 19 | #include "gdchart.h" +++ |+#include 20 | gdc_samp2.c:48:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 48 | strncpy( anno.note, "Did Not\nTrade", MAX_NOTE_LEN ); /* don't exceed MAX_NOTE_LEN */ | ^~~~~~~ gdc_samp2.c:48:9: note: include '' or provide a declaration of 'strncpy' gdc_samp2.c:67:97: warning: "/*" within comment [-Wcomment] 67 | /* GDC_SetColor = setcolor; /* see README */ gdc_samp2.c:73:73: warning: "/*" within comment [-Wcomment] 73 | /* fprintf( stdout, "Content-Type: image/png\n\n" ); /* rem: for web use */ gdc_samp2.c:87:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 87 | exit(0); | ^~~~ gdc_samp2.c:20:1: note: include '' or provide a declaration of 'exit' 19 | #include "gdchart.h" +++ |+#include 20 | gdc_samp2.c:87:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 87 | exit(0); | ^~~~ gdc_samp2.c:87:9: note: include '' or provide a declaration of 'exit' In file included from gdc_samp2.c:18: gdc.h: At top level: gdc.h:63:33: warning: '_gdccfoo2' defined but not used [-Wunused-variable] 63 | static unsigned long _gdccfoo2; | ^~~~~~~~~ gdc.h:62:49: warning: '_gdccfoo1' defined but not used [-Wunused-variable] 62 | static int _gdccfoo1; | ^~~~~~~~~ make: *** [Makefile:76: gdc_samp2.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c ft_samp.c ft_samp.c:16:1: error: return type defaults to 'int' [-Wimplicit-int] 16 | main() | ^~~~ ft_samp.c: In function 'main': ft_samp.c:22:5: error: implicit declaration of function 'get_data' [-Wimplicit-function-declaration] 22 | get_data( data, 0, 500 ); | ^~~~~~~~ ft_samp.c:23:5: error: implicit declaration of function 'get_individual_colors' [-Wimplicit-function-declaration] 23 | get_individual_colors( extclr ); | ^~~~~~~~~~~~~~~~~~~~~ ft_samp.c:58:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 58 | exit(0); | ^~~~ ft_samp.c:12:1: note: include '' or provide a declaration of 'exit' 11 | #include "gdchart.h" +++ |+#include 12 | ft_samp.c:58:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 58 | exit(0); | ^~~~ ft_samp.c:58:5: note: include '' or provide a declaration of 'exit' ft_samp.c: At top level: ft_samp.c:68:1: error: return type defaults to 'int' [-Wimplicit-int] 68 | get_data( float data[NUM_SETS][NUM_POINTS], | ^~~~~~~~ ft_samp.c: In function 'get_data': ft_samp.c:73:31: error: passing argument 1 of 'time' makes pointer from integer without a cast [-Wint-conversion] 73 | srand( (unsigned int)time((time_t)NULL) ); | ^ | | | long int In file included from ft_samp.c:67: /usr/include/time.h:76:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'long int' 76 | extern time_t time (time_t *__timer) __THROW; | ~~~~~~~~^~~~~~~ ft_samp.c: At top level: ft_samp.c:81:1: error: return type defaults to 'int' [-Wimplicit-int] 81 | get_individual_colors( unsigned long extclr[NUM_SETS][NUM_POINTS] ) | ^~~~~~~~~~~~~~~~~~~~~ ft_samp.c: In function 'get_data': ft_samp.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] 78 | } | ^ ft_samp.c: In function 'get_individual_colors': ft_samp.c:87:1: warning: control reaches end of non-void function [-Wreturn-type] 87 | } | ^ In file included from ft_samp.c:10: gdc.h: At top level: gdc.h:63:33: warning: '_gdccfoo2' defined but not used [-Wunused-variable] 63 | static unsigned long _gdccfoo2; | ^~~~~~~~~ gdc.h:62:49: warning: '_gdccfoo1' defined but not used [-Wunused-variable] 62 | static int _gdccfoo1; | ^~~~~~~~~ make: *** [Makefile:79: ft_samp.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdc_samp1.c gdc_samp1.c:17:1: error: return type defaults to 'int' [-Wimplicit-int] 17 | main() | ^~~~ gdc_samp1.c: In function 'main': gdc_samp1.c:46:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 46 | exit(0); | ^~~~ gdc_samp1.c:16:1: note: include '' or provide a declaration of 'exit' 15 | #include "gdchart.h" +++ |+#include 16 | gdc_samp1.c:46:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 46 | exit(0); | ^~~~ gdc_samp1.c:46:5: note: include '' or provide a declaration of 'exit' In file included from gdc_samp1.c:14: gdc.h: At top level: gdc.h:63:33: warning: '_gdccfoo2' defined but not used [-Wunused-variable] 63 | static unsigned long _gdccfoo2; | ^~~~~~~~~ gdc.h:62:49: warning: '_gdccfoo1' defined but not used [-Wunused-variable] 62 | static int _gdccfoo1; | ^~~~~~~~~ make: *** [Makefile:73: gdc_samp1.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I/usr/include/ -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdc.c gdc.c:9:51: warning: missing braces around initializer [-Wmissing-braces] 9 | struct GDC_FONT_T GDC_fontc[GDC_numfonts] = { (gdFontPtr)NULL, 8, 5, | ^ | { } 10 | (gdFontPtr)NULL, 8, 5, | { } 11 | (gdFontPtr)NULL, 12, 6, | { } 12 | (gdFontPtr)NULL, 13, 7, | { } 13 | (gdFontPtr)NULL, 16, 8, | { } 14 | (gdFontPtr)NULL, 15, 9 }; | { } gdc.c: In function 'out_err': gdc.c:284:74: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 284 | IMGWIDTH/2 - GDC_fontc[GDC_MEDBOLD].w*strlen(err_str)/2, | ^~~~~~ gdc.c:8:1: note: include '' or provide a declaration of 'strlen' 7 | #include "gdc.h" +++ |+#include 8 | gdc.c:284:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 284 | IMGWIDTH/2 - GDC_fontc[GDC_MEDBOLD].w*strlen(err_str)/2, | ^~~~~~ gdc.c:284:74: note: include '' or provide a declaration of 'strlen' gdc.c:270:33: warning: variable 'bgclr' set but not used [-Wunused-but-set-variable] 270 | int bgclr; | ^~~~~ In file included from gdc.c:7: gdc.h: At top level: gdc.h:63:33: warning: '_gdccfoo2' defined but not used [-Wunused-variable] 63 | static unsigned long _gdccfoo2; | ^~~~~~~~~ gdc.h:62:49: warning: '_gdccfoo1' defined but not used [-Wunused-variable] 62 | static int _gdccfoo1; | ^~~~~~~~~ make: *** [Makefile:116: gdc.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I/usr/include/ -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdc_pie.c gdc_pie.c: In function 'ocmpr': gdc_pie.c:90:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 90 | if( (a->angle < pie_3D_rad) && (pie_3D_rad < a->slice) || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gdc_pie.c:93:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 93 | if( (b->slice < pie_3D_rad) && (pie_3D_rad < b->angle) || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gdc_pie.c: In function 'GDC_out_pie': gdc_pie.c:202:17: warning: unused variable 'label_explode_limit' [-Wunused-variable] 202 | float label_explode_limit = 0.0; | ^~~~~~~~~~~~~~~~~~~ gdc_pie.c:479:81: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 479 | qsort( tmp_slice, num_slice_angles, sizeof(struct tmp_slice_t), ocmpr ); | ^~~~~ | | | int (*)(struct tmp_slice_t *, struct tmp_slice_t *) In file included from /usr/include/gd.h:4, from gdc.h:27, from gdc_pie.c:17: /usr/include/stdlib.h:979:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(struct tmp_slice_t *, struct tmp_slice_t *)' 979 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ gdc_pie.c:157:33: warning: unused variable 'do3Dy' [-Wunused-variable] 157 | do3Dy = 0; | ^~~~~ gdc_pie.c:156:33: warning: unused variable 'do3Dx' [-Wunused-variable] 156 | int do3Dx = 0, /* reserved for macro use */ | ^~~~~ gdc_pie.c:148:25: warning: unused variable 'any_too_small' [-Wunused-variable] 148 | char any_too_small = FALSE; | ^~~~~~~~~~~~~ gdc_pie.c:147:33: warning: unused variable 'num_slices2' [-Wunused-variable] 147 | num_slices2 = 0; | ^~~~~~~~~~~ gdc_pie.c:146:25: warning: unused variable 'num_slices1' [-Wunused-variable] 146 | short num_slices1 = 0, | ^~~~~~~~~~~ gdc_pie.c:138:25: warning: variable 'pscl' set but not used [-Wunused-but-set-variable] 138 | float pscl; | ^~~~ gdc_pie.c:129:33: warning: variable 'EdgeColor' set but not used [-Wunused-but-set-variable] 129 | EdgeColor, | ^~~~~~~~~ gdc_pie.c:126:33: warning: variable 'BGColor' set but not used [-Wunused-but-set-variable] 126 | int BGColor, | ^~~~~~~ make: *** [Makefile:119: gdc_pie.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -c price_conv.c make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -fno-stack-protector -fcommon -I/usr/include/ -I./ -DHAVE_LIBFREETYPE -DHAVE_JPEG -c gdchart.c In file included from gdc.h:33, from gdchart.c:8: gdchart.c: In function 'draw_3d_line': gdchart.c:66:24: warning: unused variable 'shclr' [-Wunused-variable] 66 | CREATE_ARRAY1( shclr, int, num_sets ); /* int slope[num_sets] */ | ^~~~~ array_alloc.h:34:62: note: in definition of macro 'CREATE_ARRAY1' 34 | #define CREATE_ARRAY1( arr, type, nels ) type arr[ nels ] | ^~~ gdchart.c:65:24: warning: unused variable 'lnclr' [-Wunused-variable] 65 | CREATE_ARRAY1( lnclr, int, num_sets ); /* int slope[num_sets] */ | ^~~~~ array_alloc.h:34:62: note: in definition of macro 'CREATE_ARRAY1' 34 | #define CREATE_ARRAY1( arr, type, nels ) type arr[ nels ] | ^~~ gdchart.c: In function 'GDC_out_graph': gdchart.c:532:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 532 | if( do_vol ) | ^ gdchart.c:582:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 582 | if( uvals[i][j] != GDC_NOVALUE ) | ^ gdchart.c:618:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 618 | if( type == GDC_COMBO_LINE_BAR || | ^ gdchart.c:637:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 637 | if( type == GDC_AREA || /* bars and area should always start at 0 */ | ^ gdchart.c:903:81: warning: "/*" within comment [-Wcomment] 903 | /*???? if( GDC_hard_size && GDC_hard_yorig ) /* vyorig too? */ gdchart.c:951:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 951 | if( bg_img = gdImageCreateFromGif(in) ) /* = */ | ^~~~~~ gdchart.c:1074:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1074 | if( i == -1 ) if( lowest >= 0.0 ) /* all pos plotting */ | ^ gdchart.c:1079:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1079 | if( i == 1 ) if( highest <= 0.0 ) /* all neg plotting */ | ^ gdchart.c:1126:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1126 | if( GDC_yaxis ) | ^ gdchart.c:1305:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1305 | if( i == 0 ) /* catch 3D Y back corner */ | ^ gdchart.c:1479:17: warning: enumeration value 'GDC_STACK_SUM' not handled in switch [-Wswitch] 1479 | switch( GDC_stack_type ) | ^~~~~~ gdchart.c:1572:19: warning: enumeration value 'GDC_STACK_SUM' not handled in switch [-Wswitch] 1572 | switch( GDC_stack_type ) | ^~~~~~ gdchart.c:1572:19: warning: enumeration value 'GDC_STACK_LAYER' not handled in switch [-Wswitch] gdchart.c:1972:60: error: implicit declaration of function 'get_uniq_color' [-Wimplicit-function-declaration] 1972 | long uniq_clr = get_uniq_color( im ); | ^~~~~~~~~~~~~~ gdchart.c:1977:43: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1977 | if( !do_bar ) | ^ gdchart.c:2027:43: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2027 | if( !do_bar ) | ^ gdchart.c:2042:43: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2042 | if( !do_bar ) | ^ gdchart.c:465:33: warning: unused variable 'ThumbUColor' [-Wunused-variable] 465 | ThumbUColor, | ^~~~~~~~~~~ gdchart.c:464:33: warning: unused variable 'ThumbLblColor' [-Wunused-variable] 464 | ThumbLblColor, | ^~~~~~~~~~~~~ gdchart.c:463:33: warning: unused variable 'ThumbDColor' [-Wunused-variable] 463 | ThumbDColor, | ^~~~~~~~~~~ gdchart.c:392:21: warning: unused variable 'volpoly' [-Wunused-variable] 392 | gdPoint volpoly[4]; | ^~~~~~~ gdchart.c:377:39: warning: unused variable 'k' [-Wunused-variable] 377 | int i, j, k; | ^ make: *** [Makefile:122: gdchart.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' error: Bad exit status from /usr/src/tmp/rpm-tmp.95188 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.95188 (%build) Command exited with non-zero status 1 0.30user 0.16system 0:00.18elapsed 255%CPU (0avgtext+0avgdata 24576maxresident)k 0inputs+0outputs (0major+31930minor)pagefaults 0swaps hsh-rebuild: rebuild of `libgdchart-0.11.5-alt1.3.src.rpm' failed. Command exited with non-zero status 1 3.42user 2.70system 0:14.24elapsed 43%CPU (0avgtext+0avgdata 131048maxresident)k 72inputs+0outputs (0major+219484minor)pagefaults 0swaps