>>> lua-discount: Building main/lua-discount 1.2.10.1-r8 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 04:13:54 +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/13) Installing lua5.1-libs (5.1.5-r12) (2/13) Installing lua5.1 (5.1.5-r12) (3/13) Installing lua5.1-dev (5.1.5-r12) (4/13) Installing lua5.2-dev (5.2.4-r12) (5/13) Installing linenoise (1.0-r3) (6/13) Installing lua5.3-libs (5.3.6-r5) (7/13) Installing lua5.3 (5.3.6-r5) (8/13) Installing lua5.3-dev (5.3.6-r5) (9/13) Installing lua5.4-libs (5.4.4-r8) (10/13) Installing readline (8.2.1-r1) (11/13) Installing lua5.4 (5.4.4-r8) (12/13) Installing lua5.4-dev (5.4.4-r8) (13/13) Installing .makedepends-lua-discount (20230420.041355) Executing busybox-1.36.0-r7.trigger OK: 378 MiB in 110 packages >>> lua-discount: Cleaning up srcdir >>> lua-discount: Cleaning up pkgdir >>> lua-discount: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/lua-discount-1.2.10.1.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 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> lua-discount: Fetching https://dev.alpinelinux.org/archive/lua-discount/lua-discount-1.2.10.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23641 100 23641 0 0 331k 0 --:--:-- --:--:-- --:--:-- 334k >>> lua-discount: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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.18/lua-discount-1.2.10.1.tar.gz... gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o docheader.o docheader.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o dumptree.o dumptree.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o generate.o generate.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o markdown.o markdown.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o mkdio.o mkdio.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o resource.o resource.c gcc -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o ldiscount.o ldiscount.c 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); | ^~~~~~ 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 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; | ^~~~~~ In file included from generate.c:16: generate.c: In function 'push': 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 '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++; | ^~~~~~ 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 '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); | ^~~~~~ 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 '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)); | ^~~~~~ 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; | ^~~~~~ 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 -Wformat -Werror=format-security -c -o docheader.o docheader.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o generate.o generate.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o markdown.o markdown.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o resource.o resource.c gcc -I/usr/include/lua5.2 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o ldiscount.o ldiscount.c 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) = ' '; | ^~~~~~ 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; | ^~~~~~ 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:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ 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 '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); | ^~~~~~ 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 '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)); | ^~~~~~ 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); | ^~~~~ 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; | ^~~~~~ 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 -Wformat -Werror=format-security -c -o docheader.o docheader.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o generate.o generate.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o markdown.o markdown.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o resource.o resource.c gcc -I/usr/include/lua5.3 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o ldiscount.o ldiscount.c 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); | ^~~~~~ 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 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; | ^~~~~~ In file included from generate.c:16: generate.c: In function 'push': 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 '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++; | ^~~~~~ 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 '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); | ^~~~~~ 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 '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)); | ^~~~~~ 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; | ^~~~~~ 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.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o docheader.o docheader.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o dumptree.o dumptree.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o generate.o generate.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o markdown.o markdown.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o mkdio.o mkdio.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o resource.o resource.c gcc -I/usr/include/lua5.4 -Wall -O2 -fPIC -Os -Wformat -Werror=format-security -c -o ldiscount.o ldiscount.c 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) = ' '; | ^~~~~~ 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; | ^~~~~~ 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:65:5: note: in expansion of macro 'EXPAND' 65 | EXPAND(p->text) = 0; | ^~~~~~ generate.c: In function 'Qchar': mkdio.c: In function 'populate': 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 '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 '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); | ^~~~~~ 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 '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)); | ^~~~~~ 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; | ^~~~~~ 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); | ^~~~~ 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 >>> 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... >>> lua-discount-doc*: Create lua-discount-doc-1.2.10.1-r8.apk >>> lua-discount*: Tracing dependencies... >>> lua-discount*: Package size: 16.0 KB >>> lua-discount*: Compressing data... >>> lua-discount*: Create checksum... >>> lua-discount*: Create lua-discount-1.2.10.1-r8.apk >>> lua5.1-discount*: Tracing dependencies... so:libc.musl-x86.so.1 >>> lua5.1-discount*: Package size: 56.0 KB >>> lua5.1-discount*: Compressing data... >>> lua5.1-discount*: Create checksum... >>> lua5.1-discount*: Create lua5.1-discount-1.2.10.1-r8.apk >>> lua5.2-discount*: Tracing dependencies... so:libc.musl-x86.so.1 >>> lua5.2-discount*: Package size: 56.0 KB >>> lua5.2-discount*: Compressing data... >>> lua5.2-discount*: Create checksum... >>> lua5.2-discount*: Create lua5.2-discount-1.2.10.1-r8.apk >>> lua5.3-discount*: Tracing dependencies... so:libc.musl-x86.so.1 >>> lua5.3-discount*: Package size: 56.0 KB >>> lua5.3-discount*: Compressing data... >>> lua5.3-discount*: Create checksum... >>> lua5.3-discount*: Create lua5.3-discount-1.2.10.1-r8.apk >>> lua5.4-discount*: Tracing dependencies... so:libc.musl-x86.so.1 >>> lua5.4-discount*: Package size: 56.0 KB >>> lua5.4-discount*: Compressing data... >>> lua5.4-discount*: Create checksum... >>> lua5.4-discount*: Create lua5.4-discount-1.2.10.1-r8.apk >>> lua-discount: Build complete at Thu, 20 Apr 2023 04:14:01 +0000 elapsed time 0h 0m 7s >>> lua-discount: Cleaning up srcdir >>> lua-discount: Cleaning up pkgdir >>> lua-discount: Uninstalling dependencies... (1/13) Purging .makedepends-lua-discount (20230420.041355) (2/13) Purging lua5.1-dev (5.1.5-r12) (3/13) Purging lua5.1 (5.1.5-r12) (4/13) Purging lua5.1-libs (5.1.5-r12) (5/13) Purging lua5.2-dev (5.2.4-r12) (6/13) Purging lua5.3-dev (5.3.6-r5) (7/13) Purging lua5.3 (5.3.6-r5) (8/13) Purging lua5.3-libs (5.3.6-r5) (9/13) Purging lua5.4-dev (5.4.4-r8) (10/13) Purging lua5.4 (5.4.4-r8) (11/13) Purging lua5.4-libs (5.4.4-r8) (12/13) Purging linenoise (1.0-r3) (13/13) Purging readline (8.2.1-r1) Executing busybox-1.36.0-r7.trigger OK: 373 MiB in 97 packages >>> lua-discount: Updating the main/x86 repository index... >>> lua-discount: Signing the index...