>>> lua-discount: Building main/lua-discount 1.2.10.1-r6 (using abuild 3.9.0-r0) started Wed, 13 Apr 2022 16:09:58 +0000 >>> lua-discount: Checking sanity of /home/buildozer/aports/main/lua-discount/APKBUILD... >>> lua-discount: Analyzing dependencies... >>> lua-discount: Installing for build: build-base lua5.1-dev lua5.2-dev lua5.3-dev lua5.4-dev (1/15) Installing lua5.1-libs (5.1.5-r10) (2/15) Installing lua5.1 (5.1.5-r10) (3/15) Installing lua5.1-dev (5.1.5-r10) (4/15) Installing lua5.2-dev (5.2.4-r9) (5/15) Installing linenoise (1.0-r1) (6/15) Installing lua5.3-libs (5.3.6-r3) (7/15) Installing lua5.3 (5.3.6-r3) (8/15) Installing lua5.3-dev (5.3.6-r3) (9/15) Installing lua5.4-libs (5.4.4-r2) (10/15) Installing ncurses-terminfo-base (6.3_p20220402-r0) (11/15) Installing ncurses-libs (6.3_p20220402-r0) (12/15) Installing readline (8.1.2-r0) (13/15) Installing lua5.4 (5.4.4-r2) (14/15) Installing lua5.4-dev (5.4.4-r2) (15/15) Installing .makedepends-lua-discount (20220413.161003) Executing busybox-1.35.0-r8.trigger OK: 259 MiB in 100 packages >>> lua-discount: Cleaning up srcdir >>> lua-discount: Cleaning up pkgdir >>> lua-discount: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/lua-discount-1.2.10.1.tar.gz >>> lua-discount: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/lua-discount-1.2.10.1.tar.gz >>> lua-discount: Checking sha512sums... lua-discount-1.2.10.1.tar.gz: OK >>> lua-discount: Unpacking /var/cache/distfiles/v3.16/lua-discount-1.2.10.1.tar.gz... gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o docheader.o docheader.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o dumptree.o dumptree.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o generate.o generate.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o markdown.o markdown.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o mkdio.o mkdio.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o resource.o resource.c gcc -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o ldiscount.o ldiscount.c In file included from generate.c:16: generate.c: In function 'push': cstring.h:20:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:43:9: note: in expansion of macro 'EXPAND' 43 | EXPAND(f->in) = *bfr++; | ^~~~~~ In file included from mkdio.c:13: mkdio.c: In function 'queue': cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:57:17: note: in expansion of macro 'EXPAND' 57 | EXPAND(p->text) = ' '; | ^~~~~~ generate.c: In function 'Qchar': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:101:16: note: in expansion of macro 'EXPAND' 101 | cur = &EXPAND(f->Q); | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:61:13: note: in expansion of macro 'EXPAND' 61 | EXPAND(p->text) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:108:5: note: in expansion of macro 'EXPAND' 108 | EXPAND(cur->b_text) = c; | ^~~~~~ generate.c: In function 'Qem': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:153:17: note: in expansion of macro 'EXPAND' 153 | block *p = &EXPAND(f->Q); | ^~~~~~ mkdio.c: In function 'populate': cstring.h:20:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:117:13: note: in expansion of macro 'EXPAND' 117 | EXPAND(line) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:160:13: note: in expansion of macro 'EXPAND' 160 | memset(&EXPAND(f->Q), 0, sizeof(block)); | ^~~~~~ markdown.c: In function 'isopentag': markdown.c:151:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 151 | if ( ret = bsearch(&key,blocktags,SZTAGS,sizeof key, (stfu)casort)) | ^~~ In file included from markdown.h:4, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:20:30: warning: operation on 'sp->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ dumptree.c:41:24: note: in expansion of macro 'EXPAND' 41 | struct frame *q = &EXPAND(*sp); | ^~~~~~ generate.c: In function 'emmatch': cstring.h:20:30: warning: operation on 'start->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:246:17: note: in expansion of macro 'EXPAND' 246 | EXPAND(start->b_text) = start->b_char; | ^~~~~~ generate.c: In function 'reparse': cstring.h:20:30: warning: operation on 'sub.in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:289:5: note: in expansion of macro 'EXPAND' 289 | EXPAND(sub.in) = 0; | ^~~~~~ ldiscount.c: In function 'ldiscount': ldiscount.c:110:20: warning: passing argument 1 of 'mkd_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | doc = mkd_string(str, len, MKD_TABSTOP|MKD_NOHEADER); | ^~~ In file included from ldiscount.c:7: markdown.h:108:29: note: expected 'char *' but argument is of type 'const char *' 108 | extern Document *mkd_string(char*,int, int); | ^~~~~ markdown.c: In function 'listblock': markdown.c:623:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | if ( para = (q != text) ) { | ^~~~ In file included from markdown.c:16: markdown.c: In function 'addfootnote': cstring.h:20:30: warning: operation on 'f->footnotes->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:660:23: note: in expansion of macro 'EXPAND' 660 | Footnote *foot = &EXPAND(*f->footnotes); | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:668:9: note: in expansion of macro 'EXPAND' 668 | EXPAND(foot->tag) = T(p->text)[j]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:670:5: note: in expansion of macro 'EXPAND' 670 | EXPAND(foot->tag) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:675:9: note: in expansion of macro 'EXPAND' 675 | EXPAND(foot->link) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:676:5: note: in expansion of macro 'EXPAND' 676 | EXPAND(foot->link) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:703:13: note: in expansion of macro 'EXPAND' 703 | EXPAND(foot->title) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:709:9: note: in expansion of macro 'EXPAND' 709 | EXPAND(foot->title) = 0; | ^~~~~~ gcc -o discount.so -shared docheader.o dumptree.o generate.o markdown.o mkdio.o resource.o ldiscount.o gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o docheader.o docheader.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o generate.o generate.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o markdown.o markdown.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o resource.o resource.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o ldiscount.o ldiscount.c In file included from generate.c:16: generate.c: In function 'push': cstring.h:20:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:43:9: note: in expansion of macro 'EXPAND' 43 | EXPAND(f->in) = *bfr++; | ^~~~~~ generate.c: In function 'Qchar': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:101:16: note: in expansion of macro 'EXPAND' 101 | cur = &EXPAND(f->Q); | ^~~~~~ In file included from markdown.h:4, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:20:30: warning: operation on 'sp->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ dumptree.c:41:24: note: in expansion of macro 'EXPAND' 41 | struct frame *q = &EXPAND(*sp); | ^~~~~~ cstring.h:20:30: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:108:5: note: in expansion of macro 'EXPAND' 108 | EXPAND(cur->b_text) = c; | ^~~~~~ generate.c: In function 'Qem': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:153:17: note: in expansion of macro 'EXPAND' 153 | block *p = &EXPAND(f->Q); | ^~~~~~ cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:160:13: note: in expansion of macro 'EXPAND' 160 | memset(&EXPAND(f->Q), 0, sizeof(block)); | ^~~~~~ In file included from mkdio.c:13: mkdio.c: In function 'queue': cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:57:17: note: in expansion of macro 'EXPAND' 57 | EXPAND(p->text) = ' '; | ^~~~~~ markdown.c: In function 'isopentag': markdown.c:151:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 151 | if ( ret = bsearch(&key,blocktags,SZTAGS,sizeof key, (stfu)casort)) | ^~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:61:13: note: in expansion of macro 'EXPAND' 61 | EXPAND(p->text) = c; | ^~~~~~ ldiscount.c: In function 'ldiscount': ldiscount.c:110:20: warning: passing argument 1 of 'mkd_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | doc = mkd_string(str, len, MKD_TABSTOP|MKD_NOHEADER); | ^~~ In file included from ldiscount.c:7: markdown.h:108:29: note: expected 'char *' but argument is of type 'const char *' 108 | extern Document *mkd_string(char*,int, int); | ^~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ generate.c: In function 'emmatch': cstring.h:20:30: warning: operation on 'start->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:246:17: note: in expansion of macro 'EXPAND' 246 | EXPAND(start->b_text) = start->b_char; | ^~~~~~ mkdio.c: In function 'populate': cstring.h:20:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:117:13: note: in expansion of macro 'EXPAND' 117 | EXPAND(line) = c; | ^~~~~~ generate.c: In function 'reparse': cstring.h:20:30: warning: operation on 'sub.in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:289:5: note: in expansion of macro 'EXPAND' 289 | EXPAND(sub.in) = 0; | ^~~~~~ markdown.c: In function 'listblock': markdown.c:623:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | if ( para = (q != text) ) { | ^~~~ In file included from markdown.c:16: markdown.c: In function 'addfootnote': cstring.h:20:30: warning: operation on 'f->footnotes->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:660:23: note: in expansion of macro 'EXPAND' 660 | Footnote *foot = &EXPAND(*f->footnotes); | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:668:9: note: in expansion of macro 'EXPAND' 668 | EXPAND(foot->tag) = T(p->text)[j]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:670:5: note: in expansion of macro 'EXPAND' 670 | EXPAND(foot->tag) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:675:9: note: in expansion of macro 'EXPAND' 675 | EXPAND(foot->link) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:676:5: note: in expansion of macro 'EXPAND' 676 | EXPAND(foot->link) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:703:13: note: in expansion of macro 'EXPAND' 703 | EXPAND(foot->title) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:709:9: note: in expansion of macro 'EXPAND' 709 | EXPAND(foot->title) = 0; | ^~~~~~ gcc -o discount.so -shared docheader.o dumptree.o generate.o markdown.o mkdio.o resource.o ldiscount.o gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o docheader.o docheader.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o generate.o generate.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o markdown.o markdown.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o resource.o resource.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o ldiscount.o ldiscount.c In file included from mkdio.c:13: mkdio.c: In function 'queue': cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:57:17: note: in expansion of macro 'EXPAND' 57 | EXPAND(p->text) = ' '; | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:61:13: note: in expansion of macro 'EXPAND' 61 | EXPAND(p->text) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ In file included from markdown.h:4, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:20:30: warning: operation on 'sp->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ dumptree.c:41:24: note: in expansion of macro 'EXPAND' 41 | struct frame *q = &EXPAND(*sp); | ^~~~~~ mkdio.c: In function 'populate': cstring.h:20:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:117:13: note: in expansion of macro 'EXPAND' 117 | EXPAND(line) = c; | ^~~~~~ ldiscount.c: In function 'ldiscount': ldiscount.c:110:20: warning: passing argument 1 of 'mkd_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | doc = mkd_string(str, len, MKD_TABSTOP|MKD_NOHEADER); | ^~~ In file included from ldiscount.c:7: markdown.h:108:29: note: expected 'char *' but argument is of type 'const char *' 108 | extern Document *mkd_string(char*,int, int); | ^~~~~ In file included from generate.c:16: generate.c: In function 'push': cstring.h:20:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:43:9: note: in expansion of macro 'EXPAND' 43 | EXPAND(f->in) = *bfr++; | ^~~~~~ markdown.c: In function 'isopentag': markdown.c:151:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 151 | if ( ret = bsearch(&key,blocktags,SZTAGS,sizeof key, (stfu)casort)) | ^~~ generate.c: In function 'Qchar': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:101:16: note: in expansion of macro 'EXPAND' 101 | cur = &EXPAND(f->Q); | ^~~~~~ cstring.h:20:30: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:108:5: note: in expansion of macro 'EXPAND' 108 | EXPAND(cur->b_text) = c; | ^~~~~~ generate.c: In function 'Qem': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:153:17: note: in expansion of macro 'EXPAND' 153 | block *p = &EXPAND(f->Q); | ^~~~~~ cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:160:13: note: in expansion of macro 'EXPAND' 160 | memset(&EXPAND(f->Q), 0, sizeof(block)); | ^~~~~~ markdown.c: In function 'listblock': markdown.c:623:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | if ( para = (q != text) ) { | ^~~~ generate.c: In function 'emmatch': cstring.h:20:30: warning: operation on 'start->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:246:17: note: in expansion of macro 'EXPAND' 246 | EXPAND(start->b_text) = start->b_char; | ^~~~~~ In file included from markdown.c:16: markdown.c: In function 'addfootnote': cstring.h:20:30: warning: operation on 'f->footnotes->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:660:23: note: in expansion of macro 'EXPAND' 660 | Footnote *foot = &EXPAND(*f->footnotes); | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:668:9: note: in expansion of macro 'EXPAND' 668 | EXPAND(foot->tag) = T(p->text)[j]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:670:5: note: in expansion of macro 'EXPAND' 670 | EXPAND(foot->tag) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:675:9: note: in expansion of macro 'EXPAND' 675 | EXPAND(foot->link) = T(p->text)[j++]; | ^~~~~~ generate.c: In function 'reparse': cstring.h:20:30: warning: operation on 'sub.in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:289:5: note: in expansion of macro 'EXPAND' 289 | EXPAND(sub.in) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:676:5: note: in expansion of macro 'EXPAND' 676 | EXPAND(foot->link) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:703:13: note: in expansion of macro 'EXPAND' 703 | EXPAND(foot->title) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:709:9: note: in expansion of macro 'EXPAND' 709 | EXPAND(foot->title) = 0; | ^~~~~~ gcc -o discount.so -shared docheader.o dumptree.o generate.o markdown.o mkdio.o resource.o ldiscount.o gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o docheader.o docheader.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o generate.o generate.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o markdown.o markdown.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o resource.o resource.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -fomit-frame-pointer -c -o ldiscount.o ldiscount.c ldiscount.c: In function 'ldiscount': ldiscount.c:110:20: warning: passing argument 1 of 'mkd_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | doc = mkd_string(str, len, MKD_TABSTOP|MKD_NOHEADER); | ^~~ In file included from ldiscount.c:7: markdown.h:108:29: note: expected 'char *' but argument is of type 'const char *' 108 | extern Document *mkd_string(char*,int, int); | ^~~~~ markdown.c: In function 'isopentag': markdown.c:151:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 151 | if ( ret = bsearch(&key,blocktags,SZTAGS,sizeof key, (stfu)casort)) | ^~~ In file included from markdown.h:4, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:20:30: warning: operation on 'sp->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ dumptree.c:41:24: note: in expansion of macro 'EXPAND' 41 | struct frame *q = &EXPAND(*sp); | ^~~~~~ In file included from mkdio.c:13: mkdio.c: In function 'queue': cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:57:17: note: in expansion of macro 'EXPAND' 57 | EXPAND(p->text) = ' '; | ^~~~~~ In file included from generate.c:16: generate.c: In function 'push': cstring.h:20:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:43:9: note: in expansion of macro 'EXPAND' 43 | EXPAND(f->in) = *bfr++; | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:61:13: note: in expansion of macro 'EXPAND' 61 | EXPAND(p->text) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ generate.c: In function 'Qchar': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:101:16: note: in expansion of macro 'EXPAND' 101 | cur = &EXPAND(f->Q); | ^~~~~~ markdown.c: In function 'listblock': markdown.c:623:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | if ( para = (q != text) ) { | ^~~~ In file included from markdown.c:16: markdown.c: In function 'addfootnote': cstring.h:20:30: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:108:5: note: in expansion of macro 'EXPAND' 108 | EXPAND(cur->b_text) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'f->footnotes->size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:660:23: note: in expansion of macro 'EXPAND' 660 | Footnote *foot = &EXPAND(*f->footnotes); | ^~~~~~ mkdio.c: In function 'populate': cstring.h:20:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:117:13: note: in expansion of macro 'EXPAND' 117 | EXPAND(line) = c; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:668:9: note: in expansion of macro 'EXPAND' 668 | EXPAND(foot->tag) = T(p->text)[j]; | ^~~~~~ generate.c: In function 'Qem': cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:153:17: note: in expansion of macro 'EXPAND' 153 | block *p = &EXPAND(f->Q); | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:670:5: note: in expansion of macro 'EXPAND' 670 | EXPAND(foot->tag) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:675:9: note: in expansion of macro 'EXPAND' 675 | EXPAND(foot->link) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:676:5: note: in expansion of macro 'EXPAND' 676 | EXPAND(foot->link) = 0; | ^~~~~~ cstring.h:20:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:160:13: note: in expansion of macro 'EXPAND' 160 | memset(&EXPAND(f->Q), 0, sizeof(block)); | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:703:13: note: in expansion of macro 'EXPAND' 703 | EXPAND(foot->title) = T(p->text)[j++]; | ^~~~~~ cstring.h:20:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:709:9: note: in expansion of macro 'EXPAND' 709 | EXPAND(foot->title) = 0; | ^~~~~~ generate.c: In function 'emmatch': cstring.h:20:30: warning: operation on 'start->b_text.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:246:17: note: in expansion of macro 'EXPAND' 246 | EXPAND(start->b_text) = start->b_char; | ^~~~~~ generate.c: In function 'reparse': cstring.h:20:30: warning: operation on 'sub.in.size' may be undefined [-Wsequence-point] 20 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:289:5: note: in expansion of macro 'EXPAND' 289 | EXPAND(sub.in) = 0; | ^~~~~~ gcc -o discount.so -shared docheader.o dumptree.o generate.o markdown.o mkdio.o resource.o ldiscount.o >>> WARNING: lua-discount: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> lua-discount: Entering fakeroot... >>> lua-discount-doc*: Running split function doc... >>> lua-discount-doc*: Preparing subpackage lua-discount-doc... >>> lua-discount-doc*: Running postcheck for lua-discount-doc >>> lua5.1-discount*: Running split function split_5_1... >>> lua5.1-discount*: Preparing subpackage lua5.1-discount... >>> lua5.1-discount*: Stripping binaries >>> lua5.1-discount*: Running postcheck for lua5.1-discount >>> lua5.2-discount*: Running split function split_5_2... >>> lua5.2-discount*: Preparing subpackage lua5.2-discount... >>> lua5.2-discount*: Stripping binaries >>> lua5.2-discount*: Running postcheck for lua5.2-discount >>> lua5.3-discount*: Running split function split_5_3... >>> lua5.3-discount*: Preparing subpackage lua5.3-discount... >>> lua5.3-discount*: Stripping binaries >>> lua5.3-discount*: Running postcheck for lua5.3-discount >>> lua5.4-discount*: Running split function split_5_4... >>> lua5.4-discount*: Preparing subpackage lua5.4-discount... >>> lua5.4-discount*: Stripping binaries >>> lua5.4-discount*: Running postcheck for lua5.4-discount >>> lua-discount*: Running postcheck for lua-discount >>> lua-discount*: Preparing package lua-discount... >>> lua-discount*: Stripping binaries >>> WARNING: lua-discount*: No arch specific binaries found so arch should probably be set to "noarch" >>> lua-discount-doc*: Scanning shared objects >>> lua-discount*: Scanning shared objects >>> lua5.1-discount*: Scanning shared objects >>> lua5.2-discount*: Scanning shared objects >>> lua5.3-discount*: Scanning shared objects >>> lua5.4-discount*: Scanning shared objects >>> lua-discount-doc*: Tracing dependencies... >>> lua-discount-doc*: Package size: 24.0 KB >>> lua-discount-doc*: Compressing data... >>> lua-discount-doc*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua-discount-doc*: Create lua-discount-doc-1.2.10.1-r6.apk >>> lua-discount*: Tracing dependencies... >>> lua-discount*: Package size: 16.0 KB >>> lua-discount*: Compressing data... >>> lua-discount*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua-discount*: Create lua-discount-1.2.10.1-r6.apk >>> lua5.1-discount*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> lua5.1-discount*: Package size: 44.0 KB >>> lua5.1-discount*: Compressing data... >>> lua5.1-discount*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua5.1-discount*: Create lua5.1-discount-1.2.10.1-r6.apk >>> lua5.2-discount*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> lua5.2-discount*: Package size: 44.0 KB >>> lua5.2-discount*: Compressing data... >>> lua5.2-discount*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua5.2-discount*: Create lua5.2-discount-1.2.10.1-r6.apk >>> lua5.3-discount*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> lua5.3-discount*: Package size: 44.0 KB >>> lua5.3-discount*: Compressing data... >>> lua5.3-discount*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua5.3-discount*: Create lua5.3-discount-1.2.10.1-r6.apk >>> lua5.4-discount*: Tracing dependencies... so:libc.musl-armv7.so.1 >>> lua5.4-discount*: Package size: 44.0 KB >>> lua5.4-discount*: Compressing data... >>> lua5.4-discount*: Create checksum... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now >>> lua5.4-discount*: Create lua5.4-discount-1.2.10.1-r6.apk >>> lua-discount: Build complete at Wed, 13 Apr 2022 16:10:15 +0000 elapsed time 0h 0m 17s >>> lua-discount: Cleaning up srcdir >>> lua-discount: Cleaning up pkgdir >>> lua-discount: Uninstalling dependencies... (1/15) Purging .makedepends-lua-discount (20220413.161003) (2/15) Purging lua5.1-dev (5.1.5-r10) (3/15) Purging lua5.1 (5.1.5-r10) (4/15) Purging lua5.1-libs (5.1.5-r10) (5/15) Purging lua5.2-dev (5.2.4-r9) (6/15) Purging lua5.3-dev (5.3.6-r3) (7/15) Purging lua5.3 (5.3.6-r3) (8/15) Purging lua5.3-libs (5.3.6-r3) (9/15) Purging lua5.4-dev (5.4.4-r2) (10/15) Purging lua5.4 (5.4.4-r2) (11/15) Purging lua5.4-libs (5.4.4-r2) (12/15) Purging linenoise (1.0-r1) (13/15) Purging readline (8.1.2-r0) (14/15) Purging ncurses-libs (6.3_p20220402-r0) (15/15) Purging ncurses-terminfo-base (6.3_p20220402-r0) Executing busybox-1.35.0-r8.trigger OK: 254 MiB in 85 packages >>> lua-discount: Updating the main/armv7 repository index... >>> lua-discount: Signing the index... tar: -: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now