Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rdiscount.spec'], chrootPath='/var/lib/mock/epel8-build-17839000-1283457/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rdiscount.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-rdiscount-2.2.0.1-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rdiscount.spec'], chrootPath='/var/lib/mock/epel8-build-17839000-1283457/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rdiscount.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2XWZL5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdiscount-2.2.0.1 + /usr/bin/gem unpack /builddir/build/SOURCES/rdiscount-2.2.0.1.gem Unpacked gem: '/builddir/build/BUILD/rdiscount-2.2.0.1' + /usr/bin/gem spec /builddir/build/SOURCES/rdiscount-2.2.0.1.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd rdiscount-2.2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mWi2UG + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.2.0.1 + gem build ../rdiscount-2.2.0.1.gemspec Successfully built RubyGem Name: rdiscount Version: 2.2.0.1 File: rdiscount-2.2.0.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc rdiscount-2.2.0.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rdiscount-2.2.0.1 Bin dir: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/bin Gem home: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/BUILDING /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/COPYING /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/README.markdown /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/Rakefile /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/bin/rdiscount /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/Csio.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/VERSION /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/amalloc.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/amalloc.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/basename.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/blocktags /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/config.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/css.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/cstring.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/docheader.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/dumptree.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/emmatch.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/extconf.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/flags.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/generate.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/github_flavoured.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/html5.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/markdown.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/markdown.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/mkdio.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/mkdio.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/mktags.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/pgm_options.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/pgm_options.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/rdiscount.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/resource.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/setup.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/tags.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/tags.h /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/toc.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/version.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/xml.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/xmlpage.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/lib/markdown.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/lib/rdiscount.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/markdown.7 /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1 /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1.ronn /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/rdiscount.gemspec /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.txt /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/markdown_test.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/rdiscount_test.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext /usr/bin/ruby -r ./siteconf20191017-8044-uhmfs5.rb extconf.rb checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 creating Makefile current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" clean rm -f rm -f rdiscount.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Csio.o -c Csio.c In file included from Csio.c:4: 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; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o amalloc.o -c amalloc.c amalloc.c: In function 'acalloc': amalloc.c:39:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) { ^~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o basename.o -c basename.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o css.o -c css.c In file included from css.c:16: 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; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o docheader.o -c docheader.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o dumptree.o -c dumptree.c In file included from markdown.h:4, 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); ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o emmatch.o -c emmatch.c In file included from emmatch.c:16: 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; ^~~~~~ emmatch.c: In function 'emmatch': emmatch.c:113:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] case 2: if ( e = empair(f,first,last,match=2) ) ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o flags.o -c flags.c flags.c: In function 'mkd_flags_are': flags.c:55:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( not = (*name == '!') ) { ^~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o generate.o -c generate.c In file included from generate.c:16: 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 'linkyformat': generate.c:650:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( tag = pseudo(ref->link) ) { ^~~ generate.c: In function 'linkylinky': generate.c:744:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ref = bsearch(&key, T(f->footnotes->note), ^~~ In file included from generate.c:16: 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:1588: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:1601: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:1861:3: note: in expansion of macro 'EXPAND' EXPAND(p->ctx->out) = 0; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o github_flavoured.o -c github_flavoured.c In file included from github_flavoured.c:15: 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; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o html5.o -c html5.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o markdown.o -c markdown.c markdown.c: In function 'commentblock': markdown.c:264:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( end = strstr(T(t->text), "-->") ) { ^~~ markdown.c: In function 'htmlblock': markdown.c:315:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( closing = (c == '/') ) c = flogetc(&f); ^~~~~~~ markdown.c: In function 'is_extra_dt': markdown.c:489:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( x=is_extra_dt(t->next, clip, flags) ) ^ markdown.c: In function 'isdefinition': markdown.c:502:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ret = is_discount_dt(t,clip,flags) ) ^~~ markdown.c: In function 'quoteblock': markdown.c:830:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) ) ^ markdown.c: In function 'definition_block': markdown.c:918:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( para = (text != q->next) ) ^~~~ markdown.c:941:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( para = (q != text) ) { ^~~~ markdown.c: In function 'enumerated_block': markdown.c:981:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( para = (q != text) ) { ^~~~ In file included from markdown.c:16: 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; ^~~~~~ markdown.c: In function 'compile': markdown.c:1272:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) { ^~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o mkdio.o -c mkdio.c mkdio.c: In function '__mkd_new_Document': mkdio.c:28:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) { ^~~ In file included from mkdio.c:13: 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: mkdio.c: In function 'mkd_generatehtml': markdown.h:236: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:236: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:236: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) ); ^~~~~~~~~ mkdio.c: In function 'mkd_line': mkdio.c:274:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( len = S(f.out) ) { ^~~ In file included from mkdio.c:13: 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:280:2: note: in expansion of macro 'EXPAND' EXPAND(f.out) = 0; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o mktags.o -c mktags.c In file included from mktags.c:6: 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); ^~~~~~ mktags.c: At top level: mktags.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o pgm_options.o -c pgm_options.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o rdiscount.o -c rdiscount.c rdiscount.c: In function 'rb_rdiscount_to_html': rdiscount.c:53:17: warning: implicit declaration of function 'rb_rdiscount__get_flags'; did you mean 'rb_rdiscount_to_html'? [-Wimplicit-function-declaration] int flags = rb_rdiscount__get_flags(self); ^~~~~~~~~~~~~~~~~~~~~~~ rb_rdiscount_to_html gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o resource.o -c resource.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o setup.o -c setup.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o tags.o -c tags.c In file included from tags.c:4: 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); ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o toc.o -c toc.c In file included from toc.c:14: 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:85:2: note: in expansion of macro 'EXPAND' EXPAND(res) = 0; ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o version.o -c version.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o xml.o -c xml.c xml.c: In function 'mkd_generatexml': xml.c:49:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( entity = mkd_xmlchar(c) ) ^~~~~~ In file included from xml.c:17: markdown.h:236: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:236: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) ); ^~~~~~~~~ xml.c: In function 'mkd_xml': xml.c:72:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( entity = mkd_xmlchar(c) ) ^~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -fPIC -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o xmlpage.o -c xmlpage.c In file included from xmlpage.c:14: xmlpage.c: In function 'mkd_xhtmlpage': markdown.h:236:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:25:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n" ^~~~~~~~~ markdown.h:236: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") ); ^~~~~~~~~ xmlpage.c:32:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( title = mkd_doc_title(p) ) { ^~~~~ In file included from xmlpage.c:14: markdown.h:236:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:33:6: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "%s\n", title) ); ^~~~~~~~~ markdown.h:236:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:35:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( mkd_generatecss(p, out) ); ^~~~~~~~~ markdown.h:236: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( fprintf(out, "\n" ^~~~~~~~~ markdown.h:236:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:39:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( mkd_generatehtml(p, out) ); ^~~~~~~~~ markdown.h:236:59: warning: statement with no effect [-Wunused-value] #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 ^ xmlpage.c:40:2: note: in expansion of macro 'DO_OR_DIE' DO_OR_DIE( fprintf(out, "\n" ^~~~~~~~~ rm -f rdiscount.so gcc -shared -o rdiscount.so Csio.o amalloc.o basename.o css.o docheader.o dumptree.o emmatch.o flags.o generate.o github_flavoured.o html5.o markdown.o mkdio.o mktags.o pgm_options.o rdiscount.o resource.o setup.o tags.o toc.o version.o xml.o xmlpage.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -m64 -lruby -lc current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20191017-8044-titdl exit > .sitearchdir.time /usr/bin/install -c -m 0755 rdiscount.so ./.gem.20191017-8044-titdl /builddir/build/BUILD/rdiscount-2.2.0.1/usr/bin/rdiscount Successfully installed rdiscount-2.2.0.1 Parsing documentation for rdiscount-2.2.0.1 Parsing sources... 1% [ 1/62] COPYING 3% [ 2/62] ext/Csio.c 4% [ 3/62] ext/Csio.o 6% [ 4/62] ext/Makefile 8% [ 5/62] ext/VERSION 9% [ 6/62] ext/amalloc.c 11% [ 7/62] ext/amalloc.h 12% [ 8/62] ext/amalloc.o 14% [ 9/62] ext/basename.c 16% [10/62] ext/basename.o 17% [11/62] ext/blocktags 19% [12/62] ext/config.h 20% [13/62] ext/css.c 22% [14/62] ext/css.o 24% [15/62] ext/cstring.h 25% [16/62] ext/docheader.c 27% [17/62] ext/docheader.o 29% [18/62] ext/dumptree.c 30% [19/62] ext/dumptree.o 32% [20/62] ext/emmatch.c 33% [21/62] ext/emmatch.o 35% [22/62] ext/extconf.rb 37% [23/62] ext/flags.c 38% [24/62] ext/flags.o 40% [25/62] ext/generate.c 41% [26/62] ext/generate.o 43% [27/62] ext/github_flavoured.c 45% [28/62] ext/github_flavoured.o 46% [29/62] ext/html5.c 48% [30/62] ext/html5.o 50% [31/62] ext/markdown.c 51% [32/62] ext/markdown.h 53% [33/62] ext/markdown.o 54% [34/62] ext/mkdio.c 56% [35/62] ext/mkdio.h 58% [36/62] ext/mkdio.o 59% [37/62] ext/mktags.c 61% [38/62] ext/mktags.o 62% [39/62] ext/pgm_options.c 64% [40/62] ext/pgm_options.h 66% [41/62] ext/pgm_options.o 67% [42/62] ext/rdiscount.c 69% [43/62] ext/rdiscount.o 70% [44/62] ext/rdiscount.so 72% [45/62] ext/resource.c 74% [46/62] ext/resource.o 75% [47/62] ext/ruby-config.h 77% [48/62] ext/setup.c 79% [49/62] ext/setup.o 80% [50/62] ext/tags.c 82% [51/62] ext/tags.h 83% [52/62] ext/tags.o 85% [53/62] ext/toc.c 87% [54/62] ext/toc.o 88% [55/62] ext/version.c 90% [56/62] ext/version.o 91% [57/62] ext/xml.c 93% [58/62] ext/xml.o 95% [59/62] ext/xmlpage.c 96% [60/62] ext/xmlpage.o 98% [61/62] lib/markdown.rb 100% [62/62] lib/rdiscount.rb Installing ri documentation for rdiscount-2.2.0.1 Installing darkfish documentation for rdiscount-2.2.0.1 Done installing documentation for rdiscount after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IptAmt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 + cd rdiscount-2.2.0.1 + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/man/man1 + mv ./usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1 /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/man/man1 + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/lib64/gems/ruby/rdiscount-2.2.0.1 + cp -a ./usr/lib64/gems/ruby/rdiscount-2.2.0.1/gem.build_complete ./usr/lib64/gems/ruby/rdiscount-2.2.0.1/rdiscount.so /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/lib64/gems/ruby/rdiscount-2.2.0.1/ + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/gems/gems/rdiscount-2.2.0.1/ext/ + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/bin + mv ./usr/bin/rdiscount /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/share/gems/gems/rdiscount-2.2.0.1/bin -type f + xargs chmod a+x + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 2.2.0.1-1.el8 --unique-debug-suffix -2.2.0.1-1.el8.x86_64 --unique-debug-src-base rubygem-rdiscount-2.2.0.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rdiscount-2.2.0.1 extracting debug info from /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64/usr/lib64/gems/ruby/rdiscount-2.2.0.1/rdiscount.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 254 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/rdiscount-2.2.0.1/bin/rdiscount from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YBJtdi + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1 ~/build/BUILD/rdiscount-2.2.0.1 ~/build/BUILD/rdiscount-2.2.0.1 + cd rdiscount-2.2.0.1 + pushd ./usr/share/gems/gems/rdiscount-2.2.0.1 + popd + exit 0 Processing files: rubygem-rdiscount-2.2.0.1-1.el8.x86_64 Provides: rubygem(rdiscount) = 2.2.0.1-1 rubygem-rdiscount = 2.2.0.1-1.el8 rubygem-rdiscount(x86-64) = 2.2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-rdiscount-doc-2.2.0.1-1.el8.noarch Provides: rubygem-rdiscount-doc = 2.2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-rdiscount-debugsource-2.2.0.1-1.el8.x86_64 Provides: rubygem-rdiscount-debugsource = 2.2.0.1-1.el8 rubygem-rdiscount-debugsource(x86-64) = 2.2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-rdiscount-debuginfo-2.2.0.1-1.el8.x86_64 Provides: debuginfo(build-id) = 84b996f9dc23a4fbb5afac42c3cbba1712c466a6 rubygem-rdiscount-debuginfo = 2.2.0.1-1.el8 rubygem-rdiscount-debuginfo(x86-64) = 2.2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-rdiscount-debugsource(x86-64) = 2.2.0.1-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-rdiscount-2.2.0.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-doc-2.2.0.1-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-debugsource-2.2.0.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-debuginfo-2.2.0.1-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0zejR8 + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-1.el8.x86_64 + exit 0 Child return code was: 0