>>> epoch: Building testing/epoch 1.3.0-r2 (using abuild 3.13.0-r5) started Sun, 29 Sep 2024 14:10:26 +0000 >>> epoch: Checking sanity of /home/buildozer/aports/testing/epoch/APKBUILD... >>> epoch: Analyzing dependencies... >>> epoch: Installing for build: build-base (1/1) Installing .makedepends-epoch (20240929.141027) OK: 440 MiB in 111 packages >>> epoch: Cleaning up srcdir >>> epoch: Cleaning up pkgdir >>> epoch: Cleaning up tmpdir >>> epoch: Fetching https://distfiles.alpinelinux.org/distfiles/edge/epoch_1.3.0.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 curl: (22) The requested URL returned error: 404 >>> epoch: Fetching http://universe2.us/epoch_1.3.0.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 100 70681 100 70681 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k >>> epoch: Fetching https://distfiles.alpinelinux.org/distfiles/edge/epoch_1.3.0.tar.gz >>> epoch: Checking sha512sums... epoch_1.3.0.tar.gz: OK epoch.conf: OK >>> epoch: Unpacking /var/cache/distfiles/edge/epoch_1.3.0.tar.gz... Building object files. gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/actions.c ../src/actions.c: In function 'ApplyGlobalEnvVars': ../src/actions.c:990:84: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2015 [-Wformat-truncation=] 990 | snprintf(OutBuf, sizeof OutBuf, "Set global environment variable \"%s\"", Worker->EnvVar); | ^~ ../src/actions.c:990:17: note: 'snprintf' output between 35 and 2082 bytes into a destination of size 2048 990 | snprintf(OutBuf, sizeof OutBuf, "Set global environment variable \"%s\"", Worker->EnvVar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c: In function 'ReexecuteEpoch': ../src/actions.c:549:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 549 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:552:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 552 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:555:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 555 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:558:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 558 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:561:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 561 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:564:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 564 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:567:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 567 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ ../src/actions.c:570:9: warning: 'memcpy' reading 32 bytes from a region of size 8 [-Wstringop-overread] 570 | memcpy(OutBuf + MCodeLength + (HPS++ * sizeof(long)), &OurLong, sizeof HaltParams); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/actions.c:417:23: note: source object 'OurLong' of size 8 417 | unsigned long OurLong; /*Compatibility with 1.1.1 and earlier.*/ | ^~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/config.c ../src/config.c: In function 'GetLineDelim': ../src/config.c:2173:70: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 996 [-Wformat-truncation=] 2173 | snprintf(TmpBuf, 1024, "No parameter for attribute \"%s\".", ObjectInQuestion); | ^~ ~~~~~~~~~~~~~~~~ ../src/config.c:2173:17: note: 'snprintf' output between 31 and 1054 bytes into a destination of size 1024 2173 | snprintf(TmpBuf, 1024, "No parameter for attribute \"%s\".", ObjectInQuestion); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c: In function 'InitConfig': ../src/config.c:19:23: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 1988 [-Wformat-truncation=] 19 | #define CONFIGWARNTXT "CONFIG: " CONSOLE_COLOR_YELLOW "WARNING: " CONSOLE_ENDCOLOR | ^~~~~~~~~~ ../src/config.c:1928:65: note: in expansion of macro 'CONFIGWARNTXT' 1928 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT | ^~~~~~~~~~~~~ ../src/config.c:2100:98: note: format string is defined here 2100 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "No comment terminator at end of config file \"%s\".", CurConfigFile); | ^~ ../src/config.c:1928:33: note: 'snprintf' output 88 or more bytes (assuming 2135) into a destination of size 2048 1928 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1929 | "Unable to lookup requested GROUP \"%s\" for object \"%s\".\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1930 | "Line %u in %s", DelimCurr, CurObj->ObjectID, LineNum, CurConfigFile); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:19:23: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 1989 [-Wformat-truncation=] 19 | #define CONFIGWARNTXT "CONFIG: " CONSOLE_COLOR_YELLOW "WARNING: " CONSOLE_ENDCOLOR | ^~~~~~~~~~ ../src/config.c:1893:65: note: in expansion of macro 'CONFIGWARNTXT' 1893 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT | ^~~~~~~~~~~~~ ../src/config.c:2100:97: note: format string is defined here 2100 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "No comment terminator at end of config file \"%s\".", CurConfigFile); | ^~ ../src/config.c:1893:33: note: 'snprintf' output 87 or more bytes (assuming 2134) into a destination of size 2048 1893 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1894 | "Unable to lookup requested USER \"%s\" for object \"%s\".\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1895 | "Line %u in %s", DelimCurr, CurObj->ObjectID, LineNum, CurConfigFile); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:19:23: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 1965 [-Wformat-truncation=] 19 | #define CONFIGWARNTXT "CONFIG: " CONSOLE_COLOR_YELLOW "WARNING: " CONSOLE_ENDCOLOR | ^~~~~~~~~~ ../src/config.c:1134:65: note: in expansion of macro 'CONFIGWARNTXT' 1134 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "ObjectID contains invalid character. Generating new ID: \"%s\".", DelimCurr); | ^~~~~~~~~~~~~ ../src/config.c:1134:33: note: 'snprintf' output between 86 and 2133 bytes into a destination of size 2048 1134 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "ObjectID contains invalid character. Generating new ID: \"%s\".", DelimCurr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:19:23: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2003 [-Wformat-truncation=] 19 | #define CONFIGWARNTXT "CONFIG: " CONSOLE_COLOR_YELLOW "WARNING: " CONSOLE_ENDCOLOR | ^~~~~~~~~~ ../src/config.c:1144:65: note: in expansion of macro 'CONFIGWARNTXT' 1144 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "Duplicate ObjectID %s detected in config file %s, ignoring.", | ^~~~~~~~~~~~~ ../src/config.c:2100:83: note: format string is defined here 2100 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "No comment terminator at end of config file \"%s\".", CurConfigFile); | ^~ ../src/config.c:1144:33: note: 'snprintf' output 82 or more bytes (assuming 2129) into a destination of size 2048 1144 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "Duplicate ObjectID %s detected in config file %s, ignoring.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1145 | DelimCurr, CurConfigFile); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:1039:94: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2028 [-Wformat-truncation=] 1039 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~ ~~~~~~~~ ../src/config.c:1039:41: note: 'snprintf' output between 48 and 2095 bytes into a destination of size 2048 1039 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:969:94: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2028 [-Wformat-truncation=] 969 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~ ~~~~~~~~ ../src/config.c:969:41: note: 'snprintf' output between 57 and 2104 bytes into a destination of size 2048 969 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:907:94: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2028 [-Wformat-truncation=] 907 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~ ~~~~~~~~ ../src/config.c:907:41: note: 'snprintf' output between 57 and 2104 bytes into a destination of size 2048 907 | snprintf(ErrBuf, sizeof ErrBuf, "Unable to open file %s for attribute %s!", Filename, CurrentAttribute); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:755:70: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 256 [-Wformat-truncation=] 755 | snprintf(Hostname, sizeof Hostname, "%s", DelimCurr); | ^~ ~~~~~~~~~ ../src/config.c:755:33: note: 'snprintf' output between 1 and 2048 bytes into a destination of size 256 755 | snprintf(Hostname, sizeof Hostname, "%s", DelimCurr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:682:67: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 384 [-Wformat-truncation=] 682 | snprintf(CurRunlevel, MAX_DESCRIPT_SIZE, "%s", DelimCurr); | ^~ ~~~~~~~~~ ../src/config.c:682:25: note: 'snprintf' output between 1 and 2048 bytes into a destination of size 384 682 | snprintf(CurRunlevel, MAX_DESCRIPT_SIZE, "%s", DelimCurr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/config.c:17: ../src/epoch.h:31:19: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2037 [-Wformat-truncation=] 31 | #define CONFIGDIR "/etc/epoch/" | ^~~~~~~~~~~~~ ../src/config.c:314:65: note: in expansion of macro 'CONFIGDIR' 314 | snprintf(OutBuf, sizeof OutBuf, CONFIGDIR "%s", DelimCurr); | ^~~~~~~~~ ../src/config.c:314:76: note: format string is defined here 314 | snprintf(OutBuf, sizeof OutBuf, CONFIGDIR "%s", DelimCurr); | ^~ ../src/config.c:314:33: note: 'snprintf' output between 12 and 2059 bytes into a destination of size 2048 314 | snprintf(OutBuf, sizeof OutBuf, CONFIGDIR "%s", DelimCurr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/config.c:19:23: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 1995 [-Wformat-truncation=] 19 | #define CONFIGWARNTXT "CONFIG: " CONSOLE_COLOR_YELLOW "WARNING: " CONSOLE_ENDCOLOR | ^~~~~~~~~~ ../src/config.c:297:65: note: in expansion of macro 'CONFIGWARNTXT' 297 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "Cannot import config file \"%s\", config file limit of %d has been reached!\n" | ^~~~~~~~~~~~~ ../src/config.c:2100:91: note: format string is defined here 2100 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "No comment terminator at end of config file \"%s\".", CurConfigFile); | ^~ ../src/config.c:297:33: note: 'snprintf' output between 123 and 2170 bytes into a destination of size 2048 297 | snprintf(ErrBuf, sizeof ErrBuf, CONFIGWARNTXT "Cannot import config file \"%s\", config file limit of %d has been reached!\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | "Attempting to continue.", DelimCurr, MAX_CONFIG_FILES); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/console.c ../src/console.c: In function 'CompleteStatusReport': ../src/console.c:216:42: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2046 [-Wformat-truncation=] 216 | snprintf(OBuf, sizeof OBuf, "%s (%s)", InReport, StatusReportFormat.StatusFormats[ExitStatus]); | ^~ ../src/console.c:216:9: note: 'snprintf' output 4 or more bytes (assuming 2051) into a destination of size 2048 216 | snprintf(OBuf, sizeof OBuf, "%s (%s)", InReport, StatusReportFormat.StatusFormats[ExitStatus]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/main.c ../src/main.c: In function 'HandleEpochCommand': ../src/main.c:1632:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1632 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OBuf); | ^~ ~~~~ ../src/main.c:1632:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1632 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1633:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1633 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OBuf); | ^~ ~~~~ ../src/main.c:1633:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1633 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1599:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1599 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OBuf); | ^~ ~~~~ ../src/main.c:1599:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1599 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1498:81: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 1498 | snprintf(PossibleResponses[0], sizeof PossibleResponses[0], "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~ ~~~~~~ ../src/main.c:1498:17: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 1498 | snprintf(PossibleResponses[0], sizeof PossibleResponses[0], "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1499:81: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1499 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~ ~~~~~~ ../src/main.c:1499:17: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1499 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1500:81: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1500 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~ ~~~~~~ ../src/main.c:1500:17: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1500 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1441:81: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1441 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~ ~~~~~~ ../src/main.c:1441:17: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1441 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1442:81: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1442 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~ ~~~~~~ ../src/main.c:1442:17: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1442 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1366:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 1366 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~ ~~~~~~ ../src/main.c:1366:25: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 1366 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1367:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1367 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_WARNING, OutBuf); | ^~ ~~~~~~ ../src/main.c:1367:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1367 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_WARNING, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1368:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1368 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~ ~~~~~~ ../src/main.c:1368:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1368 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1369:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1369 | snprintf(PossibleResponses[3], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~ ~~~~~~ ../src/main.c:1369:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1369 | snprintf(PossibleResponses[3], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1131:47: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2039 [-Wformat-truncation=] 1131 | snprintf(Msg, sizeof Msg, "%s %s", ArgIs("merge") ? MEMBUS_CODE_CFMERGE : MEMBUS_CODE_CFUMERGE, FinalArg); | ^~ ~~~~~~~~ ../src/main.c:1131:17: note: 'snprintf' output 9 or more bytes (assuming 2055) into a destination of size 2047 1131 | snprintf(Msg, sizeof Msg, "%s %s", ArgIs("merge") ? MEMBUS_CODE_CFMERGE : MEMBUS_CODE_CFUMERGE, FinalArg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1058:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 1058 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~ ~~~~~~ ../src/main.c:1058:25: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 1058 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1059:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1059 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~ ~~~~~~ ../src/main.c:1059:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1059 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1060:76: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1060 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~ ~~~~~~ ../src/main.c:1060:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1060 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, OutBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c: In function 'main': ../src/main.c:1892:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 1892 | snprintf(PossibleResponses[0], sizeof PossibleResponses[0], "%s %s", MEMBUS_CODE_ACKNOWLEDGED, TmpBuf); | ^~ ~~~~~~ ../src/main.c:1892:25: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 1892 | snprintf(PossibleResponses[0], sizeof PossibleResponses[0], "%s %s", MEMBUS_CODE_ACKNOWLEDGED, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1893:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1893 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, TmpBuf); | ^~ ~~~~~~ ../src/main.c:1893:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1893 | snprintf(PossibleResponses[1], sizeof PossibleResponses[1], "%s %s", MEMBUS_CODE_FAILURE, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:1894:89: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1894 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, TmpBuf); | ^~ ~~~~~~ ../src/main.c:1894:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1894 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", MEMBUS_CODE_BADPARAM, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/membus.c ../src/membus.c: In function 'ParseMemBus': ../src/membus.c:653:37: warning: comparison between pointer and zero character constant [-Wpointer-compare] 653 | if ((Worker += Inc) == '\0') | ^~ ../src/membus.c:653:21: note: did you mean to dereference the pointer? 653 | if ((Worker += Inc) == '\0') | ^ ../src/membus.c:723:33: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 723 | strncat(RunlevelText, " ", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:1047:53: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 1047 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:1047:17: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 1047 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:1000:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 1000 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:1000:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 1000 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:1025:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 1025 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MCode, BusData); | ^~ ~~~~~~~ ../src/membus.c:1025:25: note: 'snprintf' output 4 or more bytes (assuming 2050) into a destination of size 2047 1025 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MCode, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:985:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 985 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~ ~~~~~~~ ../src/membus.c:985:33: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 985 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:981:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 981 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:981:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 981 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:969:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 969 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:969:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 969 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:961:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 961 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:961:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 961 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:941:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 941 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:941:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 941 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:933:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 933 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:933:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 933 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:850:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 850 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~ ~~~~~~~ ../src/membus.c:850:25: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 850 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:837:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 837 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:837:33: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 837 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:825:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 825 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:825:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 825 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:869:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 869 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:869:33: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 869 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:697:77: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 697 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:697:41: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 697 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/membus.c:22: ../src/epoch.h:108:29: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 108 | #define MEMBUS_CODE_FAILURE "FAIL" | ^~~~~~ ../src/membus.c:690:73: note: in expansion of macro 'MEMBUS_CODE_FAILURE' 690 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~ ../src/epoch.h:117:28: note: format string is defined here 117 | #define MEMBUS_CODE_CADON "CADON" | ^~ ../src/membus.c:690:41: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 690 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/epoch.h:108:29: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 108 | #define MEMBUS_CODE_FAILURE "FAIL" | ^~~~~~ ../src/membus.c:759:65: note: in expansion of macro 'MEMBUS_CODE_FAILURE' 759 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~ ../src/epoch.h:117:28: note: format string is defined here 117 | #define MEMBUS_CODE_CADON "CADON" | ^~ ../src/membus.c:759:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 759 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/epoch.h:108:29: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 108 | #define MEMBUS_CODE_FAILURE "FAIL" | ^~~~~~ ../src/membus.c:744:73: note: in expansion of macro 'MEMBUS_CODE_FAILURE' 744 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~ ../src/epoch.h:117:28: note: format string is defined here 117 | #define MEMBUS_CODE_CADON "CADON" | ^~ ../src/membus.c:744:41: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 744 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_FAILURE " %s", BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/epoch.h:106:34: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 106 | #define MEMBUS_CODE_ACKNOWLEDGED "OK" | ^~~~ ../src/membus.c:768:49: note: in expansion of macro 'MEMBUS_CODE_ACKNOWLEDGED' 768 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_ACKNOWLEDGED " %s", BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/epoch.h:117:28: note: format string is defined here 117 | #define MEMBUS_CODE_CADON "CADON" | ^~ ../src/membus.c:768:17: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 768 | snprintf(OutBuf, sizeof OutBuf, MEMBUS_CODE_ACKNOWLEDGED " %s", BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:669:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 669 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:669:25: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 669 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:655:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 655 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:655:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 655 | snprintf(OutBuf, sizeof OutBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:589:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 589 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:589:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 589 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:568:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 568 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_WARNING, BusData); | ^~ ~~~~~~~ ../src/membus.c:568:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 568 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_WARNING, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:565:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 565 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~ ~~~~~~~ ../src/membus.c:565:33: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 565 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:571:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 571 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:571:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 571 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:574:69: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 574 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~ ~~~~~~~ ../src/membus.c:574:33: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 574 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_FAILURE, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:545:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 545 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:545:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 545 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/membus.c:348:61: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 348 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~ ~~~~~~~ ../src/membus.c:348:25: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 348 | snprintf(TmpBuf, sizeof TmpBuf, "%s %s", MEMBUS_CODE_BADPARAM, BusData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/modes.c ../src/modes.c: In function 'EmulWall': ../src/modes.c:218:66: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 218 | strncpy(OurHostname, "(unknown)", sizeof "(unknown)"); | ^~~~~~~~~~~ ../src/modes.c: In function 'ObjControl': ../src/modes.c:110:73: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 110 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", | ^~ 111 | MEMBUS_CODE_BADPARAM, OutMsg); | ~~~~~~ ../src/modes.c:110:9: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 110 | snprintf(PossibleResponses[2], sizeof PossibleResponses[2], "%s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | MEMBUS_CODE_BADPARAM, OutMsg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/modes.c: In function 'EmulWall': ../src/modes.c:210:51: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size between 6 and 51 [-Wformat-truncation=] 210 | snprintf(OutBuf, 64, "\007\n%s[%s:%s:%s | %s-%s-%s]%s ", CONSOLE_COLOR_RED, HMS[0], HMS[1], HMS[2], | ^~ 211 | MDY[0], MDY[1], MDY[2], CONSOLE_ENDCOLOR); | ~~~~~~ ../src/modes.c:210:9: note: 'snprintf' output between 22 and 112 bytes into a destination of size 64 210 | snprintf(OutBuf, 64, "\007\n%s[%s:%s:%s | %s-%s-%s]%s ", CONSOLE_COLOR_RED, HMS[0], HMS[1], HMS[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | MDY[0], MDY[1], MDY[2], CONSOLE_ENDCOLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/modes.c: In function 'EmulShutdown': ../src/modes.c:423:60: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2044 [-Wformat-truncation=] 423 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, TmpBuf); | ^~ ~~~~~~ ../src/modes.c:423:9: note: 'snprintf' output between 4 and 2050 bytes into a destination of size 2047 423 | snprintf(PossibleResponses[0], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_ACKNOWLEDGED, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/modes.c:424:60: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2042 [-Wformat-truncation=] 424 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, TmpBuf); | ^~ ~~~~~~ ../src/modes.c:424:9: note: 'snprintf' output between 6 and 2052 bytes into a destination of size 2047 424 | snprintf(PossibleResponses[1], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_FAILURE, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/modes.c:425:60: warning: '%s' directive output may be truncated writing up to 2046 bytes into a region of size 2038 [-Wformat-truncation=] 425 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, TmpBuf); | ^~ ~~~~~~ ../src/modes.c:425:9: note: 'snprintf' output between 10 and 2056 bytes into a destination of size 2047 425 | snprintf(PossibleResponses[2], MEMBUS_MSGSIZE, "%s %s", MEMBUS_CODE_BADPARAM, TmpBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/parse.c ../src/parse.c: In function 'ProcessConfigObject': ../src/parse.c:687:108: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2030 [-Wformat-truncation=] 687 | snprintf(ErrBuf, sizeof ErrBuf, "Bad signal number %s for Object %s calling Epoch's killall5 via KILLALL5." | ^~ 688 | "The signal must be an integer.", RealArg, CurObj->ObjectID); | ~~~~~~~ ../src/parse.c:687:57: note: 'snprintf' output 100 or more bytes (assuming 2147) into a destination of size 2048 687 | snprintf(ErrBuf, sizeof ErrBuf, "Bad signal number %s for Object %s calling Epoch's killall5 via KILLALL5." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 688 | "The signal must be an integer.", RealArg, CurObj->ObjectID); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -c ../src/utilfuncs.c Building main executable. gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_EXECINFO -std=gnu99 -pedantic -Wall -g -O0 -fstack-protector -o ../built/sbin/epoch actions.o config.o console.o main.o membus.o modes.o parse.o utilfuncs.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs Creating symlinks. ln -s -f ./epoch init ln -s -f ./epoch halt ln -s -f ./epoch poweroff ln -s -f ./epoch reboot ln -s -f ./epoch shutdown ln -s -f ./epoch killall5 ln -s -f ../sbin/epoch wall Build complete. >>> epoch: Entering fakeroot... >>> epoch*: Running postcheck for epoch >>> epoch*: Preparing package epoch... >>> epoch*: Stripping binaries >>> epoch*: Scanning shared objects >>> epoch*: Tracing dependencies... so:libc.musl-aarch64.so.1 >>> epoch*: Package size: 236.0 KB >>> epoch*: Compressing data... >>> epoch*: Create checksum... >>> epoch*: Create epoch-1.3.0-r2.apk >>> epoch: Build complete at Sun, 29 Sep 2024 14:10:29 +0000 elapsed time 0h 0m 3s >>> epoch: Cleaning up srcdir >>> epoch: Cleaning up pkgdir >>> epoch: Uninstalling dependencies... (1/1) Purging .makedepends-epoch (20240929.141027) OK: 440 MiB in 110 packages >>> epoch: Updating the testing/aarch64 repository index... >>> epoch: Signing the index...