Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/discount.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75645-52296/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/discount.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/discount-2.2.7-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/discount.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75645-52296/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/discount.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hRN8Kd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf discount-2.2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd discount-2.2.7 + /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 -f -p1 --fuzz=0 patching file configure.inc Hunk #1 succeeded at 1500 (offset 67 lines). Patch #1 (define_destructor.patch): + echo 'Patch #1 (define_destructor.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cmake/config.h.in Patch #2 (set_deps.patch): + echo 'Patch #2 (set_deps.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #3 (discount-c99.patch):' Patch #3 (discount-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.inc patching file configure.sh patching file gethopt.c patching file mkd2html.c patching file theme.c patching file tools/cols.c patching file tools/echo.c patching file tools/pandoc_headers.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ic5dQU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd discount-2.2.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + ./configure.sh --shared --prefix=/usr --execdir=/usr/bin --libdir=/usr/lib64 --mandir=/usr/share/man --enable-all-features --with-fenced-code --pkg-config Configuring for [markdown] checking the C compiler (gcc) oh ick, it looks like gcc CFLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" are okay LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1" are okay Looking for cpp (using $CC -E as a cpp pipeline) looking for install (/usr/bin/install) Setting theme default --with-fenced-code. Checking __attribute__((__destructor__)) (yes) checking for C compiler option to produce PIC (-fPIC) looking for find (/usr/bin/find) looking for "ln -s" (/usr/bin/ln) checking whether the C compiler can build shared libraries (yes; -shared) looking for ar (/usr/bin/ar) looking for ranlib (/usr/bin/ranlib) checking for "volatile" keyword (found) checking for "const" keyword (found) Checking for "inline" keyword (found) defining WORD & DWORD scalar types (using standard types in ) 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 sys/types.h (found) looking for header pwd.h (found) looking for the getpwuid function (found) looking for header sys/stat.h (found) looking for the stat function (found) special file macros in sys/stat.h: S_ISSOCK S_ISCHR S_ISFIFO. looking for the srandom function (found) looking for the memset 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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c notspecial.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o branch.o tools/branch.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o html5.o html5.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o xmlpage.o xmlpage.c In file included from xmlpage.c:10: xmlpage.c: In function 'mkd_xhtmlpage': ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:20:9: note: in expansion of macro 'DO_OR_DIE' 20 | DO_OR_DIE( fprintf(out, "\n" | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:26:9: note: in expansion of macro 'DO_OR_DIE' 26 | DO_OR_DIE( fprintf(out, "\n") ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:27:9: note: in expansion of macro 'DO_OR_DIE' 27 | DO_OR_DIE( fprintf(out, "") ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:29:13: note: in expansion of macro 'DO_OR_DIE' 29 | DO_OR_DIE( fprintf(out, "%s", title) ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:31:9: note: in expansion of macro 'DO_OR_DIE' 31 | DO_OR_DIE( fprintf(out, "\n") ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:32:9: note: in expansion of macro 'DO_OR_DIE' 32 | DO_OR_DIE( mkd_generatecss(p, out) ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:33:9: note: in expansion of macro 'DO_OR_DIE' 33 | DO_OR_DIE( fprintf(out, "\n" | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:36:9: note: in expansion of macro 'DO_OR_DIE' 36 | DO_OR_DIE( mkd_generatehtml(p, out) ); | ^~~~~~~~~ ./markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xmlpage.c:37:9: note: in expansion of macro 'DO_OR_DIE' 37 | DO_OR_DIE( fprintf(out, "\n" | ^~~~~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o setup.o setup.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o docheader.o docheader.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o basename.o basename.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c pgm_options.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o echo.o tools/echo.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o cols.o tools/cols.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o css.o css.c In file included from css.c:16: css.c: In function 'mkd_css': cstring.h:22:30: warning: operation on 'f.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ css.c:60:13: note: in expansion of macro 'EXPAND' 60 | EXPAND(f) = 0; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o mktags.o mktags.c In file included from mktags.c:7: mktags.c: In function 'define_one_tag': cstring.h:22:30: warning: operation on 'blocktags.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mktags.c:18:21: note: in expansion of macro 'EXPAND' 18 | struct kw *p = &EXPAND(blocktags); | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o xml.o xml.c In file included from xml.c:17: xml.c: In function 'mkd_generatexml': markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xml.c:50:13: note: in expansion of macro 'DO_OR_DIE' 50 | DO_OR_DIE( fputs(entity, out) ); | ^~~~~~~~~ markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ xml.c:52:13: note: in expansion of macro 'DO_OR_DIE' 52 | DO_OR_DIE( fputc(c, out) ); | ^~~~~~~~~ In file included from xml.c:16: xml.c: In function 'mkd_xml': cstring.h:22:30: warning: operation on 'f.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ xml.c:80:5: note: in expansion of macro 'EXPAND' 80 | EXPAND(f) = 0; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o flags.o flags.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o Csio.o Csio.c In file included from Csio.c:4: Csio.c: In function 'Csputc': cstring.h:22:30: warning: operation on 'iot->size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ Csio.c:14:5: note: in expansion of macro 'EXPAND' 14 | EXPAND(*iot) = c; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o github_flavoured.o github_flavoured.c In file included from github_flavoured.c:15: github_flavoured.c: In function 'gfm_populate': cstring.h:22:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ github_flavoured.c:47:17: note: in expansion of macro 'EXPAND' 47 | EXPAND(line) = ' '; | ^~~~~~ cstring.h:22:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ github_flavoured.c:48:17: note: in expansion of macro 'EXPAND' 48 | EXPAND(line) = ' '; | ^~~~~~ cstring.h:22:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ github_flavoured.c:54:13: note: in expansion of macro 'EXPAND' 54 | EXPAND(line) = c; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o toc.o toc.c In file included from toc.c:14: toc.c: In function 'mkd_toc': cstring.h:22:30: warning: operation on 'res.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ toc.c:89:9: note: in expansion of macro 'EXPAND' 89 | EXPAND(res) = 0; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c makepage.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o pandoc_headers.o tools/pandoc_headers.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o resource.o resource.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o dumptree.o dumptree.c In file included from markdown.h:5, from dumptree.c:8: dumptree.c: In function 'pushpfx': cstring.h:22:30: warning: operation on 'sp->size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ dumptree.c:44:24: note: in expansion of macro 'EXPAND' 44 | struct frame *q = &EXPAND(*sp); | ^~~~~~ dumptree.c: In function 'dumptree': dumptree.c:112:15: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 112 | d += fprintf(f, "[h%d", pp->hnumber); | ^~ dumptree.c:103:9: note: 'd' was declared here 103 | int d; | ^ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c gethopt.c gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o emmatch.o emmatch.c In file included from emmatch.c:16: emmatch.c: In function 'emfill': cstring.h:22:30: warning: operation on 'p->b_text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ emmatch.c:79:11: note: in expansion of macro 'EXPAND' 79 | EXPAND(p->b_text) = p->b_char; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o branch branch.o gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DBRANCH=`./branch` -DVERSION=\"`cat VERSION`\" -c version.c gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o echo echo.o gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o mkd2html.o mkd2html.c In file included from mkd2html.c:37: mkd2html.c: In function 'main': cstring.h:22:30: warning: operation on 'css.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkd2html.c:116:13: note: in expansion of macro 'EXPAND' 116 | EXPAND(css) = hoptarg(&flags); | ^~~~~~ cstring.h:22:30: warning: operation on 'headers.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkd2html.c:119:13: note: in expansion of macro 'EXPAND' 119 | EXPAND(headers) = hoptarg(&flags); | ^~~~~~ cstring.h:22:30: warning: operation on 'footers.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkd2html.c:122:13: note: in expansion of macro 'EXPAND' 122 | EXPAND(footers) = hoptarg(&flags); | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c main.c main.c: In function 'main': main.c:311:36: warning: passing argument 2 of 'mkd_e_code_format' from incompatible pointer type [-Wincompatible-pointer-types] 311 | mkd_e_code_format(doc, external_codefmt); | ^~~~~~~~~~~~~~~~ | | | char * (*)(char *, int, char *) In file included from main.c:12: ./mkdio.h:71:31: note: expected 'mkd_callback_t' {aka 'char * (*)(const char *, const int, void *)'} but argument is of type 'char * (*)(char *, int, char *)' 71 | void mkd_e_code_format(void*, mkd_callback_t); | ^~~~~~~~~~~~~~ gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o cols cols.o gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mktags mktags.o ./mktags > blocktags gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o mkdio.o mkdio.c In file included from mkdio.c:13: mkdio.c: In function '__mkd_enqueue': cstring.h:22:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:61:17: note: in expansion of macro 'EXPAND' 61 | EXPAND(p->text) = ' '; | ^~~~~~ cstring.h:22:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:67:13: note: in expansion of macro 'EXPAND' 67 | EXPAND(p->text) = c; | ^~~~~~ cstring.h:22:30: warning: operation on 'p->text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:71:5: note: in expansion of macro 'EXPAND' 71 | EXPAND(p->text) = 0; | ^~~~~~ mkdio.c: In function 'populate': cstring.h:22:30: warning: operation on 'line.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:123:13: note: in expansion of macro 'EXPAND' 123 | EXPAND(line) = c; | ^~~~~~ In file included from mkdio.c:14: mkdio.c: In function 'mkd_generatehtml': markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ mkdio.c:193:5: note: in expansion of macro 'DO_OR_DIE' 193 | DO_OR_DIE( szdoc = mkd_document(p,&doc) ); | ^~~~~~~~~ markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ mkdio.c:195:9: note: in expansion of macro 'DO_OR_DIE' 195 | DO_OR_DIE( mkd_generatexml(doc, szdoc, output) ); | ^~~~~~~~~ markdown.h:264:59: warning: statement with no effect [-Wunused-value] 264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1 | ^ mkdio.c:198:5: note: in expansion of macro 'DO_OR_DIE' 198 | DO_OR_DIE( putc('\n', output) ); | ^~~~~~~~~ mkdio.c: In function 'mkd_line': cstring.h:22:30: warning: operation on 'f.out.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ mkdio.c:333:9: note: in expansion of macro 'EXPAND' 333 | EXPAND(f.out) = 0; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o tags.o tags.c In file included from tags.c:6: tags.c: In function 'mkd_define_tag': cstring.h:22:30: warning: operation on 'extratags.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ tags.c:34:14: note: in expansion of macro 'EXPAND' 34 | p = &EXPAND(extratags); | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o theme.o theme.c In file included from theme.c:34: theme.c: In function 'prepare': cstring.h:22:30: warning: operation on 'inbuf.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ theme.c:188:9: note: in expansion of macro 'EXPAND' 188 | EXPAND(inbuf) = c; | ^~~~~~ theme.c: In function 'finclude': cstring.h:22:30: warning: operation on 'include.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ theme.c:271:9: note: in expansion of macro 'EXPAND' 271 | EXPAND(include) = c; | ^~~~~~ cstring.h:22:30: warning: operation on 'include.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ theme.c:274:9: note: in expansion of macro 'EXPAND' 274 | EXPAND(include) = 0; | ^~~~~~ theme.c: In function 'main': theme.c:593:13: warning: variable 'added_text' set but not used [-Wunused-but-set-variable] 593 | int added_text=0; | ^~~~~~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o markdown.o markdown.c In file included from markdown.c:16: markdown.c: In function 'splitline': cstring.h:22:30: warning: operation on 'tmp->text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:174:9: note: in expansion of macro 'EXPAND' 174 | EXPAND(tmp->text) = 0; | ^~~~~~ markdown.c: In function 'addfootnote': cstring.h:22:30: warning: operation on 'f->footnotes->note.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1066:23: note: in expansion of macro 'EXPAND' 1066 | Footnote *foot = &EXPAND(f->footnotes->note); | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1076:9: note: in expansion of macro 'EXPAND' 1076 | EXPAND(foot->tag) = T(p->text)[j]; | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1077:5: note: in expansion of macro 'EXPAND' 1077 | EXPAND(foot->tag) = 0; | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1099:9: note: in expansion of macro 'EXPAND' 1099 | EXPAND(foot->link) = T(p->text)[j++]; | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1100:5: note: in expansion of macro 'EXPAND' 1100 | EXPAND(foot->link) = 0; | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1126:13: note: in expansion of macro 'EXPAND' 1126 | EXPAND(foot->title) = T(p->text)[j++]; | ^~~~~~ cstring.h:22:30: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ markdown.c:1132:9: note: in expansion of macro 'EXPAND' 1132 | EXPAND(foot->title) = 0; | ^~~~~~ gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o generate.o generate.c In file included from generate.c:16: generate.c: In function 'push': cstring.h:22:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:37:9: note: in expansion of macro 'EXPAND' 37 | EXPAND(f->in) = *bfr++; | ^~~~~~ generate.c: In function 'pushc': cstring.h:22:30: warning: operation on 'f->in.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:47:5: note: in expansion of macro 'EXPAND' 47 | EXPAND(f->in) = c; | ^~~~~~ generate.c: In function 'Qchar': cstring.h:22:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:136:16: note: in expansion of macro 'EXPAND' 136 | cur = &EXPAND(f->Q); | ^~~~~~ cstring.h:22:30: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:143:5: note: in expansion of macro 'EXPAND' 143 | EXPAND(cur->b_text) = c; | ^~~~~~ generate.c: In function 'Qem': cstring.h:22:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:198:17: note: in expansion of macro 'EXPAND' 198 | block *p = &EXPAND(f->Q); | ^~~~~~ cstring.h:22:30: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:205:13: note: in expansion of macro 'EXPAND' 205 | memset(&EXPAND(f->Q), 0, sizeof(block)); | ^~~~~~ generate.c: In function 'printtable': cstring.h:22:30: warning: operation on 'align.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:1630:9: note: in expansion of macro 'EXPAND' 1630 | EXPAND(align) = it; | ^~~~~~ cstring.h:22:30: warning: operation on 'align.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:1643:13: note: in expansion of macro 'EXPAND' 1643 | EXPAND(align) = a_NONE; | ^~~~~~ generate.c: In function 'mkd_document': cstring.h:22:30: warning: operation on 'p->ctx->out.size' may be undefined [-Wsequence-point] 22 | #define EXPAND(x) (S(x)++)[(S(x) < (x).alloc) \ | ~~~~~^~~ generate.c:1984:17: note: in expansion of macro 'EXPAND' 1984 | EXPAND(p->ctx->out) = 0; | ^~~~~~ ./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 gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o pandoc_headers pandoc_headers.o pgm_options.o gethopt.o notspecial.o -lmarkdown gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o makepage makepage.o pgm_options.o gethopt.o notspecial.o -lmarkdown gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mkd2html mkd2html.o pgm_options.o gethopt.o notspecial.o -lmarkdown gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o markdown main.o pgm_options.o gethopt.o notspecial.o -lmarkdown gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o theme theme.o pgm_options.o gethopt.o notspecial.o -lmarkdown + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jpLhdy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 + cd discount-2.2.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 /builddir/build/BUILD/discount-2.2.7/config.md /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin /builddir/build/BUILD/discount-2.2.7/config.md /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64 /builddir/build/BUILD/discount-2.2.7/config.md /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/include /builddir/build/BUILD/discount-2.2.7/config.md /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/pkgconfig /usr/bin/install -s -m 755 markdown /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin ./librarian.sh install libmarkdown VERSION /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64 /usr/bin/install -m 444 mkdio.h /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/include /usr/bin/install -m 444 libmarkdown.pc /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/pkgconfig + install -D -m 644 libmarkdown.pc /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/pkgconfig/ + cp -pav libmarkdown.pc /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/pkgconfig/ 'libmarkdown.pc' -> '/builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/pkgconfig/libmarkdown.pc' + install -D -m 755 makepage /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-makepage + install -D -m 755 mkd2html /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-mkd2html + install -D -m 755 theme /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-theme + install -D -m 644 makepage.1 /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/man/man1/discount-makepage.1 + install -D -m 644 mkd2html.1 /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/man/man1/discount-mkd2html.1 + install -D -m 644 theme.1 /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/man/man1/discount-theme.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.2.7-1.oc9 --unique-debug-suffix -2.2.7-1.oc9.x86_64 --unique-debug-src-base discount-2.2.7-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/discount-2.2.7 extracting debug info from /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-mkd2html extracting debug info from /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-makepage extracting debug info from /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/bin/discount-theme extracting debug info from /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/lib64/libmarkdown.so.2.2.7 309 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: discount-2.2.7-1.oc9.x86_64 Provides: discount = 2.2.7-1.oc9 discount(x86-64) = 2.2.7-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmarkdown.so.2()(64bit) rtld(GNU_HASH) Processing files: libmarkdown-2.2.7-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IcaCNz + umask 022 + cd /builddir/build/BUILD + cd discount-2.2.7 + DOCDIR=/builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/doc/libmarkdown + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/doc/libmarkdown + cp -pr README /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/doc/libmarkdown + cp -pr COPYRIGHT /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/doc/libmarkdown + cp -pr CREDITS /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64/usr/share/doc/libmarkdown + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmarkdown = 2.2.7-1.oc9 libmarkdown(x86-64) = 2.2.7-1.oc9 libmarkdown.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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) rtld(GNU_HASH) Processing files: libmarkdown-devel-2.2.7-1.oc9.x86_64 Provides: libmarkdown-devel = 2.2.7-1.oc9 libmarkdown-devel(x86-64) = 2.2.7-1.oc9 pkgconfig(libmarkdown) = 2.2.7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libmarkdown.so.2()(64bit) Processing files: discount-debugsource-2.2.7-1.oc9.x86_64 Provides: discount-debugsource = 2.2.7-1.oc9 discount-debugsource(x86-64) = 2.2.7-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: discount-debuginfo-2.2.7-1.oc9.x86_64 Provides: debuginfo(build-id) = 0a7e5d1898e49dad2baf523355bf1c7bee2f4f18 debuginfo(build-id) = 3939e1700a65214abbc1f49cb330d67b02164b22 debuginfo(build-id) = 46863b8f6635bf2308c5540b0bb9cabcd5b70c35 discount-debuginfo = 2.2.7-1.oc9 discount-debuginfo(x86-64) = 2.2.7-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: discount-debugsource(x86-64) = 2.2.7-1.oc9 Processing files: libmarkdown-debuginfo-2.2.7-1.oc9.x86_64 Provides: debuginfo(build-id) = b6f772809b39b5da235169d1196b19015bc2aab5 libmarkdown-debuginfo = 2.2.7-1.oc9 libmarkdown-debuginfo(x86-64) = 2.2.7-1.oc9 libmarkdown.so.2.2.7-2.2.7-1.oc9.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: discount-debugsource(x86-64) = 2.2.7-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/discount-2.2.7-1.oc9.x86_64 Wrote: /builddir/build/RPMS/libmarkdown-devel-2.2.7-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/discount-2.2.7-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libmarkdown-2.2.7-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/discount-debuginfo-2.2.7-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/discount-debugsource-2.2.7-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libmarkdown-debuginfo-2.2.7-1.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0