D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/peg-0.1.20-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ccHGGX Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.65nY6C + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + rm -rf peg-0.1.20 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/peg-0.1.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd peg-0.1.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/2001_makefile_configuration.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/2002_examples_fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's|\(^CFLAGS\s\+=.*\)|\1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full|' examples/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vCiqNj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd peg-0.1.20 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'XFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + XFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -g -Wall -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -c -o compile.o src/compile.c gcc -g -Wall -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -c -o tree.o src/tree.c 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[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 'makeInline': src/tree.c:168:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 168 | 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 32 allocated by 'calloc' 44 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ src/tree.c: In function 'makeInline': src/tree.c:169:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 169 | node->inLine.rule= thisRule; | ^~ In function '_newNode', inlined from 'makeInline' at src/tree.c:166: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 'makePredicate' at src/tree.c:181: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:182:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 182 | node->predicate.text= strdup(text); | ^~ In function '_newNode', inlined from 'makePredicate' at src/tree.c:181: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:188: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:189:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 189 | node->error.element= e; | ^~ In function '_newNode', inlined from 'makeError' at src/tree.c:188: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:190:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 190 | node->error.text= strdup(text); | ^~ In function '_newNode', inlined from 'makeError' at src/tree.c:188: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:198:19, inlined from 'makeAlternate' at src/tree.c:194: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:194:7: src/tree.c:202:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 202 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:198:19, inlined from 'makeAlternate' at src/tree.c:194: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:194:7: src/tree.c:201:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 201 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 202 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:198:19, inlined from 'makeAlternate' at src/tree.c:194: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:198:19, inlined from 'makeAlternate' at src/tree.c:194:7, inlined from 'Alternate_append' at src/tree.c:211: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:194:7, inlined from 'Alternate_append' at src/tree.c:211:6: src/tree.c:202:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 202 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:198:19, inlined from 'makeAlternate' at src/tree.c:194:7, inlined from 'Alternate_append' at src/tree.c:211: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:194:7, inlined from 'Alternate_append' at src/tree.c:211:6: src/tree.c:201:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 201 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 202 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at src/tree.c:198:19, inlined from 'makeAlternate' at src/tree.c:194:7, inlined from 'Alternate_append' at src/tree.c:211: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:223:19, inlined from 'makeSequence' at src/tree.c:219: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:219:7: src/tree.c:227:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 227 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:223:19, inlined from 'makeSequence' at src/tree.c:219: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:219:7: src/tree.c:226:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 226 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 227 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:223:19, inlined from 'makeSequence' at src/tree.c:219: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:223:19, inlined from 'makeSequence' at src/tree.c:219:7, inlined from 'Sequence_append' at src/tree.c:236: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:219:7, inlined from 'Sequence_append' at src/tree.c:236:6: src/tree.c:227:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 227 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:223:19, inlined from 'makeSequence' at src/tree.c:219:7, inlined from 'Sequence_append' at src/tree.c:236: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:219:7, inlined from 'Sequence_append' at src/tree.c:236:6: src/tree.c:226:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[32]' [-Warray-bounds=] 226 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 227 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at src/tree.c:223:19, inlined from 'makeSequence' at src/tree.c:219:7, inlined from 'Sequence_append' at src/tree.c:236: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:246: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:247:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 247 | node->peekFor.element= e; | ^~ In function '_newNode', inlined from 'makePeekFor' at src/tree.c:246: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:253: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:254:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 254 | node->peekNot.element= e; | ^~ In function '_newNode', inlined from 'makePeekNot' at src/tree.c:253: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:260: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:261:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 261 | node->query.element= e; | ^~ In function '_newNode', inlined from 'makeQuery' at src/tree.c:260: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:267: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:268:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 268 | node->star.element= e; | ^~ In function '_newNode', inlined from 'makeStar' at src/tree.c:267: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:274: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:275:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds=] 275 | node->plus.element= e; | ^~ In function '_newNode', inlined from 'makePlus' at src/tree.c:274: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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -c -o peg.o src/peg.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/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) | ^~~~~~ gcc -g -Wall -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o peg-new peg.o tree.o compile.o mv peg-new peg gcc -g -Wall -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -c -o leg.o src/leg.c src/leg.leg: In function 'main': src/leg.leg:314:23: warning: too many arguments for format [-Wformat-extra-args] 314 | if (rules) | ^ src/leg.leg: At top level: src/leg.leg:332:16: warning: 'yySet' defined but not used [-Wunused-function] src/leg.leg:331:16: warning: 'yyPop' defined but not used [-Wunused-function] src/leg.leg:320:16: warning: 'yyPush' defined but not used [-Wunused-function] 320 | fprintf(output, "%s\n", trailer); | ^~~~~~ src/leg.leg:305:15: warning: 'yyAccept' defined but not used [-Wunused-function] 305 | Rule_print(n); | ^~~~~~ gcc -g -Wall -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Isrc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o leg-new leg.o tree.o compile.o mv leg-new leg + PATH=..:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + /usr/bin/make -O -j16 V=1 VERBOSE=1 -C examples make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' leg -o localleg.leg.c localleg.leg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o localleg localleg.leg.c ./localleg < localleg.leg | cat > localleg.out diff localleg.ref localleg.out rm -f localleg.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' leg -o wc.leg.c wc.leg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o wc wc.leg.c cat wc.leg | ./wc | cat > wc.out diff wc.ref wc.out rm -f wc.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o accept.peg.c accept.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o accept accept.c echo 'abcbcdabcbcdabcbcdabcbcd' | ./accept | cat > accept.out diff accept.ref accept.out rm -f accept.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o rule.peg.c rule.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rule rule.c echo 'abcbcdabcbcdabcbcdabcbcd' | ./rule | cat > rule.out diff rule.ref rule.out rm -f rule.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o test.peg.c test.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test test.c echo 'ab.ac.ad.ae.afg.afh.afg.afh.afi.afj.' | ./test | cat > test.out diff test.ref test.out rm -f test.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o test.peg.c test.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o localpeg localpeg.c echo 'ab.ac.ad.ae.afg.afh.afg.afh.afi.afj.' | ./localpeg | cat > localpeg.out diff localpeg.ref localpeg.out rm -f localpeg.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' leg -o erract.leg.c erract.leg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o erract erract.leg.c echo '6*9' | ./erract | cat > erract.out diff erract.ref erract.out rm -f erract.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o dc.peg.c dc.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dc dc.c echo ' 2 *3 *(3+ 4) ' | ./dc | cat > dc.out diff dc.ref dc.out rm -f dc.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' peg -o dcv.peg.c dcv.peg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dcv dcv.c echo 'a = 6; b = 7; a * b' | ./dcv | cat > dcv.out diff dcv.ref dcv.out rm -f dcv.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' leg -o calc.leg.c calc.leg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o calc calc.leg.c echo 'a = 6; b = 7; a * b' | ./calc | cat > calc.out diff calc.ref calc.out rm -f calc.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' leg -o basic.leg.c basic.leg gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -O3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o basic basic.leg.c basic.leg: In function 'yy_15_statement': basic.leg:112:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | | 'dir'- { system("ls *.bas"); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ basic.leg: In function 'input': basic.leg:340:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | fgets(line, sizeof(line), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( echo 'load "test"'; echo "run" ) | ./basic | cat > basic.out diff basic.ref basic.out rm -f basic.out make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' + /usr/bin/make -O -j16 V=1 VERBOSE=1 -C examples clean make: Entering directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' rm -f *~ *.o *.[pl]eg.[cd] test rule accept wc dc dcv calc basic localpeg localleg erract rm -rf *.dSYM make: Leaving directory '/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RRRtWX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + mkdir /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd peg-0.1.20 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT 'INSTALL=/usr/bin/install -p' ROOT=/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT PREFIX=/usr mkdir -p /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/bin cp -p peg /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/bin/peg cp -p leg /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/bin/leg mkdir -p /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/man/man1 cp -p src/peg.1 /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/man/man1/peg.1 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.1.20-1.mga10 --unique-debug-suffix -0.1.20-1.mga10.x86_64 --unique-debug-src-base peg-0.1.20-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/peg-0.1.20-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/SPECPARTS/rpm-debuginfo.specpart Processing files: peg-0.1.20-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vgZbk8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + cd peg-0.1.20 + DOCDIR=/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/doc/peg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/doc/peg + cp -pr /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/ChangeLog /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/doc/peg + cp -pr /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/README.txt /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/doc/peg + cp -pr /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/examples /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/doc/peg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Zlw6ed + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + cd peg-0.1.20 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/licenses/peg + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/licenses/peg + cp -pr /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/peg-0.1.20/LICENSE.txt /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT/usr/share/licenses/peg + RPM_EC=0 ++ jobs -p + exit 0 Provides: leg = 0.1.20-1.mga10 leg(x86-64) = 0.1.20-1.mga10 peg = 0.1.20-1.mga10 peg(x86-64) = 0.1.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: peg-debugsource-0.1.20-1.mga10.x86_64 Provides: peg-debugsource = 0.1.20-1.mga10 peg-debugsource(x86-64) = 0.1.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: peg-debuginfo-0.1.20-1.mga10.x86_64 Provides: debuginfo(build-id) = d69e16cc970bd42a005c18219587fd2a0112a190 debuginfo(build-id) = ff8c74aa7f6b27ef573f54d84e115b766d5d9163 peg-debuginfo = 0.1.20-1.mga10 peg-debuginfo(x86-64) = 0.1.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: peg-debugsource(x86-64) = 0.1.20-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/peg-0.1.20-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/peg-debugsource-0.1.20-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/peg-debuginfo-0.1.20-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LdZLkX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + test -d /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + rm -rf /home/pterjan/rpmbuild/BUILD/peg-0.1.20-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!