+ 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, "