<86>Oct 29 17:39:26 userdel[2978700]: delete user 'rooter' <86>Oct 29 17:39:26 userdel[2978700]: removed group 'rooter' owned by 'rooter' <86>Oct 29 17:39:26 userdel[2978700]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 17:39:26 groupadd[2978741]: group added to /etc/group: name=rooter, GID=1814 <86>Oct 29 17:39:26 groupadd[2978741]: group added to /etc/gshadow: name=rooter <86>Oct 29 17:39:26 groupadd[2978741]: new group: name=rooter, GID=1814 <86>Oct 29 17:39:26 useradd[2978774]: new user: name=rooter, UID=1814, GID=1814, home=/root, shell=/bin/bash, from=none <86>Oct 29 17:39:26 userdel[2978810]: delete user 'builder' <86>Oct 29 17:39:26 userdel[2978810]: removed group 'builder' owned by 'builder' <86>Oct 29 17:39:26 userdel[2978810]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 17:39:26 groupadd[2978843]: group added to /etc/group: name=builder, GID=1815 <86>Oct 29 17:39:26 groupadd[2978843]: group added to /etc/gshadow: name=builder <86>Oct 29 17:39:26 groupadd[2978843]: new group: name=builder, GID=1815 <86>Oct 29 17:39:26 useradd[2978870]: new user: name=builder, UID=1815, GID=1815, 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>Oct 29 17:39:30 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Oct 29 17:39:30 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Oct 29 17:39:30 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Oct 29 17:39:30 rpmi: libwebp7-1.4.0-alt1 sisyphus+345159.200.1.1 1713168663 installed <13>Oct 29 17:39:30 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Oct 29 17:39:31 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 29 17:39:31 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Oct 29 17:39:31 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Oct 29 17:39:31 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 29 17:39:31 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Oct 29 17:39:31 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed <13>Oct 29 17:39:31 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Oct 29 17:39:31 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 29 17:39:31 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Oct 29 17:39:31 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Oct 29 17:39:31 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 29 17:39:31 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 29 17:39:31 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Oct 29 17:39:31 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Oct 29 17:39:31 rpmi: libnuma-2.0.18-alt1 sisyphus+358102.100.1.1 1727069613 installed <13>Oct 29 17:39:31 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Oct 29 17:39:31 rpmi: libgdk-pixbuf-locales-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Oct 29 17:39:31 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330316 installed <13>Oct 29 17:39:31 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180089 installed <13>Oct 29 17:39:31 rpmi: libde265-1.0.15-alt1 sisyphus+337190.100.1.1 1703502096 installed <13>Oct 29 17:39:31 rpmi: libaom3-3.9.1-alt2 sisyphus+354446.100.1.1 1722877371 installed <13>Oct 29 17:39:31 rpmi: libpixman-3:0.43.4-alt2 sisyphus+344164.100.1.1 1711987977 installed <13>Oct 29 17:39:31 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 29 17:39:31 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 29 17:39:31 rpmi: libharfbuzz-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 29 17:39:31 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Oct 29 17:39:31 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Oct 29 17:39:31 rpmi: fontconfig-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed Updating fonts cache: <29>Oct 29 17:39:32 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Oct 29 17:39:32 rpmi: libharfbuzz-icu-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 29 17:39:32 rpmi: libharfbuzz-gobject-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 29 17:39:32 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 29 17:39:32 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Oct 29 17:39:32 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 29 17:39:33 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 29 17:39:33 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 29 17:39:33 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Oct 29 17:39:33 rpmi: libcairo-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Oct 29 17:39:34 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 29 17:39:34 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 29 17:39:34 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Oct 29 17:39:34 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 29 17:39:34 rpmi: libharfbuzz-cairo-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 29 17:39:34 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023310 installed <13>Oct 29 17:39:34 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400257 installed <13>Oct 29 17:39:34 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Oct 29 17:39:34 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787316 installed <13>Oct 29 17:39:34 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Oct 29 17:39:34 rpmi: libgio-2.82.1-alt1 sisyphus+358041.200.1.1 1726905885 installed <13>Oct 29 17:39:34 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Oct 29 17:39:34 rpmi: libgdk-pixbuf-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Oct 29 17:39:34 rpmi: libheif-1.18.2-alt1 sisyphus+357135.100.1.1 1725864573 installed <13>Oct 29 17:39:34 rpmi: libgd3-2.3.3-alt2 sisyphus+346221.200.2.1 1716402080 installed <13>Oct 29 17:39:34 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Oct 29 17:39:34 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Oct 29 17:39:34 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Oct 29 17:39:34 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 17:39:34 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Oct 29 17:39:34 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 17:39:34 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 17:39:34 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Oct 29 17:39:34 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Oct 29 17:39:34 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 17:39:34 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 29 17:39:34 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 29 17:39:34 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 17:39:35 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 17:39:35 rpmi: glib2-devel-2.82.1-alt1 sisyphus+358041.200.1.1 1726905885 installed <13>Oct 29 17:39:35 rpmi: libcairo-devel-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Oct 29 17:39:35 rpmi: fontconfig-devel-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Oct 29 17:39:35 rpmi: libfreetype-devel-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Oct 29 17:39:35 rpmi: libharfbuzz-devel-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 29 17:39:35 rpmi: libgd3-devel-2.3.3-alt2 sisyphus+346221.200.2.1 1716402080 installed <13>Oct 29 17:39:35 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.94382 + 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.94382 + 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/lib64@ Makefile + subst 's/^EXTERND//' array_alloc.h gdchart.h gdcpie.h gdc.h + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -fno-stack-protector -fcommon' make: Entering directory '/usr/src/RPM/BUILD/gdchart0.11.5dev' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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 -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 -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 -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 -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 -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.94382 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.94382 (%build) Command exited with non-zero status 1 0.29user 0.17system 0:00.19elapsed 248%CPU (0avgtext+0avgdata 30676maxresident)k 0inputs+0outputs (0major+35150minor)pagefaults 0swaps hsh-rebuild: rebuild of `libgdchart-0.11.5-alt1.3.src.rpm' failed. Command exited with non-zero status 1 3.90user 2.84system 0:14.51elapsed 46%CPU (0avgtext+0avgdata 136196maxresident)k 72inputs+0outputs (0major+221320minor)pagefaults 0swaps