From https://github.com/archlinux/svntogit-community * branch packages/procstatd -> FETCH_HEAD * [new branch] packages/procstatd -> community/packages/procstatd Cloning into 'procstatd'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 132k 100 132k 0 0 393k 0 --:--:-- --:--:-- --:--:-- 392k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8548k 100 8548k 0 0 20.7M 0 --:--:-- --:--:-- --:--:-- 20.8M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 413k 0 --:--:-- --:--:-- --:--:-- 413k :: Starting full system upgrade... there is nothing to do ==> Making package: procstatd 1.4.2-12 (Sun Jul 30 01:33:10 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading procstatd.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 374 100 374 0 0 1215 0 --:--:-- --:--:-- --:--:-- 1214 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 361 100 361 0 0 155 0 0:00:02 0:00:02 --:--:-- 357 100 76206 100 76206 0 0 30823 0 0:00:02 0:00:02 --:--:-- 30823 -> Found procstatd-Makefile.patch -> Found procstatd-common-symbols.patch ==> Validating source files with sha512sums... procstatd.tar.gz ... Passed procstatd-Makefile.patch ... Passed procstatd-common-symbols.patch ... Passed ==> Extracting sources... -> Extracting procstatd.tar.gz with bsdtar ==> Starting prepare()... patching file Makefile patching file jobslist.c patching file procstatd.c patching file procstatd.h patching file procutils.c patching file quiklist.c patching file senddata.c patching file statlist.c ==> Starting build()... gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o procstatd.o procstatd.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o parsecl.o parsecl.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o parse.o parse.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o statlist.o statlist.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o senddata.o senddata.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o procutils.o procutils.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_stat.o proc_stat.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_loadavg.o proc_loadavg.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_meminfo.o proc_meminfo.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_net_dev.o proc_net_dev.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_sensors.o proc_sensors.c parse.c: In function 'parse': parse.c:50:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 50 | delim[6] = (char) NULL; /* terminator */ | ^ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_lm78.o proc_lm78.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_uptime.o proc_uptime.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o proc_version.o proc_version.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o time.o time.c procstatd.c: In function 'main': procstatd.c:101:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 101 | input_fd = (int) stdin; | ^ procstatd.c:102:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 102 | output_fd = (int) stdout; | ^ procstatd.c:103:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 103 | error_fd = (int) stderr; | ^ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o users.o users.c senddata.c: In function 'print_statlist': senddata.c:73:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 73 | fprintf(stdout,"# interval = %d seconds\n",interval); | ~^ ~~~~~~~~ | | | | int long int | %ld senddata.c: In function 'send_statlist': senddata.c:48:6: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 48 | strncat(outbuf,my_sendbuf,strlen(my_sendbuf)); | ^ senddata.c:48:6: note: length computed here 48 | strncat(outbuf,my_sendbuf,strlen(my_sendbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc_loadavg.c: In function 'init_proc_loadavg': proc_loadavg.c:44:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fgets(statbuf,BUFLEN,stat_fd[PROC_LOADAVG]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc_loadavg.c: In function 'get_proc_loadavg': proc_loadavg.c:87:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | fgets(statbuf,BUFLEN,stat_fd[PROC_LOADAVG]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o identity.o identity.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o ipcstuff.o ipcstuff.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o filestuff.o filestuff.c gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o jobslist.o jobslist.c procutils.c: In function 'sendline': procutils.c:103:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | write(fd,buffer,length); /* So send it */ | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c -o quiklist.o quiklist.c proc_version.c: In function 'init_proc_version': proc_version.c:71:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 71 | delim[6] = (char) NULL; /* terminator */ | ^ proc_version.c:45:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | fgets(statbuf,BUFLEN,stat_fd[PROC_VERSION]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc_uptime.c: In function 'init_proc_uptime': proc_uptime.c:46:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fgets(statbuf,BUFLEN,stat_fd[PROC_UPTIME]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc_uptime.c: In function 'get_proc_uptime': proc_uptime.c:113:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fgets(statbuf,BUFLEN,stat_fd[PROC_UPTIME]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiklist.c: In function 'get_and_send_quiklist': quiklist.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets( outbuf+5, 128, fpp_loadavg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filestuff.c: In function 'init_filestuff': filestuff.c:92:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fgets( data, 1024, stat_fd[FS_CONNECT] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filestuff.c:88:31: warning: '%s' directive writing up to 255 bytes into a region of size 122 [-Wformat-overflow=] 88 | sprintf( ftmp, "/proc/%s/status", procdir->d_name ); | ^~ In file included from /usr/include/stdio.h:906, from procstatd.h:23, from filestuff.c:42: In function 'sprintf', inlined from 'init_filestuff' at filestuff.c:88:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 14 and 269 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ identity.c: In function 'init_identity': identity.c:43:35: warning: '%s' directive writing up to 4095 bytes into a region of size 58 [-Wformat-overflow=] 43 | sprintf(stats[IDENT].name,"ident %s %s",hostname,hostip); /* Label it. */ | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:906, from procstatd.h:23, from identity.c:19: In function 'sprintf', inlined from 'init_identity' at identity.c:43:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 8198 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o procstatd procstatd.o parsecl.o parse.o statlist.o senddata.o procutils.o proc_stat.o proc_loadavg.o proc_meminfo.o proc_net_dev.o proc_sensors.o proc_lm78.o proc_uptime.o proc_version.o time.o users.o identity.o ipcstuff.o filestuff.o jobslist.o quiklist.o ==> Entering fakeroot environment... ==> Starting package()... install -d /tmp/archlinux-ci/procstatd-archlinuxrb-build-OV5BOAmP/procstatd/trunk/pkg/procstatd/usr/bin; \ install -d /tmp/archlinux-ci/procstatd-archlinuxrb-build-OV5BOAmP/procstatd/trunk/pkg/procstatd/usr/share/man/man8; \ install -m 755 procstatd /tmp/archlinux-ci/procstatd-archlinuxrb-build-OV5BOAmP/procstatd/trunk/pkg/procstatd/usr/bin; \ install -m 644 procstatd.8 /tmp/archlinux-ci/procstatd-archlinuxrb-build-OV5BOAmP/procstatd/trunk/pkg/procstatd/usr/share/man/man8 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "procstatd"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: procstatd 1.4.2-12 (Sun Jul 30 01:33:18 2023)