+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/discount.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3aba2N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf discount-2.2.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/discount-2.2.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd discount-2.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (discount-dont-run-ldconfig.patch):' Patch #0 (discount-dont-run-ldconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.inc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0AzaPO + umask 022 + cd /builddir/build/BUILD + cd discount-2.2.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + ./configure.sh --shared --prefix=/usr --execdir=/usr/bin --libdir=/usr/lib64 --mandir=/usr/share/man --enable-all-features --with-fenced-code Configuring for [markdown] checking the C compiler (cc) oh ick, it looks like gcc Looking for cpp (/lib/cpp) ok looking for install (/usr/bin/install) Setting theme default --with-fenced-code. Checking __attribute__((__noreturn__)) (yes) checking for C compiler option to produce PIC (-fPIC) looking for find (/usr/bin/find) looking for "ln -s" (/usr/bin/ln) looking for install (/usr/bin/install) checking whether the C compiler can build shared libraries (yes; -shared) looking for ar (/usr/bin/ar) looking for ranlib (/usr/bin/ranlib) looking for pkg-config (/usr/bin/pkg-config) checking for "volatile" keyword (found) checking for "const" keyword (found) Checking for "inline" keyword (found) defining WORD & DWORD scalar types looking for a reentrant basename (found) looking for header libgen.h (found) looking for header stdlib.h (found) looking for the alloca function (found in alloca.h) looking for header pwd.h (found) looking for the getpwuid function (found) looking for the srandom function (found) looking for the bzero function (found) looking for the random function (found) looking for the strcasecmp function (found) looking for the strncasecmp function (found) looking for the fchdir function (found) looking for header malloc.h (found) looking for sed (/usr/bin/sed) generating Makefile generating version.c generating mkdio.h generating libmarkdown.pc + make -j4 cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -I. -c main.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -I. -c pgm_options.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o mkdio.o mkdio.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o markdown.o markdown.c In file included from mkdio.c:13:0: mkdio.c: In function '__mkd_enqueue': cstring.h:22:24: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkdio.c:61:3: note: in expansion of macro 'EXPAND' EXPAND(p->text) = ' '; ^~~~~~ cstring.h:22:24: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkdio.c:67:6: note: in expansion of macro 'EXPAND' EXPAND(p->text) = c; ^~~~~~ cstring.h:22:24: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkdio.c:71:5: note: in expansion of macro 'EXPAND' EXPAND(p->text) = 0; ^~~~~~ mkdio.c: In function 'populate': cstring.h:22:24: warning: operation on 'line.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkdio.c:117:6: note: in expansion of macro 'EXPAND' EXPAND(line) = c; ^~~~~~ In file included from mkdio.c:14:0: mkdio.c: In function 'mkd_generatehtml': markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ mkdio.c:187:5: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( szdoc = mkd_document(p,&doc) ); ^~~~~~~~~ markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ mkdio.c:189:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( mkd_generatexml(doc, szdoc, output) ); ^~~~~~~~~ markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ mkdio.c:192:5: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( putc('\n', output) ); ^~~~~~~~~ In file included from mkdio.c:13:0: mkdio.c: In function 'mkd_line': cstring.h:22:24: warning: operation on 'f.out.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkdio.c:289:2: note: in expansion of macro 'EXPAND' EXPAND(f.out) = 0; ^~~~~~ In file included from markdown.c:16:0: markdown.c: In function 'addfootnote': cstring.h:22:24: warning: operation on 'f->footnotes->note.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1018:23: note: in expansion of macro 'EXPAND' Footnote *foot = &EXPAND(f->footnotes->note); ^~~~~~ cstring.h:22:24: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1026:2: note: in expansion of macro 'EXPAND' EXPAND(foot->tag) = T(p->text)[j]; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1028:5: note: in expansion of macro 'EXPAND' EXPAND(foot->tag) = 0; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1035:6: note: in expansion of macro 'EXPAND' EXPAND(foot->title) = T(p->text)[j++]; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1040:2: note: in expansion of macro 'EXPAND' EXPAND(foot->link) = T(p->text)[j++]; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1041:5: note: in expansion of macro 'EXPAND' EXPAND(foot->link) = 0; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1068:6: note: in expansion of macro 'EXPAND' EXPAND(foot->title) = T(p->text)[j++]; ^~~~~~ cstring.h:22:24: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ markdown.c:1074:2: note: in expansion of macro 'EXPAND' EXPAND(foot->title) = 0; ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o dumptree.o dumptree.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o generate.o generate.c In file included from markdown.h:5:0, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:22:24: warning: operation on 'sp->size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ dumptree.c:44:24: note: in expansion of macro 'EXPAND' struct frame *q = &EXPAND(*sp); ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o resource.o resource.c In file included from generate.c:16:0: generate.c: In function 'push': cstring.h:22:24: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:37:2: note: in expansion of macro 'EXPAND' EXPAND(f->in) = *bfr++; ^~~~~~ generate.c: In function 'pushc': cstring.h:22:24: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:47:5: note: in expansion of macro 'EXPAND' EXPAND(f->in) = c; ^~~~~~ generate.c: In function 'Qchar': cstring.h:22:24: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:134:9: note: in expansion of macro 'EXPAND' cur = &EXPAND(f->Q); ^~~~~~ cstring.h:22:24: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:141:5: note: in expansion of macro 'EXPAND' EXPAND(cur->b_text) = c; ^~~~~~ generate.c: In function 'Qem': cstring.h:22:24: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:186:17: note: in expansion of macro 'EXPAND' block *p = &EXPAND(f->Q); ^~~~~~ cstring.h:22:24: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:193:13: note: in expansion of macro 'EXPAND' memset(&EXPAND(f->Q), 0, sizeof(block)); ^~~~~~ generate.c: In function 'printtable': cstring.h:22:24: warning: operation on 'align.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:1583:2: note: in expansion of macro 'EXPAND' EXPAND(align) = it; ^~~~~~ cstring.h:22:24: warning: operation on 'align.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:1596:6: note: in expansion of macro 'EXPAND' EXPAND(align) = a_NONE; ^~~~~~ generate.c: In function 'mkd_document': cstring.h:22:24: warning: operation on 'p->ctx->out.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ generate.c:1856:3: note: in expansion of macro 'EXPAND' EXPAND(p->ctx->out) = 0; ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o docheader.o docheader.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -DVERSION=\"`cat VERSION`\" -c version.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o toc.o toc.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o css.o css.c In file included from toc.c:14:0: toc.c: In function 'mkd_toc': cstring.h:22:24: warning: operation on 'res.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ toc.c:84:2: note: in expansion of macro 'EXPAND' EXPAND(res) = 0; ^~~~~~ In file included from css.c:16:0: css.c: In function 'mkd_css': cstring.h:22:24: warning: operation on 'f.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ css.c:57:6: note: in expansion of macro 'EXPAND' EXPAND(f) = 0; ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o xml.o xml.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o Csio.o Csio.c In file included from Csio.c:4:0: Csio.c: In function 'Csputc': cstring.h:22:24: warning: operation on 'iot->size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ Csio.c:14:5: note: in expansion of macro 'EXPAND' EXPAND(*iot) = c; ^~~~~~ In file included from xml.c:17:0: xml.c: In function 'mkd_generatexml': markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xml.c:50:6: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fputs(entity, out) ); ^~~~~~~~~ markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xml.c:52:6: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fputc(c, out) ); ^~~~~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o xmlpage.o xmlpage.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o basename.o basename.c In file included from xmlpage.c:10:0: xmlpage.c: In function 'mkd_xhtmlpage': ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:20:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n" ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:26:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n") ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:27:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "") ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:29:6: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "%s", title) ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:31:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n") ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:32:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( mkd_generatecss(p, out) ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:33:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n" ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:36:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( mkd_generatehtml(p, out) ); ^~~~~~~~~ ./markdown.h:238:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:37:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n" ^~~~~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o emmatch.o emmatch.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o github_flavoured.o github_flavoured.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o setup.o setup.c In file included from emmatch.c:16:0: emmatch.c: In function 'emfill': cstring.h:22:24: warning: operation on 'p->b_text.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ emmatch.c:79:4: note: in expansion of macro 'EXPAND' EXPAND(p->b_text) = p->b_char; ^~~~~~ In file included from github_flavoured.c:15:0: github_flavoured.c: In function 'gfm_populate': cstring.h:22:24: warning: operation on 'line.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ github_flavoured.c:47:3: note: in expansion of macro 'EXPAND' EXPAND(line) = ' '; ^~~~~~ cstring.h:22:24: warning: operation on 'line.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ github_flavoured.c:48:3: note: in expansion of macro 'EXPAND' EXPAND(line) = ' '; ^~~~~~ cstring.h:22:24: warning: operation on 'line.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ github_flavoured.c:54:6: note: in expansion of macro 'EXPAND' EXPAND(line) = c; ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC mktags.c -o mktags cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o html5.o html5.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o flags.o flags.c cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o mkd2html.o mkd2html.c In file included from mktags.c:6:0: mktags.c: In function 'define_one_tag': cstring.h:22:24: warning: operation on 'blocktags.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mktags.c:17:21: note: in expansion of macro 'EXPAND' struct kw *p = &EXPAND(blocktags); ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o theme.o theme.c In file included from mkd2html.c:37:0: mkd2html.c: In function 'main': cstring.h:22:24: warning: operation on 'css.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkd2html.c:86:6: note: in expansion of macro 'EXPAND' EXPAND(css) = argv[2]; ^~~~~~ cstring.h:22:24: warning: operation on 'headers.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkd2html.c:91:6: note: in expansion of macro 'EXPAND' EXPAND(headers) = argv[2]; ^~~~~~ cstring.h:22:24: warning: operation on 'footers.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ mkd2html.c:96:6: note: in expansion of macro 'EXPAND' EXPAND(footers) = argv[2]; ^~~~~~ cc -Wno-return-type -Wno-implicit-int -I. -o echo tools/echo.c cc -Wno-return-type -Wno-implicit-int -I. -o cols tools/cols.c In file included from theme.c:37:0: theme.c: In function 'prepare': cstring.h:22:24: warning: operation on 'inbuf.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ theme.c:185:2: note: in expansion of macro 'EXPAND' EXPAND(inbuf) = c; ^~~~~~ theme.c: In function 'finclude': cstring.h:22:24: warning: operation on 'include.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ theme.c:268:2: note: in expansion of macro 'EXPAND' EXPAND(include) = c; ^~~~~~ cstring.h:22:24: warning: operation on 'include.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ theme.c:271:2: note: in expansion of macro 'EXPAND' EXPAND(include) = 0; ^~~~~~ theme.c: In function 'main': theme.c:563:6: warning: variable 'added_text' set but not used [-Wunused-but-set-variable] int added_text=0; ^~~~~~~~~~ ./mktags > blocktags cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -c -o tags.o tags.c In file included from tags.c:4:0: tags.c: In function 'mkd_define_tag': cstring.h:22:24: warning: operation on 'extratags.size' may be undefined [-Wsequence-point] #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ ~~~~~^~~ tags.c:32:7: note: in expansion of macro 'EXPAND' p = &EXPAND(extratags); ^~~~~~ ./librarian.sh make libmarkdown VERSION mkdio.o markdown.o dumptree.o generate.o resource.o docheader.o version.o toc.o css.o xml.o Csio.o xmlpage.o basename.o emmatch.o github_flavoured.o setup.o tags.o html5.o flags.o cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -L. -o markdown main.o pgm_options.o -lmarkdown cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -L. -o mkd2html mkd2html.o -lmarkdown cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -L. -o makepage makepage.c pgm_options.o -lmarkdown cc -Wno-return-type -Wno-implicit-int -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -L. -o theme theme.o pgm_options.o -lmarkdown + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B3RLKF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 + cd discount-2.2.2 + make install.everything DESTDIR=/builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/lib64 ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/include ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/lib64/pkgconfig /usr/bin/install -s -m 755 markdown /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin ./librarian.sh install libmarkdown VERSION /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/lib64 /usr/bin/install -m 444 mkdio.h /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/include ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1 for x in mkd2html makepage theme; do \ /usr/bin/install -s -m 755 $x /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/$x; \ /usr/bin/install -m 444 $x.1 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/$x.1; \ done ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man3 /usr/bin/install -m 444 mkd-callbacks.3 mkd-functions.3 markdown.3 mkd-line.3 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man3 for x in mkd_line mkd_generateline; do \ ( echo '.\"' ; echo ".so man3/mkd-line.3" ) > /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man3/$x.3;\ done for x in mkd_in mkd_string; do \ ( echo '.\"' ; echo ".so man3/markdown.3" ) > /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man3/$x.3;\ done for x in mkd_compile mkd_css mkd_generatecss mkd_generatehtml mkd_cleanup mkd_doc_title mkd_doc_author mkd_doc_date; do \ ( echo '.\"' ; echo ".so man3/mkd-functions.3" ) > /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man3/$x.3; \ done ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man7 /usr/bin/install -m 444 markdown.7 mkd-extensions.7 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man7 ./config.md /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1 /usr/bin/install -m 444 markdown.1 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1 + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/makepage /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/discount-makepage + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/mkd2html /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/discount-mkd2html + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/theme /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/bin/discount-theme + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/makepage.1 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/discount-makepage.1 + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/mkd2html.1 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/discount-mkd2html.1 + mv /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/theme.1 /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/man/man1/discount-theme.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: discount-2.2.2-3.fc28.riscv64 Provides: discount = 2.2.2-3.fc28 discount(riscv-64) = 2.2.2-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmarkdown.so.2()(64bit) rtld(GNU_HASH) Processing files: libmarkdown-2.2.2-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZfOybW + umask 022 + cd /builddir/build/BUILD + cd discount-2.2.2 + DOCDIR=/builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/doc/libmarkdown + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/doc/libmarkdown + cp -pr README /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/doc/libmarkdown + cp -pr COPYRIGHT /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/doc/libmarkdown + cp -pr CREDITS /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64/usr/share/doc/libmarkdown + exit 0 Provides: libmarkdown = 2.2.2-3.fc28 libmarkdown(riscv-64) = 2.2.2-3.fc28 libmarkdown.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libmarkdown-devel-2.2.2-3.fc28.riscv64 Provides: libmarkdown-devel = 2.2.2-3.fc28 libmarkdown-devel(riscv-64) = 2.2.2-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libmarkdown.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/discount-2.2.2-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/discount-2.2.2-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libmarkdown-2.2.2-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libmarkdown-devel-2.2.2-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mwjXt7 + umask 022 + cd /builddir/build/BUILD + cd discount-2.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/discount-2.2.2-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff