Task #130797 - stdout.log

back to task #130797
download
COMMAND: koji -p koji download-build --noprogress --arch=src discount-2.2.7-15.fc45
-------------------------------------------------------------------------------
Downloading [1/1]: discount-2.2.7-15.fc45.src.rpm
COMMAND: su - csmock --session-command 'cd /tmp/tmp6aef9yu2 && csmock -r fedora-rawhide-x86_64 -t gcc,clippy,unicontrol,shellcheck,cppcheck -o /tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.tar.xz --gcc-analyze --unicontrol-notests --unicontrol-bidi-only --install pam --gcc-analyzer-bin=/usr/bin/gcc /tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.src.rpm'
-------------------------------------------------------------------------------
scan.ini: [scan]
scan.ini: tool = csmock
scan.ini: tool-version = csmock-3.8.7.HEAD-1.el9
scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.src.rpm'
scan.ini: host = ip-172-16-1-245.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.tar.xz
scan.ini: time-created = 2026-08-03 13:49:25
scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol
scan.ini: mock-config = fedora-rawhide-x86_64
scan.ini: project-name = discount-2.2.7-15.fc45
scan.ini: known-false-positives = /usr/share/csmock/known-false-positives.js
scan.ini: known-false-positives-rpm = known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
>>> 2026-08-03 13:49:25	rpm -qa | sort -V > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/rpm-list-host.txt'

scan.ini: analyzer-version-unicontrol = 0.0.2
>>> 2026-08-03 13:49:26	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--init"
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --init
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Mock Version: 6.7
INFO: Mock Version: 6.7
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run

>>> 2026-08-03 13:49:27	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784073600
Wrote: /builddir/build/SRPMS/discount-2.2.7-15.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package             Arch   Version               Repository      Size
Installing:
 cmake              x86_64 0:4.3.0-5.fc45        fedora      40.4 MiB
 gcc                x86_64 0:16.1.1-4.fc45.1     fedora     121.8 MiB
 make               x86_64 1:4.4.1-13.fc45       fedora       1.8 MiB
Installing dependencies:
 annobin-docs       noarch 0:13.28-1.fc45        fedora      99.7 KiB
 annobin-plugin-gcc x86_64 0:13.28-1.fc45        fedora     709.4 KiB
 cmake-data         noarch 0:4.3.0-5.fc45        fedora       9.4 MiB
 cmake-filesystem   x86_64 0:4.3.0-5.fc45        fedora       0.0   B
 cmake-rpm-macros   noarch 0:4.3.0-5.fc45        fedora       8.4 KiB
 cpp                x86_64 0:16.1.1-4.fc45.1     fedora      42.6 MiB
 emacs-filesystem   x86_64 1:30.2-3.fc45         fedora       0.0   B
 expat              x86_64 0:2.8.1-2.fc45        fedora     323.5 KiB
 gcc-plugin-annobin x86_64 0:16.1.1-4.fc45.1     fedora      57.1 KiB
 glibc-devel        x86_64 0:2.43.9000-25.fc45   fedora       2.3 MiB
 jsoncpp            x86_64 0:1.9.6-3.fc44        fedora     285.6 KiB
 kernel-headers     x86_64 0:7.2.0-0.rc5.41.fc45 fedora       7.0 MiB
 libatomic          x86_64 0:16.1.1-4.fc45.1     fedora      45.6 KiB
 libmpc             x86_64 0:1.4.1-2.fc45        fedora     168.8 KiB
 libuv              x86_64 1:1.52.1-2.fc45       fedora     593.2 KiB
 libxcrypt-devel    x86_64 0:4.5.2-4.fc45        fedora      31.0 KiB
 mpdecimal          x86_64 0:4.0.1-4.fc45        fedora     221.2 KiB
 ninja-build        x86_64 0:1.13.2-6.fc45       fedora     497.5 KiB
 python-pip-wheel   noarch 0:26.1.2-2.fc45       fedora       1.2 MiB
 python3            x86_64 0:3.15.0~b4-1.fc45    fedora      28.7 KiB
 python3-libs       x86_64 0:3.15.0~b4-1.fc45    fedora      48.1 MiB
 rhash              x86_64 0:1.4.5-5.fc45        fedora     354.8 KiB
 tzdata             noarch 0:2026b-2.fc45        fedora       1.2 MiB
 vim-filesystem     noarch 2:9.2.843-1.fc45      fedora      40.0   B

Transaction Summary:
 Installing:        27 packages

Total size of inbound packages is 93 MiB. Need to download 0 B.
After this operation, 279 MiB extra will be used (install 279 MiB, remove 0 B).
[ 1/27] gcc-0:16.1.1-4.fc45.1.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 2/27] make-1:4.4.1-13.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 3/27] cmake-0:4.3.0-5.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 4/27] cpp-0:16.1.1-4.fc45.1.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 5/27] libmpc-0:1.4.1-2.fc45.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 6/27] cmake-data-0:4.3.0-5.fc45.noarc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 7/27] cmake-filesystem-0:4.3.0-5.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 8/27] expat-0:2.8.1-2.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 9/27] jsoncpp-0:1.9.6-3.fc44.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[10/27] libuv-1:1.52.1-2.fc45.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[11/27] rhash-0:1.4.5-5.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[12/27] emacs-filesystem-1:30.2-3.fc45. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[13/27] vim-filesystem-2:9.2.843-1.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[14/27] glibc-devel-0:2.43.9000-25.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[15/27] libxcrypt-devel-0:4.5.2-4.fc45. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[16/27] libatomic-0:16.1.1-4.fc45.1.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[17/27] kernel-headers-0:7.2.0-0.rc5.41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[18/27] annobin-plugin-gcc-0:13.28-1.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[19/27] gcc-plugin-annobin-0:16.1.1-4.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[20/27] annobin-docs-0:13.28-1.fc45.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[21/27] cmake-rpm-macros-0:4.3.0-5.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[22/27] ninja-build-0:1.13.2-6.fc45.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[23/27] python3-0:3.15.0~b4-1.fc45.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[24/27] python3-libs-0:3.15.0~b4-1.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[25/27] mpdecimal-0:4.0.1-4.fc45.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[26/27] python-pip-wheel-0:26.1.2-2.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[27/27] tzdata-0:2026b-2.fc45.noarch    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[27/27] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/29] Verify package files            100% |  69.0   B/s |  27.0   B |  00m00s
[ 2/29] Prepare transaction             100% | 380.0   B/s |  27.0   B |  00m00s
[ 3/29] Installing vim-filesystem-2:9.2 100% | 372.6 KiB/s |   4.8 KiB |  00m00s
[ 4/29] Installing expat-0:2.8.1-2.fc45 100% |  13.2 MiB/s | 325.6 KiB |  00m00s
[ 5/29] Installing cmake-filesystem-0:4 100% |   1.3 MiB/s |   9.4 KiB |  00m00s
[ 6/29] Installing libmpc-0:1.4.1-2.fc4 100% |  33.3 MiB/s | 170.4 KiB |  00m00s
[ 7/29] Installing make-1:4.4.1-13.fc45 100% |  60.1 MiB/s |   1.8 MiB |  00m00s
[ 8/29] Installing cpp-0:16.1.1-4.fc45. 100% | 297.6 MiB/s |  42.6 MiB |  00m00s
[ 9/29] Installing tzdata-0:2026b-2.fc4 100% |  24.8 MiB/s |   1.5 MiB |  00m00s
[10/29] Installing python-pip-wheel-0:2 100% | 207.6 MiB/s |   1.2 MiB |  00m00s
[11/29] Installing mpdecimal-0:4.0.1-4. 100% |  21.7 MiB/s | 222.7 KiB |  00m00s
[12/29] Installing python3-libs-0:3.15. 100% | 246.3 MiB/s |  48.5 MiB |  00m00s
[13/29] Installing python3-0:3.15.0~b4- 100% |   1.4 MiB/s |  30.5 KiB |  00m00s
[14/29] Installing ninja-build-0:1.13.2 100% |  21.3 MiB/s | 500.6 KiB |  00m00s
[15/29] Installing cmake-rpm-macros-0:4 100% |   2.9 MiB/s |   9.0 KiB |  00m00s
[16/29] Installing annobin-docs-0:13.28 100% |  19.7 MiB/s | 100.8 KiB |  00m00s
[17/29] Installing kernel-headers-0:7.2 100% | 115.3 MiB/s |   7.1 MiB |  00m00s
[18/29] Installing glibc-devel-0:2.43.9 100% |  82.4 MiB/s |   2.4 MiB |  00m00s
[19/29] Installing libxcrypt-devel-0:4. 100% |   8.1 MiB/s |  33.3 KiB |  00m00s
[20/29] Installing libatomic-0:16.1.1-4 100% |   9.1 MiB/s |  46.7 KiB |  00m00s
[21/29] Installing gcc-0:16.1.1-4.fc45. 100% | 360.5 MiB/s | 121.8 MiB |  00m00s
[22/29] Installing emacs-filesystem-1:3 100% | 264.3 KiB/s | 812.0   B |  00m00s
[23/29] Installing rhash-0:1.4.5-5.fc45 100% |  14.1 MiB/s | 360.1 KiB |  00m00s
[24/29] Installing libuv-1:1.52.1-2.fc4 100% |  83.1 MiB/s | 596.0 KiB |  00m00s
[25/29] Installing jsoncpp-0:1.9.6-3.fc 100% |  56.1 MiB/s | 287.1 KiB |  00m00s
[26/29] Installing cmake-0:4.3.0-5.fc45 100% | 290.8 MiB/s |  40.4 MiB |  00m00s
[27/29] Installing cmake-data-0:4.3.0-5 100% |  58.6 MiB/s |  10.1 MiB |  00m00s
[28/29] Installing annobin-plugin-gcc-0 100% |  46.3 MiB/s | 711.1 KiB |  00m00s
[29/29] Installing gcc-plugin-annobin-0 100% |  17.4 KiB/s |  58.5 KiB |  00m03s
Complete!
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784073600
Wrote: /builddir/build/SRPMS/discount-2.2.7-15.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package "cmake-4.3.0-5.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.

Nothing to do.

>>> 2026-08-03 13:49:38	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   2.0 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-9.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.

Package          Arch   Version         Repository      Size
Installing:
 ShellCheck      x86_64 0:0.11.0-5.fc45 fedora      22.4 MiB
 cppcheck        x86_64 0:2.21.1-2.fc45 fedora      11.1 MiB
 pam             x86_64 0:1.7.2-4.fc45  fedora       1.6 MiB
Installing dependencies:
 authselect      x86_64 0:1.7.1-2.fc45  fedora     202.1 KiB
 authselect-libs x86_64 0:1.7.1-2.fc45  fedora     889.7 KiB
 cracklib        x86_64 0:2.10.3-2.fc45 fedora     234.6 KiB
 gdbm            x86_64 1:1.23-12.fc45  fedora     455.9 KiB
 libnsl2         x86_64 0:2.0.1-6.fc45  fedora      57.7 KiB
 libpwquality    x86_64 0:1.4.5-18.fc45 fedora     412.7 KiB
 libtirpc        x86_64 0:1.3.7-3.fc45  fedora     208.3 KiB
 numactl-libs    x86_64 0:2.0.19-5.fc45 fedora      56.8 KiB
 tinyxml2        x86_64 0:11.0.0-6.fc45 fedora     108.7 KiB

Transaction Summary:
 Installing:        12 packages

Total size of inbound packages is 8 MiB. Need to download 0 B.
After this operation, 38 MiB extra will be used (install 38 MiB, remove 0 B).
[ 1/12] cppcheck-0:2.21.1-2.fc45.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 2/12] ShellCheck-0:0.11.0-5.fc45.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 3/12] pam-0:1.7.2-4.fc45.x86_64       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 4/12] tinyxml2-0:11.0.0-6.fc45.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 5/12] numactl-libs-0:2.0.19-5.fc45.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 6/12] authselect-0:1.7.1-2.fc45.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 7/12] libnsl2-0:2.0.1-6.fc45.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 8/12] libpwquality-0:1.4.5-18.fc45.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 9/12] libtirpc-0:1.3.7-3.fc45.x86_64  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[10/12] authselect-libs-0:1.7.1-2.fc45. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[11/12] cracklib-0:2.10.3-2.fc45.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[12/12] gdbm-1:1.23-12.fc45.x86_64      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[12/12] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/14] Verify package files            100% | 315.0   B/s |  12.0   B |  00m00s
[ 2/14] Prepare transaction             100% | 521.0   B/s |  12.0   B |  00m00s
[ 3/14] Installing libtirpc-0:1.3.7-3.f 100% |  51.4 MiB/s | 210.4 KiB |  00m00s
[ 4/14] Installing libnsl2-0:2.0.1-6.fc 100% |  28.7 MiB/s |  58.9 KiB |  00m00s
[ 5/14] Installing gdbm-1:1.23-12.fc45. 100% |  19.6 MiB/s | 460.8 KiB |  00m00s
[ 6/14] Installing cracklib-0:2.10.3-2. 100% |   9.6 MiB/s | 246.7 KiB |  00m00s
[ 7/14] Installing libpwquality-0:1.4.5 100% |  16.6 MiB/s | 425.1 KiB |  00m00s
[ 8/14] Installing authselect-libs-0:1. 100% |  63.2 MiB/s | 906.3 KiB |  00m00s
[ 9/14] Installing numactl-libs-0:2.0.1 100% |  18.8 MiB/s |  57.7 KiB |  00m00s
[10/14] Installing tinyxml2-0:11.0.0-6. 100% |  35.8 MiB/s | 110.1 KiB |  00m00s
[11/14] Installing cppcheck-0:2.21.1-2. 100% | 217.7 MiB/s |  11.1 MiB |  00m00s
[12/14] Installing ShellCheck-0:0.11.0- 100% | 355.2 MiB/s |  22.4 MiB |  00m00s
[13/14] Installing authselect-0:1.7.1-2 100% |   9.2 MiB/s | 208.0 KiB |  00m00s
[14/14] Installing pam-0:1.7.2-4.fc45.x 100% |  16.8 MiB/s |   1.7 MiB |  00m00s
Complete!

>>> 2026-08-03 13:49:39	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 13:49:40	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockk0rltjta/rpm-list-mock-provides.txt

>>> 2026-08-03 13:49:41	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--copyin" "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm" "/builddir/discount-2.2.7-15.fc45.src.rpm"

>>> 2026-08-03 13:49:42	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chown mockbuild -R /builddir"

>>> 2026-08-03 13:49:43	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/builddir/discount-2.2.7-15.fc45.src.rpm'\""
Updating / installing...
discount-2.2.7-15.fc45                ########################################

>>> 2026-08-03 13:49:44	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/discount.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/discount-2.2.7-15.fc45.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1784073600
Wrote: /builddir/build/SRPMS/discount-2.2.7-15.fc45.src.rpm
renamed 'discount-2.2.7-15.fc45.src.rpm' -> '/builddir/discount-2.2.7-15.fc45.src.rpm'

>>> 2026-08-03 13:49:45	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/discount-2.2.7-15.fc45.src.rpm" "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm"

>>> 2026-08-03 13:49:46	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784073600
Wrote: /builddir/build/SRPMS/discount-2.2.7-15.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package "cmake-4.3.0-5.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.

Nothing to do.

>>> 2026-08-03 13:49:49	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-9.fc45.x86_64" is already installed.
Package "pam-1.7.2-4.fc45.x86_64" is already installed.
Package "cppcheck-2.21.1-2.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "ShellCheck-0.11.0-5.fc45.x86_64" is already installed.

Nothing to do.

>>> 2026-08-03 13:49:50	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 13:49:51	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockk0rltjta/rpm-list-mock-provides.txt

>>> 2026-08-03 13:49:52	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "clippy"
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package          Arch   Version                   Repository      Size
Installing:
 clippy          x86_64 0:1.97.1-2.fc45           fedora      14.4 MiB
Installing dependencies:
 cargo           x86_64 0:1.97.1-2.fc45           fedora      23.7 MiB
 libedit         x86_64 0:3.1-60.20260512cvs.fc45 fedora     248.3 KiB
 libgit2_1.9     x86_64 0:1.9.6-1.fc45            fedora       1.4 MiB
 libssh2         x86_64 0:1.11.1-10.fc45          fedora     334.6 KiB
 llhttp          x86_64 0:9.4.2-2.fc45            fedora      97.2 KiB
 llvm-filesystem x86_64 0:22.1.8-20.fc45          fedora       0.0   B
 llvm-libs       x86_64 0:22.1.8-20.fc45          fedora     140.5 MiB
 rust            x86_64 0:1.97.1-2.fc45           fedora      94.7 MiB
 rust-std-static x86_64 0:1.97.1-2.fc45           fedora     165.3 MiB

Transaction Summary:
 Installing:        10 packages

Total size of inbound packages is 117 MiB. Need to download 0 B.
After this operation, 441 MiB extra will be used (install 441 MiB, remove 0 B).
[ 1/10] clippy-0:1.97.1-2.fc45.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 2/10] cargo-0:1.97.1-2.fc45.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 3/10] rust-0:1.97.1-2.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 4/10] libgit2_1.9-0:1.9.6-1.fc45.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 5/10] libssh2-0:1.11.1-10.fc45.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 6/10] llvm-libs-0:22.1.8-20.fc45.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 7/10] rust-std-static-0:1.97.1-2.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 8/10] llhttp-0:9.4.2-2.fc45.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 9/10] libedit-0:3.1-60.20260512cvs.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[10/10] llvm-filesystem-0:22.1.8-20.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[10/10] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/12] Verify package files            100% |  20.0   B/s |  10.0   B |  00m00s
[ 2/12] Prepare transaction             100% | 434.0   B/s |  10.0   B |  00m00s
[ 3/12] Installing libssh2-0:1.11.1-10. 100% |  65.7 MiB/s | 336.3 KiB |  00m00s
[ 4/12] Installing llvm-filesystem-0:22 100% | 531.2 KiB/s |   1.1 KiB |  00m00s
[ 5/12] Installing libedit-0:3.1-60.202 100% |  81.4 MiB/s | 250.0 KiB |  00m00s
[ 6/12] Installing llvm-libs-0:22.1.8-2 100% | 419.3 MiB/s | 140.5 MiB |  00m00s
[ 7/12] Installing rust-0:1.97.1-2.fc45 100% | 362.8 MiB/s |  94.7 MiB |  00m00s
[ 8/12] Installing rust-std-static-0:1. 100% | 430.6 MiB/s | 165.3 MiB |  00m00s
[ 9/12] Installing llhttp-0:9.4.2-2.fc4 100% |  48.1 MiB/s |  98.6 KiB |  00m00s
[10/12] Installing libgit2_1.9-0:1.9.6- 100% | 200.0 MiB/s |   1.4 MiB |  00m00s
[11/12] Installing cargo-0:1.97.1-2.fc4 100% | 285.7 MiB/s |  23.7 MiB |  00m00s
[12/12] Installing clippy-0:1.97.1-2.fc 100% |   5.4 MiB/s |  14.4 MiB |  00m03s
Complete!

>>> 2026-08-03 13:49:58	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "python3-magic"
Updating and loading repositories:
 fedora                                 100% |   2.2 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package        Arch   Version          Repository      Size
Installing:
 python3-magic noarch 0:0.4.27-18.fc45 fedora      68.3 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 32 KiB. Need to download 0 B.
After this operation, 68 KiB extra will be used (install 68 KiB, remove 0 B).
[1/1] python3-magic-0:0.4.27-18.fc45.no 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/3] Verify package files              100% |   0.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction               100% | 200.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-magic-0:0.4.27 100% |   2.1 MiB/s |  72.2 KiB |  00m00s
Complete!

>>> 2026-08-03 13:50:00	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "python3-six"
Updating and loading repositories:
 fedora                                 100% |   2.0 MiB/s |  25.1 KiB |  00m00s
Repositories loaded.
Package      Arch   Version          Repository      Size
Installing:
 python3-six noarch 0:1.17.0-10.fc45 fedora     118.2 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 42 KiB. Need to download 0 B.
After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B).
[1/1] python3-six-0:1.17.0-10.fc45.noar 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/3] Verify package files              100% |   0.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction               100% | 142.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-six-0:1.17.0-1 100% |   4.4 MiB/s | 120.5 KiB |  00m00s
Complete!

>>> 2026-08-03 13:50:01	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 13:50:02	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockk0rltjta/rpm-list-mock-provides.txt

>>> 2026-08-03 13:50:03	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chown mockbuild -R /builddir"

>>> 2026-08-03 13:50:04	tar -cP '/usr/share/csmock/scripts' '/usr/libexec/csgrep-static' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm' | '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'tar -xC/'
tar: Removing leading `/' from member names

scan.ini: analyzer-version-clippy = 1.97.1
>>> 2026-08-03 13:50:05	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh"
renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original'

scan.ini: analyzer-version-cppcheck = 2.21.1
scan.ini: analyzer-version-gcc = 16.1.1
>>> 2026-08-03 13:50:07	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\""

>>> 2026-08-03 13:50:07	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fanalyzer-assume-nothrow\""

>>> 2026-08-03 13:50:08	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\""

>>> 2026-08-03 13:50:09	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "echo '#!/bin/bash
fn=\$(flock /builddir/gcc-results mktemp \"/builddir/gcc-results/\$\$-XXXX.sarif\")
exec /usr/bin/gcc \"\$@\" -fdiagnostics-set-output=\"sarif:file=\$fn\"
' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper"

>>> 2026-08-03 13:50:10	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper"

scan.ini: analyzer-version-gcc-analyzer = 16.1.1
scan.ini: analyzer-version-shellcheck = 0.11.0
>>> 2026-08-03 13:50:12	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"mkdir -pv '/builddir/gcc-results' && touch '/builddir/gcc-results/empty.sarif'\""
mkdir: created directory '/builddir/gcc-results'

>>> 2026-08-03 13:50:13	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45.src.rpm'\""
Updating / installing...
discount-2.2.7-15.fc45                ########################################

>>> 2026-08-03 13:50:14	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chmod -R +r /builddir"

>>> 2026-08-03 13:50:14	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done"
RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh
+ sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs
'/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true'
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh

>>> 2026-08-03 13:50:15	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/discount.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/discount.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.7
INFO: Mock Version: 6.7
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Start: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1784073600
Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.7siid8
Creating(rpmbuild.env): /builddir/build/BUILD/discount-2.2.7-build/rpmbuild.env
  RPM_SOURCE_DIR="/builddir/build/SOURCES"
  RPM_BUILD_DIR="/builddir/build/BUILD/discount-2.2.7-build"
  RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
  RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  "
  RPM_ARCH="x86_64"
  RPM_OS="linux"
  RPM_BUILD_NCPUS="8"
  RPM_SPECPARTS_DIR="/builddir/build/BUILD/discount-2.2.7-build/SPECPARTS"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="discount"
  RPM_PACKAGE_VERSION="2.2.7"
  RPM_PACKAGE_RELEASE="15.fc45"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C.UTF-8
  export LANG
  unset CDPATH DISPLAY ||:
  unset DEBUGINFOD_URLS ||:
  unset RPM_CONFIG_DIR ||:
  RPM_BUILD_ROOT="/builddir/build/BUILD/discount-2.2.7-build/BUILDROOT"
  export RPM_BUILD_ROOT
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig"
  export PKG_CONFIG_PATH
  CONFIG_SITE=${CONFIG_SITE:-NONE}
  export CONFIG_SITE
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4tnJun
+ umask 022
+ cd /builddir/build/BUILD/discount-2.2.7-build
+ cd /builddir/build/BUILD/discount-2.2.7-build
+ rm -rf discount-2.2.7
+ /usr/bin/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 .
Patch #0 (discount-dont-run-ldconfig.patch):
+ echo '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
Patch #3 (discount-c99.patch):
+ echo '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
Finish: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run

>>> 2026-08-03 13:50:16	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chmod -R +r /builddir/build"

>>> 2026-08-03 13:50:17	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/discount.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/discount.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.7
INFO: Mock Version: 6.7
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1784073600
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tjHbDe
+ umask 022
+ cd /builddir/build/BUILD/discount-2.2.7-build
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '
+ 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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
+ ./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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" are okay
LDFLAGS="-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  " 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 <inttypes.h>)
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 -j8 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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c main.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c:311:36: warning: passing argument 2 of ‘mkd_e_code_format’ from incompatible pointer type [-Wincompatible-pointer-types] <--[gcc]
  311 |             mkd_e_code_format(doc, external_codefmt);
      |                                    ^~~~~~~~~~~~~~~~
      |                                    |
      |                                    char * (*)(char *, int,  char *)
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c:12: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/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 *)’ <--[gcc]
   71 | void mkd_e_code_format(void*, mkd_callback_t);
      |                               ^~~~~~~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c:103:1: note: ‘external_codefmt’ declared here <--[gcc]
  103 | external_codefmt(char *src, int len, char *lang)
      | ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.h:65:18: note: ‘mkd_callback_t’ declared here <--[gcc]
   65 | typedef char * (*mkd_callback_t)(const char*, const int, void*);
      |                  ^~~~~~~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/main.c:78: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/notspecial.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o dumptree.o dumptree.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/pgm_options.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘hoptset’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:13:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   13 | hoptset(ctx, argc, argv)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘hoptarg’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:26:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   26 | hoptarg(ctx)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘hoptind’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:33:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   33 | hoptind(ctx)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘hoptopt’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:40:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   40 | hoptopt(ctx)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘hopterr’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:48:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   48 | hopterr(ctx,val)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c: In function ‘gethopt’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/gethopt.c:60:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   60 | gethopt(ctx, opts, nropts)
      | ^~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c:44: error: unknownEvaluationOrder(CWE-768): Expression '((*sp).size++)[((*sp).size<(*sp).alloc)?((*sp).text):((*sp).text=(*sp).text?realloc((*sp).text,sizeof(*sp).text[0]*((*sp).alloc+=100)):malloc(sizeof(*sp).text[0]*((*sp).alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:5, <--[gcc]
                 from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c:8: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c: In function ‘pushpfx’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘sp->size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c:44:24: note: in expansion of macro ‘EXPAND’ <--[gcc]
   44 |     struct frame *q = &EXPAND(*sp);
      |                        ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c: In function ‘dumptree’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c:112:15: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  112 |             d += fprintf(f, "[h%d", pp->hnumber);
      |               ^~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/dumptree.c:103:9: note: ‘d’ was declared here <--[gcc]
  103 |     int d;
      |         ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:238: error: memleak(CWE-401): Memory leak: res <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:13: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c: In function ‘__mkd_enqueue’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘p->text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:61:17: note: in expansion of macro ‘EXPAND’ <--[gcc]
   61 |                 EXPAND(p->text) = ' ';
      |                 ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘p->text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:67:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
   67 |             EXPAND(p->text) = c;
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘p->text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:71:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
   71 |     EXPAND(p->text) = 0;
      |     ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c: In function ‘populate’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘line.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:123:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
  123 |             EXPAND(line) = c;
      |             ^~~~~~
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:14: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c: In function ‘mkd_generatehtml’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:193:5: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
  193 |     DO_OR_DIE( szdoc = mkd_document(p,&doc) );
      |     ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:195:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
  195 |         DO_OR_DIE( mkd_generatexml(doc, szdoc, output) );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:198:5: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
  198 |     DO_OR_DIE( putc('\n', output) );
      |     ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c: In function ‘mkd_line’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f.out.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:333:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
  333 |         EXPAND(f.out) = 0;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:50: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: p <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:71: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: p <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:72: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: p <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:73: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: p <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:61: error: unknownEvaluationOrder(CWE-768): Expression '(p->text.size++)[(p->text.size<(p->text).alloc)?(p->text.text):(p->text.text=(p->text).text?realloc(p->text.text,sizeof(p->text).text[0]*(p->text.alloc+=100)):malloc(sizeof(p->text).text[0]*(p->text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:67: error: unknownEvaluationOrder(CWE-768): Expression '(p->text.size++)[(p->text.size<(p->text).alloc)?(p->text.text):(p->text.text=(p->text).text?realloc(p->text.text,sizeof(p->text).text[0]*(p->text.alloc+=100)):malloc(sizeof(p->text).text[0]*(p->text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:71: error: unknownEvaluationOrder(CWE-768): Expression '(p->text.size++)[(p->text.size<(p->text).alloc)?(p->text.text):(p->text.text=(p->text).text?realloc(p->text.text,sizeof(p->text).text[0]*(p->text.alloc+=100)):malloc(sizeof(p->text).text[0]*(p->text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:123: error: unknownEvaluationOrder(CWE-768): Expression '(line.size++)[(line.size<(line).alloc)?(line.text):(line.text=(line).text?realloc(line.text,sizeof(line).text[0]*(line.alloc+=100)):malloc(sizeof(line).text[0]*(line.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkdio.c:333: error: unknownEvaluationOrder(CWE-768): Expression '(f.out.size++)[(f.out.size<(f.out).alloc)?(f.out.text):(f.out.text=(f.out).text?realloc(f.out.text,sizeof(f.out).text[0]*(f.out.alloc+=100)):malloc(sizeof(f.out).text[0]*(f.out.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o mkdio.o mkdio.c
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o docheader.o docheader.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/docheader.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o xml.o xml.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:80: error: unknownEvaluationOrder(CWE-768): Expression '(f.size++)[(f.size<(f).alloc)?(f.text):(f.text=(f).text?realloc(f.text,sizeof(f).text[0]*(f.alloc+=100)):malloc(sizeof(f).text[0]*(f.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:17: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c: In function ‘mkd_generatexml’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:50:13: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   50 |             DO_OR_DIE( fputs(entity, out) );
      |             ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:52:13: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   52 |             DO_OR_DIE( fputc(c, out) );
      |             ^~~~~~~~~
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:16: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c: In function ‘mkd_xml’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xml.c:80:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
   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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o branch.o tools/branch.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/branch.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/branch.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/branch.c:7:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
    7 | main(argc, argv)
      | ^~~~
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o css.o css.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/css.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/css.c:60: error: unknownEvaluationOrder(CWE-768): Expression '(f.size++)[(f.size<(f).alloc)?(f.text):(f.text=(f).text?realloc(f.text,sizeof(f).text[0]*(f.alloc+=100)):malloc(sizeof(f).text[0]*(f.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/css.c:16: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/css.c: In function ‘mkd_css’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/css.c:60:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
   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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o resource.o resource.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/resource.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/resource.c:102: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: f->footnotes <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o xmlpage.o xmlpage.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:10: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c: In function ‘mkd_xhtmlpage’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:20:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   20 |         DO_OR_DIE( fprintf(out, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:26:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   26 |         DO_OR_DIE( fprintf(out, "<head>\n") );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:27:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   27 |         DO_OR_DIE( fprintf(out, "<title>") );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:29:13: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   29 |             DO_OR_DIE( fprintf(out, "%s", title) );
      |             ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:31:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   31 |         DO_OR_DIE( fprintf(out, "</title>\n") );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:32:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   32 |         DO_OR_DIE( mkd_generatecss(p, out) );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:33:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   33 |         DO_OR_DIE( fprintf(out, "</head>\n"
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:36:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   36 |         DO_OR_DIE( mkd_generatehtml(p, out) );
      |         ^~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.h:264:59: warning: statement with no effect [-Wunused-value] <--[gcc]
  264 | #define DO_OR_DIE(op) if ( (op) == EOF ) return EOF; else 1
      |                                                           ^
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/xmlpage.c:37:9: note: in expansion of macro ‘DO_OR_DIE’ <--[gcc]
   37 |         DO_OR_DIE( fprintf(out, "</body>\n"
      |         ^~~~~~~~~
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o toc.o toc.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/toc.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/toc.c:89: error: unknownEvaluationOrder(CWE-768): Expression '(res.size++)[(res.size<(res).alloc)?(res.text):(res.text=(res).text?realloc(res.text,sizeof(res).text[0]*(res.alloc+=100)):malloc(sizeof(res).text[0]*(res.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/toc.c:14: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/toc.c: In function ‘mkd_toc’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘res.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/toc.c:89:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
   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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o basename.o basename.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/basename.c:28: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/basename.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o Csio.o Csio.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/Csio.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/Csio.c:14: error: unknownEvaluationOrder(CWE-768): Expression '((*iot).size++)[((*iot).size<(*iot).alloc)?((*iot).text):((*iot).text=(*iot).text?realloc((*iot).text,sizeof(*iot).text[0]*((*iot).alloc+=100)):malloc(sizeof(*iot).text[0]*((*iot).alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/Csio.c:4: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/Csio.c: In function ‘Csputc’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘iot->size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/Csio.c:14:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
   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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o html5.o html5.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/html5.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o setup.o setup.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/setup.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o flags.o flags.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/flags.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o mktags.o mktags.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mktags.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mktags.c:18: error: unknownEvaluationOrder(CWE-768): Expression '(blocktags.size++)[(blocktags.size<(blocktags).alloc)?(blocktags.text):(blocktags.text=(blocktags).text?realloc(blocktags.text,sizeof(blocktags).text[0]*(blocktags.alloc+=100)):malloc(sizeof(blocktags).text[0]*(blocktags.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mktags.c:7: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mktags.c: In function ‘define_one_tag’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘blocktags.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mktags.c:18:21: note: in expansion of macro ‘EXPAND’ <--[gcc]
   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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o github_flavoured.o github_flavoured.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:47: error: unknownEvaluationOrder(CWE-768): Expression '(line.size++)[(line.size<(line).alloc)?(line.text):(line.text=(line).text?realloc(line.text,sizeof(line).text[0]*(line.alloc+=100)):malloc(sizeof(line).text[0]*(line.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:15: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c: In function ‘gfm_populate’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘line.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:47:17: note: in expansion of macro ‘EXPAND’ <--[gcc]
   47 |                 EXPAND(line) = ' ';
      |                 ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘line.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:48:17: note: in expansion of macro ‘EXPAND’ <--[gcc]
   48 |                 EXPAND(line) = ' ';
      |                 ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘line.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:54:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
   54 |             EXPAND(line) = c;
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:48: error: unknownEvaluationOrder(CWE-768): Expression '(line.size++)[(line.size<(line).alloc)?(line.text):(line.text=(line).text?realloc(line.text,sizeof(line).text[0]*(line.alloc+=100)):malloc(sizeof(line).text[0]*(line.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/github_flavoured.c:54: error: unknownEvaluationOrder(CWE-768): Expression '(line.size++)[(line.size<(line).alloc)?(line.text):(line.text=(line).text?realloc(line.text,sizeof(line).text[0]*(line.alloc+=100)):malloc(sizeof(line).text[0]*(line.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o emmatch.o emmatch.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/emmatch.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/emmatch.c:79: error: unknownEvaluationOrder(CWE-768): Expression '(p->b_text.size++)[(p->b_text.size<(p->b_text).alloc)?(p->b_text.text):(p->b_text.text=(p->b_text).text?realloc(p->b_text.text,sizeof(p->b_text).text[0]*(p->b_text.alloc+=100)):malloc(sizeof(p->b_text).text[0]*(p->b_text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/emmatch.c:16: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/emmatch.c: In function ‘emfill’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘p->b_text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/emmatch.c:79:11: note: in expansion of macro ‘EXPAND’ <--[gcc]
   79 |           EXPAND(p->b_text) = p->b_char;
      |           ^~~~~~
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o mkd2html.o mkd2html.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:116: error: unknownEvaluationOrder(CWE-768): Expression '(css.size++)[(css.size<(css).alloc)?(css.text):(css.text=(css).text?realloc(css.text,sizeof(css).text[0]*(css.alloc+=100)):malloc(sizeof(css).text[0]*(css.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:37: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘css.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:116:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
  116 |             EXPAND(css) = hoptarg(&flags);
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘headers.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:119:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
  119 |             EXPAND(headers) = hoptarg(&flags);
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘footers.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:122:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
  122 |             EXPAND(footers) = hoptarg(&flags);
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:119: error: unknownEvaluationOrder(CWE-768): Expression '(headers.size++)[(headers.size<(headers).alloc)?(headers.text):(headers.text=(headers).text?realloc(headers.text,sizeof(headers).text[0]*(headers.alloc+=100)):malloc(sizeof(headers).text[0]*(headers.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/mkd2html.c:122: error: unknownEvaluationOrder(CWE-768): Expression '(footers.size++)[(footers.size<(footers).alloc)?(footers.text):(footers.text=(footers).text?realloc(footers.text,sizeof(footers).text[0]*(footers.alloc+=100)):malloc(sizeof(footers).text[0]*(footers.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c makepage.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/makepage.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/makepage.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/makepage.c:33:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   33 | main(argc, argv)
      | ^~~~
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o pandoc_headers.o tools/pandoc_headers.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/echo.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/cols.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tools/pandoc_headers.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o branch branch.o
gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o echo echo.o
gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o mktags mktags.o
./mktags > blocktags
gcc -Wno-return-type -Wno-implicit-int -L. -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o cols cols.o
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DBRANCH=`./branch` -DVERSION=\"`cat VERSION`\" -c version.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/version.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o tags.o tags.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c:34: error: unknownEvaluationOrder(CWE-768): Expression '(extratags.size++)[(extratags.size<(extratags).alloc)?(extratags.text):(extratags.text=(extratags).text?realloc(extratags.text,sizeof(extratags).text[0]*(extratags.alloc+=100)):malloc(sizeof(extratags).text[0]*(extratags.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c:6: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c: In function ‘mkd_define_tag’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘extratags.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c:34:14: note: in expansion of macro ‘EXPAND’ <--[gcc]
   34 |         p = &EXPAND(extratags);
      |              ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/tags.c:79: error: uninitvar(CWE-457): Uninitialized variable: &key.selfclose <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o theme.o theme.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:34: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c: In function ‘prepare’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘inbuf.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:188:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
  188 |         EXPAND(inbuf) = c;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c: In function ‘finclude’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘include.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:271:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
  271 |         EXPAND(include) = c;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘include.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:274:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
  274 |         EXPAND(include) = 0;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:593:13: warning: variable ‘added_text’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  593 |         int added_text=0;
      |             ^~~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:154: error: memleak(CWE-401): Memory leak: cwd <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:188: error: unknownEvaluationOrder(CWE-768): Expression '(inbuf.size++)[(inbuf.size<(inbuf).alloc)?(inbuf.text):(inbuf.text=(inbuf).text?realloc(inbuf.text,sizeof(inbuf).text[0]*(inbuf.alloc+=100)):malloc(sizeof(inbuf).text[0]*(inbuf.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:271: error: unknownEvaluationOrder(CWE-768): Expression '(include.size++)[(include.size<(include).alloc)?(include.text):(include.text=(include).text?realloc(include.text,sizeof(include).text[0]*(include.alloc+=100)):malloc(sizeof(include).text[0]*(include.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/theme.c:274: error: unknownEvaluationOrder(CWE-768): Expression '(include.size++)[(include.size<(include).alloc)?(include.text):(include.text=(include).text?realloc(include.text,sizeof(include).text[0]*(include.alloc+=100)):malloc(sizeof(include).text[0]*(include.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o generate.o generate.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1712: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: text <--[cppcheck]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:16: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘push’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->in.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:37:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
   37 |         EXPAND(f->in) = *bfr++;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘pushc’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->in.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:47:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
   47 |     EXPAND(f->in) = c;
      |     ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘Qchar’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->Q.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:136:16: note: in expansion of macro ‘EXPAND’ <--[gcc]
  136 |         cur = &EXPAND(f->Q);
      |                ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘cur->b_text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:143:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
  143 |     EXPAND(cur->b_text) = c;
      |     ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘Qem’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->Q.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:198:17: note: in expansion of macro ‘EXPAND’ <--[gcc]
  198 |     block *p = &EXPAND(f->Q);
      |                 ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->Q.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:205:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
  205 |     memset(&EXPAND(f->Q), 0, sizeof(block));
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘p_or_nothing’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:629:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  629 | p_or_nothing(p)
      | ^~~~~~~~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘printtable’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘align.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1630:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1630 |         EXPAND(align) = it;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘align.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1643:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1643 |             EXPAND(align) = a_NONE;
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c: In function ‘mkd_document’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘p->ctx->out.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1984:17: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1984 |                 EXPAND(p->ctx->out) = 0;
      |                 ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1714: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: text <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1710: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:37: error: unknownEvaluationOrder(CWE-768): Expression '(f->in.size++)[(f->in.size<(f->in).alloc)?(f->in.text):(f->in.text=(f->in).text?realloc(f->in.text,sizeof(f->in).text[0]*(f->in.alloc+=100)):malloc(sizeof(f->in).text[0]*(f->in.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:47: error: unknownEvaluationOrder(CWE-768): Expression '(f->in.size++)[(f->in.size<(f->in).alloc)?(f->in.text):(f->in.text=(f->in).text?realloc(f->in.text,sizeof(f->in).text[0]*(f->in.alloc+=100)):malloc(sizeof(f->in).text[0]*(f->in.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:136: error: unknownEvaluationOrder(CWE-768): Expression '(f->Q.size++)[(f->Q.size<(f->Q).alloc)?(f->Q.text):(f->Q.text=(f->Q).text?realloc(f->Q.text,sizeof(f->Q).text[0]*(f->Q.alloc+=100)):malloc(sizeof(f->Q).text[0]*(f->Q.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:143: error: unknownEvaluationOrder(CWE-768): Expression '(cur->b_text.size++)[(cur->b_text.size<(cur->b_text).alloc)?(cur->b_text.text):(cur->b_text.text=(cur->b_text).text?realloc(cur->b_text.text,sizeof(cur->b_text).text[0]*(cur->b_text.alloc+=100)):malloc(sizeof(cur->b_text).text[0]*(cur->b_text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:198: error: unknownEvaluationOrder(CWE-768): Expression '(f->Q.size++)[(f->Q.size<(f->Q).alloc)?(f->Q.text):(f->Q.text=(f->Q).text?realloc(f->Q.text,sizeof(f->Q).text[0]*(f->Q.alloc+=100)):malloc(sizeof(f->Q).text[0]*(f->Q.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:205: error: unknownEvaluationOrder(CWE-768): Expression '(f->Q.size++)[(f->Q.size<(f->Q).alloc)?(f->Q.text):(f->Q.text=(f->Q).text?realloc(f->Q.text,sizeof(f->Q).text[0]*(f->Q.alloc+=100)):malloc(sizeof(f->Q).text[0]*(f->Q.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1630: error: unknownEvaluationOrder(CWE-768): Expression '(align.size++)[(align.size<(align).alloc)?(align.text):(align.text=(align).text?realloc(align.text,sizeof(align).text[0]*(align.alloc+=100)):malloc(sizeof(align).text[0]*(align.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1643: error: unknownEvaluationOrder(CWE-768): Expression '(align.size++)[(align.size<(align).alloc)?(align.text):(align.text=(align).text?realloc(align.text,sizeof(align).text[0]*(align.alloc+=100)):malloc(sizeof(align).text[0]*(align.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/generate.c:1984: error: unknownEvaluationOrder(CWE-768): Expression '(p->ctx->out.size++)[(p->ctx->out.size<(p->ctx->out).alloc)?(p->ctx->out.text):(p->ctx->out.text=(p->ctx->out).text?realloc(p->ctx->out.text,sizeof(p->ctx->out).text[0]*(p->ctx->out.alloc+=100)):malloc(sizeof(p->ctx->out).text[0]*(p->ctx->out.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
gcc -Wno-return-type -Wno-implicit-int -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o markdown.o markdown.c
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c: warning: -Wno-implicit-int detected - is this intentional ? <--[gcc]
In file included from /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:16: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c: In function ‘splitline’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘tmp->text.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:174:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
  174 |         EXPAND(tmp->text) = 0;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c: In function ‘addfootnote’: <--[gcc]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘f->footnotes->note.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1066:23: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1066 |     Footnote *foot = &EXPAND(f->footnotes->note);
      |                       ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->tag.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1076:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1076 |         EXPAND(foot->tag) = T(p->text)[j];
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->tag.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1077:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1077 |     EXPAND(foot->tag) = 0;
      |     ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->link.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1099:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1099 |         EXPAND(foot->link) = T(p->text)[j++];
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->link.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1100:5: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1100 |     EXPAND(foot->link) = 0;
      |     ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->title.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1126:13: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1126 |             EXPAND(foot->title) = T(p->text)[j++];
      |             ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/cstring.h:22:30: warning: operation on ‘foot->title.size’ may be undefined [-Wsequence-point] <--[gcc]
   22 | #define EXPAND(x)       (S(x)++)[(S(x) < (x).alloc) \
      |                         ~~~~~^~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1132:9: note: in expansion of macro ‘EXPAND’ <--[gcc]
 1132 |         EXPAND(foot->title) = 0;
      |         ^~~~~~
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:170: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: tmp <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:173: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: tmp <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:174: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: tmp <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:175: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: tmp <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1150: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: ret <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1151: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: ret <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1451: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: doc->ctx->footnotes <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:174: error: unknownEvaluationOrder(CWE-768): Expression '(tmp->text.size++)[(tmp->text.size<(tmp->text).alloc)?(tmp->text.text):(tmp->text.text=(tmp->text).text?realloc(tmp->text.text,sizeof(tmp->text).text[0]*(tmp->text.alloc+=100)):malloc(sizeof(tmp->text).text[0]*(tmp->text.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1066: error: unknownEvaluationOrder(CWE-768): Expression '(f->footnotes->note.size++)[(f->footnotes->note.size<(f->footnotes->note).alloc)?(f->footnotes->note.text):(f->footnotes->note.text=(f->footnotes->note).text?realloc(f->footnotes->note.text,sizeof(f->footnotes->note).text[0]*(f->footnotes->note.alloc+=100)):malloc(sizeof(f->footnotes->note).text[0]*(f->footnotes->note.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1076: error: unknownEvaluationOrder(CWE-768): Expression '(foot->tag.size++)[(foot->tag.size<(foot->tag).alloc)?(foot->tag.text):(foot->tag.text=(foot->tag).text?realloc(foot->tag.text,sizeof(foot->tag).text[0]*(foot->tag.alloc+=100)):malloc(sizeof(foot->tag).text[0]*(foot->tag.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1077: error: unknownEvaluationOrder(CWE-768): Expression '(foot->tag.size++)[(foot->tag.size<(foot->tag).alloc)?(foot->tag.text):(foot->tag.text=(foot->tag).text?realloc(foot->tag.text,sizeof(foot->tag).text[0]*(foot->tag.alloc+=100)):malloc(sizeof(foot->tag).text[0]*(foot->tag.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1099: error: unknownEvaluationOrder(CWE-768): Expression '(foot->link.size++)[(foot->link.size<(foot->link).alloc)?(foot->link.text):(foot->link.text=(foot->link).text?realloc(foot->link.text,sizeof(foot->link).text[0]*(foot->link.alloc+=100)):malloc(sizeof(foot->link).text[0]*(foot->link.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1100: error: unknownEvaluationOrder(CWE-768): Expression '(foot->link.size++)[(foot->link.size<(foot->link).alloc)?(foot->link.text):(foot->link.text=(foot->link).text?realloc(foot->link.text,sizeof(foot->link).text[0]*(foot->link.alloc+=100)):malloc(sizeof(foot->link).text[0]*(foot->link.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1126: error: unknownEvaluationOrder(CWE-768): Expression '(foot->title.size++)[(foot->title.size<(foot->title).alloc)?(foot->title.text):(foot->title.text=(foot->title).text?realloc(foot->title.text,sizeof(foot->title).text[0]*(foot->title.alloc+=100)):malloc(sizeof(foot->title).text[0]*(foot->title.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/markdown.c:1132: error: unknownEvaluationOrder(CWE-768): Expression '(foot->title.size++)[(foot->title.size<(foot->title).alloc)?(foot->title.text):(foot->title.text=(foot->title).text?realloc(foot->title.text,sizeof(foot->title).text[0]*(foot->title.alloc+=100)):malloc(sizeof(foot->title).text[0]*(foot->title.alloc+=100)))]' depends on order of evaluation of side effects <--[cppcheck]
./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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o theme theme.o pgm_options.o gethopt.o notspecial.o -lmarkdown 
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run

>>> 2026-08-03 13:50:24	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "rpmbuild --nocheck"

>>> 2026-08-03 13:50:25	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/discount.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/discount.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.7
INFO: Mock Version: 6.7
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1784073600
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IfwG2l
+ umask 022
+ cd /builddir/build/BUILD/discount-2.2.7-build
+ '[' /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
++ dirname /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/discount-2.2.7-build
+ mkdir /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '
+ 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
+ /usr/bin/make install DESTDIR=/builddir/build/BUILD/discount-2.2.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' install.man install.samples DESTDIR=/builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/include
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64/pkgconfig
/usr/bin/install -s -m 755 markdown /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin
./librarian.sh install libmarkdown VERSION /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64
/usr/bin/install -m 444 mkdio.h /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/include
/usr/bin/install -m 444 libmarkdown.pc /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64/pkgconfig
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man3
/usr/bin/install -m 444 mkd-callbacks.3 mkd-functions.3 markdown.3 mkd-line.3 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man3
for x in mkd_line mkd_generateline; do \
    ( echo '.\"' ; echo ".so man3/mkd-line.3" ) > /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man3/$x.3;\
done
for x in mkd_in mkd_string; do \
    ( echo '.\"' ; echo ".so man3/markdown.3" ) > /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man3/$x.3;\
done
for x in mkd_compile mkd_css mkd_generatecss mkd_generatehtml mkd_cleanup mkd_doc_title mkd_doc_author mkd_doc_date; do \
    ( echo '.\"' ; echo ".so man3/mkd-functions.3" ) > /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man3/$x.3; \
done
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man7
/usr/bin/install -m 444 markdown.7 mkd-extensions.7 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man7
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1
/usr/bin/install -m 444 markdown.1 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1
/builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/config.md /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1
for x in mkd2html makepage theme; do \
    /usr/bin/install -s -m 755 $x /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/$x; \
    /usr/bin/install -m 444 $x.1 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/$x.1; \
done
+ install -D -m 644 libmarkdown.pc /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64/pkgconfig/
+ cp -pav libmarkdown.pc /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64/pkgconfig/
'libmarkdown.pc' -> '/builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/lib64/pkgconfig/libmarkdown.pc'
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/makepage /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/discount-makepage
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/mkd2html /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/discount-mkd2html
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/theme /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/bin/discount-theme
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/makepage.1 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/discount-makepage.1
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/mkd2html.1 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/discount-mkd2html.1
+ mv /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/theme.1 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/man/man1/discount-theme.1
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.2.7-15.fc45 --unique-debug-suffix -2.2.7-15.fc45.x86_64 --unique-debug-src-base discount-2.2.7-15.fc45.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7
find-debuginfo: starting
Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/discount-2.2.7-15.fc45.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ COMPRESS='gzip -9 -n'
+ COMPRESS_EXT=.gz
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-det --brp -j8 /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
Scanned 18 directories and 56 files,
    processed 22 inodes,
    0 modified (0 replaced + 0 rewritten),
    0 unsupported format, 0 errors
+ /usr/bin/linkdupes --brp /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr
Scanned 17 directories and 56 files,
    considered 54 files, read 12 files, linked 9 files, 0 errors
    sum of sizes of linked files: 431 bytes
Reading /builddir/build/BUILD/discount-2.2.7-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: discount-2.2.7-15.fc45.x86_64
Provides: discount = 2.2.7-15.fc45 discount(x86-64) = 2.2.7-15.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libmarkdown.so.2()(64bit) rtld(GNU_HASH)
Processing files: libmarkdown-2.2.7-15.fc45.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k1FJWX
+ umask 022
+ cd /builddir/build/BUILD/discount-2.2.7-build
+ cd discount-2.2.7
+ DOCDIR=/builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/doc/libmarkdown
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/doc/libmarkdown
+ cp -pr /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/README /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/doc/libmarkdown
+ cp -pr /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/COPYRIGHT /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/doc/libmarkdown
+ cp -pr /builddir/build/BUILD/discount-2.2.7-build/discount-2.2.7/CREDITS /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT/usr/share/doc/libmarkdown
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libmarkdown = 2.2.7-15.fc45 libmarkdown(x86-64) = 2.2.7-15.fc45 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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH)
Processing files: libmarkdown-devel-2.2.7-15.fc45.x86_64
Provides: libmarkdown-devel = 2.2.7-15.fc45 libmarkdown-devel(x86-64) = 2.2.7-15.fc45 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-15.fc45.x86_64
Provides: discount-debugsource = 2.2.7-15.fc45 discount-debugsource(x86-64) = 2.2.7-15.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libmarkdown-debuginfo-2.2.7-15.fc45.x86_64
Provides: debuginfo(build-id) = 71151b5a1eee4bac0e552eb121d13b511f46e00b libmarkdown-debuginfo = 2.2.7-15.fc45 libmarkdown-debuginfo(x86-64) = 2.2.7-15.fc45 libmarkdown.so.2.2.7-2.2.7-15.fc45.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-15.fc45
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/discount-2.2.7-build/BUILDROOT
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/discount.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run

>>> 2026-08-03 13:50:27	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*"
Looking for shell scripts... done

>>> 2026-08-03 13:50:28	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log"

>>> 2026-08-03 13:50:29	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt' '/builddir/gcc-results'' | tar -xC '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets

>>> 2026-08-03 13:50:30	cat '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results/cswrap-capture.js'

>>> 2026-08-03 13:50:30	set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results/clippy-capture.err

>>> 2026-08-03 13:50:30	cd /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results/shellcheck-capture.json

>>> 2026-08-03 13:50:30	csgrep --mode=json '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results/unicontrol-capture.js'

>>> 2026-08-03 13:50:30	csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results/gcc-results.json"

scan.ini: time-finished = 2026-08-03 13:50:30
scan.ini: exit-code = 0
>>> 2026-08-03 13:50:30	cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan.ini' '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/uni-results'/* > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/scan-results-all.js'

>>> 2026-08-03 13:50:30	'/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' '/usr/libexec/csgrep-static --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/scan-results-all.js' >'/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/scan-results-all.js.tmp'

>>> 2026-08-03 13:50:31	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--clean"

>>> 2026-08-03 13:50:32	cat '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | sed -r 's|(/builddir/build/BUILD/)[^/]+-build/|\1|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\.c$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | csdiff --json-output --show-internal "/usr/share/csmock/known-false-positives.js" - | cssort --key=path > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.js'

>>> 2026-08-03 13:50:32	cat '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.js' - | cssort > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.js'

>>> 2026-08-03 13:50:32	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.js' > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.err'

>>> 2026-08-03 13:50:32	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.js' | cshtml - > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.html'

>>> 2026-08-03 13:50:32	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results.js' | tee '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/debug/suppressed-results-summary.txt'
     32	COMPILER_WARNING                                	warning
      2	COMPILER_WARNING                                	warning[-Wattributes]
      4	COMPILER_WARNING                                	warning[-Wbuiltin-declaration-mismatch]
      2	COMPILER_WARNING                                	warning[-Wincompatible-pointer-types]
      1	COMPILER_WARNING                                	warning[-Wmaybe-uninitialized]
      1	COMPILER_WARNING                                	warning[-Wnonnull]
     20	COMPILER_WARNING                                	warning[-Wold-style-definition]
     25	COMPILER_WARNING                                	warning[-Wsequence-point]
      1	COMPILER_WARNING                                	warning[-Wunused-but-set-variable=]
      1	COMPILER_WARNING                                	warning[-Wunused-value]
      4	CPPCHECK_WARNING                                	error[memleak]
      1	CPPCHECK_WARNING                                	error[nullPointerArithmeticOutOfMemory]
      1	CPPCHECK_WARNING                                	error[nullPointer]
      1	CPPCHECK_WARNING                                	error[uninitvar]
     39	CPPCHECK_WARNING                                	error[unknownEvaluationOrder]
     14	CPPCHECK_WARNING                                	warning[nullPointerOutOfMemory]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-fd-leak]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-malloc-leak]
      2	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-dereference]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-argument]
     12	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-use-of-uninitialized-value]

>>> 2026-08-03 13:50:32	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.js' > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.err'

>>> 2026-08-03 13:50:32	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.js' | cshtml - > '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.html'

>>> 2026-08-03 13:50:32	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results.js' | tee '/tmp/csmockk0rltjta/discount-2.2.7-15.fc45/scan-results-summary.txt'
     32	COMPILER_WARNING                                	warning
      2	COMPILER_WARNING                                	warning[-Wattributes]
      4	COMPILER_WARNING                                	warning[-Wbuiltin-declaration-mismatch]
      2	COMPILER_WARNING                                	warning[-Wincompatible-pointer-types]
      1	COMPILER_WARNING                                	warning[-Wmaybe-uninitialized]
      1	COMPILER_WARNING                                	warning[-Wnonnull]
     20	COMPILER_WARNING                                	warning[-Wold-style-definition]
     25	COMPILER_WARNING                                	warning[-Wsequence-point]
      1	COMPILER_WARNING                                	warning[-Wunused-but-set-variable=]
      1	COMPILER_WARNING                                	warning[-Wunused-value]
      4	CPPCHECK_WARNING                                	error[memleak]
      1	CPPCHECK_WARNING                                	error[nullPointerArithmeticOutOfMemory]
      1	CPPCHECK_WARNING                                	error[nullPointer]
      1	CPPCHECK_WARNING                                	error[uninitvar]
     39	CPPCHECK_WARNING                                	error[unknownEvaluationOrder]
     14	CPPCHECK_WARNING                                	warning[nullPointerOutOfMemory]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-fd-leak]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-malloc-leak]
      2	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-dereference]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-argument]
     12	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-use-of-uninitialized-value]

<<< 2026-08-03 13:50:32	csmock exit code: 0

Wrote: /tmp/tmp6aef9yu2/discount-2.2.7-15.fc45.tar.xz