>>> peg: Building testing/peg 0.1.18-r1 (using abuild 3.13.0-r5) started Sat, 21 Sep 2024 06:53:22 +0000 >>> peg: Checking sanity of /home/buildozer/aports/testing/peg/APKBUILD... >>> peg: Analyzing dependencies... >>> peg: Installing for build: build-base (1/1) Installing .makedepends-peg (20240921.065336) OK: 251 MiB in 104 packages >>> peg: Cleaning up srcdir >>> peg: Cleaning up pkgdir >>> peg: Cleaning up tmpdir >>> peg: Fetching https://distfiles.alpinelinux.org/distfiles/edge/peg-0.1.18.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 >>> peg: Fetching https://www.piumarta.com/software/peg/peg-0.1.18.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 0 57776 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 28 57776 28 16384 0 0 6675 0 0:00:08 0:00:02 0:00:06 6673 85 57776 85 49152 0 0 15489 0 0:00:03 0:00:03 --:--:-- 15490 100 57776 100 57776 0 0 16972 0 0:00:03 0:00:03 --:--:-- 16972 >>> peg: Fetching https://distfiles.alpinelinux.org/distfiles/edge/peg-0.1.18.tar.gz >>> peg: Checking sha512sums... peg-0.1.18.tar.gz: OK >>> peg: Unpacking /var/cache/distfiles/peg-0.1.18.tar.gz... gcc -g -Wall -O3 -DNDEBUG -Isrc -c -o peg.o src/peg.c gcc -g -Wall -O3 -DNDEBUG -Isrc -c -o tree.o src/tree.c gcc -g -Wall -O3 -DNDEBUG -Isrc -c -o compile.o src/compile.c gcc -g -Wall -O3 -DNDEBUG -Isrc -c -o leg.o src/leg.c In file included from src/peg.c:49: src/peg.peg-c: In function 'yy_Sequence': src/peg.peg-c:380:3: warning: label 'l77' defined but not used [-Wunused-label] 380 | #define __ yy->__ | ^~~ src/leg.leg: In function 'main': src/leg.leg:314:23: warning: too many arguments for format [-Wformat-extra-args] 314 | fprintf(output, "#line %i \"%s\"\n", trailerLine, fileName, trailer); | ^~~~~~~~~~~~~~~~~~~ src/peg.peg-c: At top level: src/peg.peg-c:269:16: warning: 'yySet' defined but not used [-Wunused-function] 269 | YY_LOCAL(void) yySet(yycontext *yy, char *text, int count) { yy->__val[count]= yy->__; } | ^~~~~ src/peg.peg-c:268:16: warning: 'yyPop' defined but not used [-Wunused-function] 268 | YY_LOCAL(void) yyPop(yycontext *yy, char *text, int count) { yy->__val -= count; } | ^~~~~ src/peg.peg-c:257:16: warning: 'yyPush' defined but not used [-Wunused-function] 257 | YY_LOCAL(void) yyPush(yycontext *yy, char *text, int count) | ^~~~~~ src/leg.leg: At top level: src/leg.leg:329:16: warning: 'yySet' defined but not used [-Wunused-function] src/leg.leg:328:16: warning: 'yyPop' defined but not used [-Wunused-function] src/leg.leg:317:16: warning: 'yyPush' defined but not used [-Wunused-function] 317 | | ^ src/leg.leg:302:15: warning: 'yyAccept' defined but not used [-Wunused-function] 302 | Rule_print(n); | ^~~~~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeRule': src/tree.c:54:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 54 | node->rule.name= strdup(name); | ^~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeRule': src/tree.c:55:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 55 | node->rule.id= ++ruleCount; | ^~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeRule': src/tree.c:56:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 56 | node->rule.flags= 0; | ^~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeRule': src/tree.c:57:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 57 | node->rule.next= rules; | ^~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15, inlined from 'findRule' at src/tree.c:73:10: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeRule', inlined from 'findRule' at src/tree.c:73:10: src/tree.c:54:18: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 54 | node->rule.name= strdup(name); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15, inlined from 'findRule' at src/tree.c:73:10: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeRule', inlined from 'findRule' at src/tree.c:73:10: src/tree.c:55:16: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 55 | node->rule.id= ++ruleCount; | ~~~~~~~~~~~~~^~~~~~~~~~~~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15, inlined from 'findRule' at src/tree.c:73:10: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeRule', inlined from 'findRule' at src/tree.c:73:10: src/tree.c:56:19: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 56 | node->rule.flags= 0; | ~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15, inlined from 'findRule' at src/tree.c:73:10: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeRule', inlined from 'findRule' at src/tree.c:73:10: src/tree.c:57:18: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[48]' [-Warray-bounds=] 57 | node->rule.next= rules; | ~~~~~~~~~~~~~~~^~~~~~~ In function '_newNode', inlined from 'makeRule' at src/tree.c:53:15, inlined from 'findRule' at src/tree.c:73:10: src/tree.c:44:15: note: object of size 48 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeVariable' at src/tree.c:101:9: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[40]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 40 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeVariable': src/tree.c:102:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[40]' [-Warray-bounds=] 102 | node->variable.name= strdup(name); | ^~ In function '_newNode', inlined from 'makeVariable' at src/tree.c:101:9: src/tree.c:44:15: note: object of size 40 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeVariable': src/tree.c:103:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[40]' [-Warray-bounds=] 103 | node->variable.next= thisRule->rule.variables; | ^~ In function '_newNode', inlined from 'makeVariable' at src/tree.c:101:9: src/tree.c:44:15: note: object of size 40 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeName' at src/tree.c:110:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeName': src/tree.c:111:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 111 | node->name.rule= rule; | ^~ In function '_newNode', inlined from 'makeName' at src/tree.c:110:15: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeName': src/tree.c:112:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 112 | node->name.variable= 0; | ^~ In function '_newNode', inlined from 'makeName' at src/tree.c:110:15: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeDot' at src/tree.c:119:10: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 16 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeCharacter' at src/tree.c:124:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeCharacter': src/tree.c:125:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 125 | node->character.value= strdup(text); | ^~ In function '_newNode', inlined from 'makeCharacter' at src/tree.c:124:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeString' at src/tree.c:131:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeString': src/tree.c:132:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 132 | node->string.value= strdup(text); | ^~ In function '_newNode', inlined from 'makeString' at src/tree.c:131:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeClass' at src/tree.c:138:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeClass': src/tree.c:139:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 139 | node->cclass.value= (unsigned char *)strdup(text); | ^~ In function '_newNode', inlined from 'makeClass' at src/tree.c:138:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeInline' at src/tree.c:166:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeInline': src/tree.c:167:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 167 | node->inLine.text= strdup(text); | ^~ In function '_newNode', inlined from 'makeInline' at src/tree.c:166:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePredicate' at src/tree.c:173:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makePredicate': src/tree.c:174:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 174 | node->predicate.text= strdup(text); | ^~ In function '_newNode', inlined from 'makePredicate' at src/tree.c:173:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeError' at src/tree.c:180:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeError': src/tree.c:181:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 181 | node->error.element= e; | ^~ In function '_newNode', inlined from 'makeError' at src/tree.c:180:15: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeError': src/tree.c:182:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 182 | node->error.text= strdup(text); | ^~ In function '_newNode', inlined from 'makeError' at src/tree.c:180:15: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at src/tree.c:186:7: src/tree.c:194:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 194 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at src/tree.c:186:7: src/tree.c:193:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 193 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 194 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7, inlined from 'Alternate_append' at src/tree.c:203:6: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at src/tree.c:186:7, inlined from 'Alternate_append' at src/tree.c:203:6: src/tree.c:194:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 194 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7, inlined from 'Alternate_append' at src/tree.c:203:6: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at src/tree.c:186:7, inlined from 'Alternate_append' at src/tree.c:203:6: src/tree.c:193:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 193 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 194 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:190:19, inlined from 'makeAlternate' at src/tree.c:186:7, inlined from 'Alternate_append' at src/tree.c:203:6: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at src/tree.c:211:7: src/tree.c:219:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 219 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at src/tree.c:211:7: src/tree.c:218:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 218 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 219 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7, inlined from 'Sequence_append' at src/tree.c:228:6: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at src/tree.c:211:7, inlined from 'Sequence_append' at src/tree.c:228:6: src/tree.c:219:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 219 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7, inlined from 'Sequence_append' at src/tree.c:228:6: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at src/tree.c:211:7, inlined from 'Sequence_append' at src/tree.c:228:6: src/tree.c:218:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 218 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 219 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:215:19, inlined from 'makeSequence' at src/tree.c:211:7, inlined from 'Sequence_append' at src/tree.c:228:6: src/tree.c:44:15: note: object of size 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePeekFor' at src/tree.c:238:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makePeekFor': src/tree.c:239:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 239 | node->peekFor.element= e; | ^~ In function '_newNode', inlined from 'makePeekFor' at src/tree.c:238:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePeekNot' at src/tree.c:245:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makePeekNot': src/tree.c:246:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 246 | node->peekNot.element= e; | ^~ In function '_newNode', inlined from 'makePeekNot' at src/tree.c:245:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeQuery' at src/tree.c:252:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeQuery': src/tree.c:253:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 253 | node->query.element= e; | ^~ In function '_newNode', inlined from 'makeQuery' at src/tree.c:252:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeStar' at src/tree.c:259:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeStar': src/tree.c:260:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 260 | node->star.element= e; | ^~ In function '_newNode', inlined from 'makeStar' at src/tree.c:259:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePlus' at src/tree.c:266:15: src/tree.c:45:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 45 | node->type= type; | ~~~~~~~~~~^~~~~~ src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makePlus': src/tree.c:267:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 267 | node->plus.element= e; | ^~ In function '_newNode', inlined from 'makePlus' at src/tree.c:266:15: src/tree.c:44:15: note: object of size 24 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ gcc -g -Wall -O3 -DNDEBUG -Isrc -o peg-new peg.o tree.o compile.o mv peg-new peg gcc -g -Wall -O3 -DNDEBUG -Isrc -o leg-new leg.o tree.o compile.o mv leg-new leg ./peg -o peg.peg-c src/peg.peg ./leg -o leg.c src/leg.leg diff src/peg.peg-c peg.peg-c diff src/leg.c leg.c >>> peg: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/peg/pkg/peg/usr/bin cp -p peg /home/buildozer/aports/testing/peg/pkg/peg/usr/bin/peg strip /home/buildozer/aports/testing/peg/pkg/peg/usr/bin/peg cp -p leg /home/buildozer/aports/testing/peg/pkg/peg/usr/bin/leg strip /home/buildozer/aports/testing/peg/pkg/peg/usr/bin/leg mkdir -p /home/buildozer/aports/testing/peg/pkg/peg/usr/share/man/man1 cp -p src/peg.1 /home/buildozer/aports/testing/peg/pkg/peg/usr/share/man/man1/peg.1 >>> peg-doc*: Running split function doc... >>> peg-doc*: Preparing subpackage peg-doc... >>> peg-doc*: Running postcheck for peg-doc >>> peg*: Running postcheck for peg >>> peg*: Preparing package peg... >>> peg*: Stripping binaries >>> peg-doc*: Scanning shared objects >>> peg*: Scanning shared objects >>> peg-doc*: Tracing dependencies... >>> peg-doc*: Package size: 32.0 KB >>> peg-doc*: Compressing data... >>> peg-doc*: Create checksum... >>> peg-doc*: Create peg-doc-0.1.18-r1.apk >>> peg*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> peg*: Package size: 132.0 KB >>> peg*: Compressing data... >>> peg*: Create checksum... >>> peg*: Create peg-0.1.18-r1.apk >>> peg: Build complete at Sat, 21 Sep 2024 06:53:42 +0000 elapsed time 0h 0m 20s >>> peg: Cleaning up srcdir >>> peg: Cleaning up pkgdir >>> peg: Uninstalling dependencies... (1/1) Purging .makedepends-peg (20240921.065336) OK: 251 MiB in 103 packages >>> peg: Updating the testing/loongarch64 repository index... >>> peg: Signing the index...