Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/capypdf.spec'], chrootPath='/var/lib/mock/f45-build-6703-350/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4ab641f6ae25472495b60fd81c8af976', '-D', '/var/lib/mock/f45-build-6703-350/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/capypdf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/capypdf-0.11.0-10.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/capypdf.spec'], chrootPath='/var/lib/mock/f45-build-6703-350/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1829492fc2834dd29cc1236f2ba347b7', '-D', '/var/lib/mock/f45-build-6703-350/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xb7dfru:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/capypdf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.NopvUn Creating(rpmbuild.env): /builddir/build/BUILD/capypdf-0.11.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/capypdf-0.11.0-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -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="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/capypdf-0.11.0-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="capypdf" RPM_PACKAGE_VERSION="0.11.0" RPM_PACKAGE_RELEASE="10.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/capypdf-0.11.0-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.6PeHbF + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + cd /builddir/build/BUILD/capypdf-0.11.0-build + rm -rf capypdf-0.11.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/capypdf-0.11.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd capypdf-0.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + GIT_COMMITTER_DATE=@1784073600 + GIT_AUTHOR_DATE=@1784073600 + /usr/bin/git commit -q --no-gpg-sign --allow-empty -a --author 'rpm-build ' -m 'capypdf-0.11.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-Building-devtools-is-now-optional.patch + GIT_COMMITTER_DATE=@1784073600 + /usr/bin/git am --reject -q Checking patch src/hbtest.cpp => devtools/hbtest.cpp... Checking patch devtools/meson.build... Checking patch src/pdfparser.cpp => devtools/pdfparser.cpp... Checking patch src/pdfparser.hpp => devtools/pdfparser.hpp... Checking patch src/pdfviewer.cpp => devtools/pdfviewer.cpp... Checking patch meson.build... Checking patch meson.options... Checking patch src/meson.build... Applied patch src/hbtest.cpp => devtools/hbtest.cpp cleanly. Applied patch devtools/meson.build cleanly. Applied patch src/pdfparser.cpp => devtools/pdfparser.cpp cleanly. Applied patch src/pdfparser.hpp => devtools/pdfparser.hpp cleanly. Applied patch src/pdfviewer.cpp => devtools/pdfviewer.cpp cleanly. Applied patch meson.build cleanly. Applied patch meson.options cleanly. Applied patch src/meson.build cleanly. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%conf): /bin/sh -e /var/tmp/rpm-tmp.6DXgGi + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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,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 capypdf-0.11.0 + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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,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 + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/bin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.12.1 Source dir: /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0 Build dir: /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: capypdf Project version: 0.11.0 C compiler for the host machine: gcc (gcc 16.1.1 "gcc (GCC) 16.1.1 20260703 (Red Hat 16.1.1-4)") C linker for the host machine: gcc ld.bfd 2.47.20260726 C++ compiler for the host machine: g++ (gcc 16.1.1 "g++ (GCC) 16.1.1 20260703 (Red Hat 16.1.1-4)") C++ linker for the host machine: g++ ld.bfd 2.47.20260726 Host machine cpu family: riscv64 Host machine cpu: riscv64 Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1 Run-time dependency libpng found: YES 1.6.58 Run-time dependency zlib found: YES 1.3.1.zlib-ng Run-time dependency lcms2 found: YES 2.16 Run-time dependency libjpeg found: YES 3.1.4.1 Run-time dependency freetype2 found: YES 26.6.20 Run-time dependency libtiff-4 found: YES 4.7.2 Configuring capypdf.h using configuration src/meson.build:37: WARNING: Project does not target a minimum version but uses feature introduced in '1.1.0': objects arg in declare_dependency. Program python3 found: YES (/usr/bin/python3) Program capypdftests.py found: YES (/builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/test/capypdftests.py) Program syntaxchecks.py found: YES (/builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/test/syntaxchecks.py) Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1 Build targets in project: 6 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} * 1.1.0: {'objects arg in declare_dependency'} capypdf 0.11.0 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/bin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.13.2 at /usr/bin/ninja + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nldlmC + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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,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 capypdf-0.11.0 + /usr/bin/meson compile -C redhat-linux-build -j8 --verbose ninja: Entering directory `/builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build' [1/25] gcc -Itest/ctest.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test/ctest.p/ctest.c.o -MF test/ctest.p/ctest.c.o.d -o test/ctest.p/ctest.c.o -c ../test/ctest.c [2/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/capypch.hpp.gch -MF src/libcapypdf.so.0.11.0.p/capypch.hpp.gch.d -o src/libcapypdf.so.0.11.0.p/capypch.hpp.gch -c ../src/pch/capypch.hpp [3/25] g++ -Isrc/formtest.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/formtest.p/formtest.cpp.o -MF src/formtest.p/formtest.cpp.o.d -o src/formtest.p/formtest.cpp.o -c ../src/formtest.cpp ../src/formtest.cpp: In function ‘int draw_simple_form()’: ../src/formtest.cpp:23:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 23 | xobj.cmd_BMC("/Tx"); | ~~~~~~~~~~~~^~~~~~~ In file included from ../src/pdfgen.hpp:6, from ../src/formtest.cpp:4: ../src/pdfdrawcontext.hpp:96:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_BMC(std::string_view)’, declared here 96 | rvoe cmd_BMC(std::string_view tag); | ^~~~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdrawcontext.hpp:6: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:24:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 24 | xobj.cmd_EMC(); | ~~~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:104:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_EMC()’, declared here 104 | rvoe cmd_EMC(); | ^~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:35:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 35 | xobj.cmd_BMC("/Tx"); | ~~~~~~~~~~~~^~~~~~~ ../src/pdfdrawcontext.hpp:96:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_BMC(std::string_view)’, declared here 96 | rvoe cmd_BMC(std::string_view tag); | ^~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:36:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 36 | xobj.cmd_q(); | ~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:121:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_q()’, declared here 121 | rvoe cmd_q(); // Save | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:37:44: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 37 | xobj.render_pdfdoc_text_builtin("X", CAPY_FONT_HELVETICA, 12, 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:38:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 38 | xobj.cmd_Q(); | ~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:122:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Q()’, declared here 122 | rvoe cmd_Q(); // Restore | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:39:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 39 | xobj.cmd_EMC(); | ~~~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:104:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_EMC()’, declared here 104 | rvoe cmd_EMC(); | ^~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:55:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 55 | ctx.cmd_re(10, 80, 10, 10); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:123:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_re(double, double, double, double)’, declared here 123 | rvoe cmd_re(double x, double y, double w, double h); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:56:22: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 56 | ctx.cmd_S(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:128:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_S()’, declared here 128 | rvoe cmd_S(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:58:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 58 | ctx.render_pdfdoc_text_builtin("A checkbox", CAPY_FONT_HELVETICA, 12, 25, 80); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp: In function ‘void draw_gradient(capypdf::PdfDrawContext&, CapyPDF_ShadingId, double, double)’: ../src/formtest.cpp:71:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 71 | ctx.cmd_re(0, 0, 80, 80); | ~~~~~~~~~~^~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:123:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_re(double, double, double, double)’, declared here 123 | rvoe cmd_re(double x, double y, double w, double h); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:72:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 72 | ctx.cmd_Wstar(); | ~~~~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:136:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Wstar()’, declared here 136 | rvoe cmd_Wstar(); | ^~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:73:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 73 | ctx.cmd_n(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:120:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_n()’, declared here 120 | rvoe cmd_n(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:74:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 74 | ctx.cmd_sh(shadeid); | ~~~~~~~~~~^~~~~~~~~ ../src/pdfdrawcontext.hpp:131:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_sh(CapyPDF_ShadingId)’, declared here 131 | rvoe cmd_sh(CapyPDF_ShadingId shid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp: In function ‘void draw_circles(capypdf::PdfDrawContext&, CapyPDF_GraphicsStateId)’: ../src/formtest.cpp:78:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 78 | ctx.cmd_gs(gsid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:110:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_gs(CapyPDF_GraphicsStateId)’, declared here 110 | rvoe cmd_gs(CapyPDF_GraphicsStateId id); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:79:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 79 | ctx.cmd_k(0, 0, 0, 0.15); | ~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:116:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_k(capypdf::LimitDouble, capypdf::LimitDouble, capypdf::LimitDouble, capypdf::LimitDouble)’, declared here 116 | rvoe cmd_k(LimitDouble c, LimitDouble m, LimitDouble y, LimitDouble k); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:85:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 85 | ctx.cmd_f(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:105:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_f()’, declared here 105 | rvoe cmd_f(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:92:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 92 | ctx.cmd_f(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:105:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_f()’, declared here 105 | rvoe cmd_f(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:99:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 99 | ctx.cmd_f(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:105:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_f()’, declared here 105 | rvoe cmd_f(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:106:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 106 | ctx.cmd_f(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:105:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_f()’, declared here 105 | rvoe cmd_f(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp: In function ‘int draw_group_doc()’: ../src/formtest.cpp:129:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 129 | groupctx.cmd_w(10); | ~~~~~~~~~~~~~~^~~~ ../src/pdfdrawcontext.hpp:134:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_w(double)’, declared here 134 | rvoe cmd_w(double w); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:130:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 130 | groupctx.cmd_rg(0.9, 0.1, 0.1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:125:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_rg(capypdf::LimitDouble, capypdf::LimitDouble, capypdf::LimitDouble)’, declared here 125 | rvoe cmd_rg(LimitDouble r, LimitDouble g, LimitDouble b); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:131:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 131 | groupctx.cmd_RG(0.1, 0.9, 0.2); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:124:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_RG(capypdf::LimitDouble, capypdf::LimitDouble, capypdf::LimitDouble)’, declared here 124 | rvoe cmd_RG(LimitDouble r, LimitDouble g, LimitDouble b); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:132:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 132 | groupctx.cmd_re(0, 0, 100, 100); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:123:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_re(double, double, double, double)’, declared here 123 | rvoe cmd_re(double x, double y, double w, double h); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:133:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 133 | groupctx.cmd_b(); | ~~~~~~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:85:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_b()’, declared here 85 | rvoe cmd_b(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:142:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 142 | ctx.cmd_g(0.5); | ~~~~~~~~~^~~~~ ../src/pdfdrawcontext.hpp:109:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_g(capypdf::LimitDouble)’, declared here 109 | rvoe cmd_g(LimitDouble gray); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:143:19: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 143 | ctx.cmd_re(0, 0, 200, 100); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:123:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_re(double, double, double, double)’, declared here 123 | rvoe cmd_re(double x, double y, double w, double h); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:144:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 144 | ctx.cmd_f(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:105:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_f()’, declared here 105 | rvoe cmd_f(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:147:19: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 147 | ctx.cmd_gs(gsid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:110:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_gs(CapyPDF_GraphicsStateId)’, declared here 110 | rvoe cmd_gs(CapyPDF_GraphicsStateId id); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:148:19: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 148 | ctx.cmd_Do(tgid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:103:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Do(CapyPDF_TransparencyGroupId)’, declared here 103 | rvoe cmd_Do(CapyPDF_TransparencyGroupId trid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp: In function ‘int draw_transp_doc()’: ../src/formtest.cpp:192:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 192 | ctx.render_pdfdoc_text_builtin("Isolated", CAPY_FONT_HELVETICA, 8, 5, 150); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:193:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 193 | ctx.render_pdfdoc_text_builtin("Non-isolated", CAPY_FONT_HELVETICA, 8, 5, 50); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:194:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 194 | ctx.render_pdfdoc_text_builtin("Knockout", CAPY_FONT_HELVETICA, 8, 100, 5); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:195:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 195 | ctx.render_pdfdoc_text_builtin("Non-knockout", CAPY_FONT_HELVETICA, 8, 200, 5); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:205:27: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 205 | ctx.cmd_Do(tgid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:103:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Do(CapyPDF_TransparencyGroupId)’, declared here 103 | rvoe cmd_Do(CapyPDF_TransparencyGroupId trid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:216:27: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 216 | ctx.cmd_Do(tgid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:103:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Do(CapyPDF_TransparencyGroupId)’, declared here 103 | rvoe cmd_Do(CapyPDF_TransparencyGroupId trid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:227:27: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 227 | ctx.cmd_Do(tgid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:103:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Do(CapyPDF_TransparencyGroupId)’, declared here 103 | rvoe cmd_Do(CapyPDF_TransparencyGroupId trid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/formtest.cpp:238:27: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 238 | ctx.cmd_Do(tgid); | ~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:103:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Do(CapyPDF_TransparencyGroupId)’, declared here 103 | rvoe cmd_Do(CapyPDF_TransparencyGroupId trid); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [4/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o -c ../src/pdfcommon.cpp [5/25] g++ -Isrc/fembedtest.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/fembedtest.p/fembedtest.cpp.o -MF src/fembedtest.p/fembedtest.cpp.o.d -o src/fembedtest.p/fembedtest.cpp.o -c ../src/fembedtest.cpp ../src/fembedtest.cpp: In function ‘void file_embed()’: ../src/fembedtest.cpp:26:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 26 | ctx.render_pdfdoc_text_builtin( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 27 | "<- an embedded file.", CAPY_FONT_HELVETICA, 12, 50, 100); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/pdfgen.hpp:6, from ../src/fembedtest.cpp:4: ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdrawcontext.hpp:6: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:28:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 28 | ctx.annotate(fileannoid); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:205:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::annotate(CapyPDF_AnnotationId)’, declared here 205 | rvoe annotate(CapyPDF_AnnotationId annotation); | ^~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:35:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 35 | ctx.annotate(textannoid); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:205:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::annotate(CapyPDF_AnnotationId)’, declared here 205 | rvoe annotate(CapyPDF_AnnotationId annotation); | ^~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:36:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 36 | ctx.cmd_rg(0, 0, 1); | ~~~~~~~~~~^~~~~~~~~ ../src/pdfdrawcontext.hpp:125:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_rg(capypdf::LimitDouble, capypdf::LimitDouble, capypdf::LimitDouble)’, declared here 125 | rvoe cmd_rg(LimitDouble r, LimitDouble g, LimitDouble b); | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:37:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 37 | ctx.render_pdfdoc_text_builtin("Link", CAPY_FONT_HELVETICA, 12, 10, 10); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:45:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 45 | ctx.annotate(linkannoid); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:205:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::annotate(CapyPDF_AnnotationId)’, declared here 205 | rvoe annotate(CapyPDF_AnnotationId annotation); | ^~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp: In function ‘void video_player()’: ../src/fembedtest.cpp:72:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 72 | ctx.render_pdfdoc_text_builtin("Video below", CAPY_FONT_HELVETICA, 12, 70, 170); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:193:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_pdfdoc_text_builtin(const char*, CapyPDF_Builtin_Fonts, double, double, double)’, declared here 193 | rvoe render_pdfdoc_text_builtin(const char *pdfdoc_encoded_text, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fembedtest.cpp:77:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 77 | ctx.annotate(media_anno_id); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:205:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::annotate(CapyPDF_AnnotationId)’, declared here 205 | rvoe annotate(CapyPDF_AnnotationId annotation); | ^~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [6/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o -c ../src/pdfcolorconverter.cpp [7/25] g++ -Isrc/loremipsum.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/loremipsum.p/loremipsum.cpp.o -MF src/loremipsum.p/loremipsum.cpp.o.d -o src/loremipsum.p/loremipsum.cpp.o -c ../src/loremipsum.cpp [8/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o -MF src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o.d -o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o -c ../src/imagefileops.cpp [9/25] g++ -Isrc/fontgen.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/fontgen.p/fontgen.cpp.o -MF src/fontgen.p/fontgen.cpp.o.d -o src/fontgen.p/fontgen.cpp.o -c ../src/fontgen.cpp ../src/fontgen.cpp: In function ‘void center_test()’: ../src/fontgen.cpp:25:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 25 | ctx.cmd_w(1.0); | ~~~~~~~~~^~~~~ In file included from ../src/pdfgen.hpp:6, from ../src/fontgen.cpp:4: ../src/pdfdrawcontext.hpp:134:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_w(double)’, declared here 134 | rvoe cmd_w(double w); | ^~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdrawcontext.hpp:6: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:26:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 26 | ctx.cmd_m(100, 0); | ~~~~~~~~~^~~~~~~~ ../src/pdfdrawcontext.hpp:118:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_m(double, double)’, declared here 118 | rvoe cmd_m(double x, double y); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:27:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 27 | ctx.cmd_l(100, 200); | ~~~~~~~~~^~~~~~~~~~ ../src/pdfdrawcontext.hpp:117:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_l(double, double)’, declared here 117 | rvoe cmd_l(double x, double y); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:28:14: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 28 | ctx.cmd_S(); | ~~~~~~~~~^~ ../src/pdfdrawcontext.hpp:128:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_S()’, declared here 128 | rvoe cmd_S(); | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:31:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 31 | ctx.render_text(text, f1, pt, 100 - w / 2, 120); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:34:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 34 | ctx.render_text(text, f2, pt, 100 - w / 2, 100); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:37:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 37 | ctx.render_text(text, f3, pt, 100 - w / 2, 80); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp: In function ‘int main(int, char**)’: ../src/fontgen.cpp:70:28: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 70 | ctx.set_nonstroke_color(DeviceGrayColor{0.0}); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:171:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::set_nonstroke_color(const capypdf::Color&)’, declared here 171 | rvoe set_nonstroke_color(const Color &c) { return set_color(c, false); } | ^~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:71:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 71 | ctx.render_text( | ~~~~~~~~~~~~~~~^ 72 | u8string::from_cstr("ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ").value(), regular_fid, 12, 20, 800); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:73:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 73 | ctx.render_text( | ~~~~~~~~~~~~~~~^ 74 | u8string::from_cstr("abcdefghijklmnopqrstuvwxyzåäö").value(), regular_fid, 12, 20, 780); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:75:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 75 | ctx.render_text( | ~~~~~~~~~~~~~~~^ 76 | u8string::from_cstr("0123456789!\"#¤%&/()=+?-.,;:'*~").value(), regular_fid, 12, 20, 760); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:77:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 77 | ctx.render_text(u8string::from_cstr("бгджзиклмнптфцч").value(), regular_fid, 12, 20, 740); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:78:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 78 | ctx.render_text(u8string::from_cstr("ΓΔΖΗΛΞΠΣΥΦΧΨΩ").value(), regular_fid, 12, 20, 720); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.hpp:188:5: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’, declared here 188 | render_text(const u8string &text, CapyPDF_FontId fid, double pointsize, double x, double y); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:82:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 82 | text.cmd_Tf(regular_fid, 24); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../src/pdfdrawcontext.hpp:7: ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:83:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 83 | text.cmd_Td(20, 650); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:84:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 84 | text.nonstroke_color(DeviceRGBColor{1.0, 0.0, 0.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:85:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 85 | text.render_text(u8string::from_cstr("C").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:86:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 86 | text.nonstroke_color(DeviceRGBColor{0.0, 1.0, 0.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:87:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 87 | text.render_text(u8string::from_cstr("o").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:88:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 88 | text.nonstroke_color(DeviceRGBColor{0.0, 0.0, 1.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:89:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 89 | text.render_text(u8string::from_cstr("l").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:90:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 90 | text.nonstroke_color(DeviceRGBColor{1.0, 1.0, 0.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:91:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 91 | text.render_text(u8string::from_cstr("o").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:92:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 92 | text.nonstroke_color(DeviceRGBColor{1.0, 0.0, 1.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:93:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 93 | text.render_text(u8string::from_cstr("r").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:94:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 94 | text.nonstroke_color(DeviceRGBColor{0.0, 1.0, 0.0}); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:265:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::nonstroke_color(const capypdf::Color&)’, declared here 265 | rvoe nonstroke_color(const Color &c) { | ^~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:95:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 95 | text.render_text(u8string::from_cstr("!").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:96:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 96 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:100:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 100 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:101:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 101 | text.cmd_Td(20, 700); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:104:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 104 | kerned_text.append_unicode(uint32_t('A')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:105:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 105 | kerned_text.append_kerning(-100.0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/pdftext.hpp:44:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_kerning(int32_t)’, declared here 44 | rvoe append_kerning(int32_t k) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:106:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 106 | kerned_text.append_unicode(uint32_t('V')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:108:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 108 | kerned_text.append_unicode(uint32_t(' ')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:110:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 110 | kerned_text.append_unicode(uint32_t('A')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:111:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 111 | kerned_text.append_unicode(uint32_t('V')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:113:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 113 | kerned_text.append_unicode(uint32_t(' ')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:115:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 115 | kerned_text.append_unicode(uint32_t('A')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:116:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 116 | kerned_text.append_kerning(100.0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/pdftext.hpp:44:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_kerning(int32_t)’, declared here 44 | rvoe append_kerning(int32_t k) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:117:35: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 117 | kerned_text.append_unicode(uint32_t('V')); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../src/pdftext.hpp:49:25: note: in call to ‘capypdf::rvoe capypdf::TextSequence::append_unicode(uint32_t)’, declared here 49 | rvoe append_unicode(uint32_t codepoint) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:119:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 119 | text.cmd_TL(14); | ~~~~~~~~~~~^~~~ ../src/pdftext.hpp:230:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_TL(double)’, declared here 230 | rvoe cmd_TL(double leading) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:120:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 120 | text.cmd_TJ(kerned_text); | ~~~~~~~~~~~^~~~~~~~~~~~~ ../src/pdftext.hpp:221:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_TJ(capypdf::TextSequence&)’, declared here 221 | rvoe cmd_TJ(TextSequence &seq) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:121:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 121 | text.cmd_Tstar(); | ~~~~~~~~~~~~~~^~ ../src/pdftext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tstar()’, declared here 189 | rvoe cmd_Tstar() { | ^~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:122:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 122 | text.render_text( | ~~~~~~~~~~~~~~~~^ 123 | u8string::from_cstr( | ~~~~~~~~~~~~~~~~~~~~ 124 | "This is some text using a text object. It uses Freetype kerning (i.e. not GPOS).") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | .value()); | ~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:126:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 126 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:130:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 130 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:131:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 131 | text.cmd_Td(20, 600); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:132:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 132 | text.render_text(u8string::from_cstr("How about some ").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:133:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 133 | text.cmd_Tf(italic_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:134:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 134 | text.render_text(u8string::from_cstr("italic").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:135:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 135 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:136:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 136 | text.render_text(u8string::from_cstr(" text?").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:137:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 137 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:142:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 142 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:143:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 143 | text.cmd_Td(20, 550); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:144:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 144 | text.render_text(u8string::from_cstr("How about some ").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:145:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 145 | text.cmd_Ts(4); | ~~~~~~~~~~~^~~ ../src/pdftext.hpp:245:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Ts(double)’, declared here 245 | rvoe cmd_Ts(double rise) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:146:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 146 | text.render_text(u8string::from_cstr("raised").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:147:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 147 | text.cmd_Ts(0); | ~~~~~~~~~~~^~~ ../src/pdftext.hpp:245:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Ts(double)’, declared here 245 | rvoe cmd_Ts(double rise) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:148:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 148 | text.render_text(u8string::from_cstr(" text?").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:149:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 149 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:154:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 154 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:155:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 155 | text.cmd_Td(20, 500); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:156:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 156 | text.render_text(u8string::from_cstr("Character spacing").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:157:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 157 | text.cmd_Tstar(); | ~~~~~~~~~~~~~~^~ ../src/pdftext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tstar()’, declared here 189 | rvoe cmd_Tstar() { | ^~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:158:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 158 | text.cmd_Tc(1); | ~~~~~~~~~~~^~~ ../src/pdftext.hpp:194:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tc(double)’, declared here 194 | rvoe cmd_Tc(double char_spacing) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:159:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 159 | text.render_text(u8string::from_cstr("Character spacing").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:160:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 160 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:165:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 165 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:166:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 166 | text.cmd_Td(20, 450); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:167:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 167 | text.render_text(u8string::from_cstr("Word spacing word spacing word spacing.").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:168:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 168 | text.cmd_Tstar(); | ~~~~~~~~~~~~~~^~ ../src/pdftext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tstar()’, declared here 189 | rvoe cmd_Tstar() { | ^~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:169:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 169 | text.cmd_Tw(4); | ~~~~~~~~~~~^~~ ../src/pdftext.hpp:250:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tw(double)’, declared here 250 | rvoe cmd_Tw(double spacing) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:170:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 170 | text.render_text(u8string::from_cstr("Word spacing word spacing word spacing.").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:171:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 171 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:176:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 176 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:177:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 177 | text.cmd_Td(20, 400); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:178:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 178 | text.render_text(u8string::from_cstr("Character scaling.").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:179:23: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 179 | text.cmd_Tstar(); | ~~~~~~~~~~~~~~^~ ../src/pdftext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tstar()’, declared here 189 | rvoe cmd_Tstar() { | ^~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:180:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 180 | text.cmd_Tz(150); | ~~~~~~~~~~~^~~~~ ../src/pdftext.hpp:255:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tz(double)’, declared here 255 | rvoe cmd_Tz(double scaling) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:181:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 181 | text.render_text(u8string::from_cstr("Character scaling.").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:182:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 182 | text.cmd_Tz(100); | ~~~~~~~~~~~^~~~~ ../src/pdftext.hpp:255:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tz(double)’, declared here 255 | rvoe cmd_Tz(double scaling) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:183:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 183 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:188:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 188 | text.cmd_Tf(regular_fid, 12); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:189:20: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 189 | text.cmd_Td(20, 300); | ~~~~~~~~~~~^~~~~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:191:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 191 | text.cmd_Tf(regular_fid, 2 * i); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:192:29: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 192 | text.render_text(u8string::from_cstr("X").value()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/fontgen.cpp:194:24: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 194 | ctx.render_text(text); | ~~~~~~~~~~~~~~~^~~~~~ ../src/pdfdrawcontext.hpp:189:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::PdfText&)’, declared here 189 | rvoe render_text(const PdfText &textobj); | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [10/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o -MF src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o.d -o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o -c ../src/errorhandling.cpp [11/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o -c ../src/pdfgen.cpp [12/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o -MF src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o.d -o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o -c ../src/fontsubsetter.cpp [13/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/utils.cpp.o -MF src/libcapypdf.so.0.11.0.p/utils.cpp.o.d -o src/libcapypdf.so.0.11.0.p/utils.cpp.o -c ../src/utils.cpp [14/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o -MF src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o.d -o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o -c ../src/ft_subsetter.cpp [15/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o -c ../src/pdfcapi.cpp [16/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o -c ../src/pdfwriter.cpp ../src/pdfwriter.cpp: In member function ‘void capypdf::PdfWriter::write_subset_font_descriptor(int32_t, const capypdf::TtfFont&, int32_t, int32_t)’: ../src/pdfwriter.cpp:457:26: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 457 | write_finished_object(object_num, objbuf, ""); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfwriter.cpp:349:21: note: in call to ‘capypdf::rvoe capypdf::PdfWriter::write_finished_object(int32_t, std::string_view, std::string_view)’, declared here 349 | rvoe PdfWriter::write_finished_object(int32_t object_number, | ^~~~~~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdocument.hpp:8, from ../src/pdfwriter.hpp:6, from ../src/pdfwriter.cpp:4: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [17/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o -c ../src/pdfdrawcontext.cpp ../src/pdfdrawcontext.cpp: In destructor ‘capypdf::GstatePopper::~GstatePopper()’: ../src/pdfdrawcontext.cpp:19:43: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 19 | GstatePopper::~GstatePopper() { ctx->cmd_Q(); } | ~~~~~~~~~~^~ In file included from ../src/pdfdrawcontext.cpp:4: ../src/pdfdrawcontext.hpp:122:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_Q()’, declared here 122 | rvoe cmd_Q(); // Restore | ^~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdrawcontext.hpp:6: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘capypdf::GstatePopper capypdf::PdfDrawContext::push_gstate()’: ../src/pdfdrawcontext.cpp:202:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 202 | cmd_q(); | ~~~~~^~ ../src/pdfdrawcontext.hpp:121:25: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_q()’, declared here 121 | rvoe cmd_q(); // Save | ^~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘capypdf::rvoe capypdf::PdfDrawContext::set_color(const capypdf::SeparationColor&, bool)’: ../src/pdfdrawcontext.cpp:722:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 722 | cmd_CS(csname); | ~~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:303:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_CS(std::string_view)’, declared here 303 | rvoe PdfDrawContext::cmd_CS(std::string_view cspace_name) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:723:16: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 723 | cmd_SCN(color.v.v()); | ~~~~~~~^~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:492:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_SCN(double)’, declared here 492 | rvoe PdfDrawContext::cmd_SCN(double value) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:725:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 725 | cmd_cs(csname); | ~~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:308:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_cs(std::string_view)’, declared here 308 | rvoe PdfDrawContext::cmd_cs(std::string_view cspace_name) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:726:16: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 726 | cmd_scn(color.v.v()); | ~~~~~~~^~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:497:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_scn(double)’, declared here 497 | rvoe PdfDrawContext::cmd_scn(double value) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘capypdf::rvoe capypdf::PdfDrawContext::set_color(const capypdf::LabColor&, bool)’: ../src/pdfdrawcontext.cpp:736:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 736 | cmd_CS(csname); | ~~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:303:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_CS(std::string_view)’, declared here 303 | rvoe PdfDrawContext::cmd_CS(std::string_view cspace_name) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:738:15: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 738 | cmd_cs(csname); | ~~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:308:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_cs(std::string_view)’, declared here 308 | rvoe PdfDrawContext::cmd_cs(std::string_view cspace_name) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::set_all_stroke_color()’: ../src/pdfdrawcontext.cpp:747:11: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 747 | cmd_CS("/All"); | ~~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:303:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_CS(std::string_view)’, declared here 303 | rvoe PdfDrawContext::cmd_CS(std::string_view cspace_name) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:748:12: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 748 | cmd_SCN(1.0); | ~~~~~~~^~~~~ ../src/pdfdrawcontext.cpp:492:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_SCN(double)’, declared here 492 | rvoe PdfDrawContext::cmd_SCN(double value) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::scale(double, double)’: ../src/pdfdrawcontext.cpp:759:66: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 759 | void PdfDrawContext::scale(double xscale, double yscale) { cmd_cm(xscale, 0, 0, yscale, 0, 0); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:297:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_cm(double, double, double, double, double, double)’, declared here 297 | PdfDrawContext::cmd_cm(double m1, double m2, double m3, double m4, double m5, double m6) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::translate(double, double)’: ../src/pdfdrawcontext.cpp:761:68: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 761 | void PdfDrawContext::translate(double xtran, double ytran) { cmd_cm(1.0, 0, 0, 1.0, xtran, ytran); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:297:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_cm(double, double, double, double, double, double)’, declared here 297 | PdfDrawContext::cmd_cm(double m1, double m2, double m3, double m4, double m5, double m6) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::rotate(double)’: ../src/pdfdrawcontext.cpp:764:11: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 764 | cmd_cm(cos(angle), sin(angle), -sin(angle), cos(angle), 0.0, 0.0); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:297:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_cm(double, double, double, double, double, double)’, declared here 297 | PdfDrawContext::cmd_cm(double m1, double m2, double m3, double m4, double m5, double m6) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘capypdf::rvoe capypdf::PdfDrawContext::render_text(const capypdf::u8string&, CapyPDF_FontId, double, double, double)’: ../src/pdfdrawcontext.cpp:770:13: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 770 | t.cmd_Tf(fid, pointsize); | ~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ../src/pdfdrawcontext.hpp:7: ../src/pdftext.hpp:209:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Tf(CapyPDF_FontId, double)’, declared here 209 | rvoe cmd_Tf(CapyPDF_FontId font, double pointsize) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:771:13: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 771 | t.cmd_Td(x, y); | ~~~~~~~~^~~~~~ ../src/pdftext.hpp:199:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::cmd_Td(double, double)’, declared here 199 | rvoe cmd_Td(double tx, double ty) { | ^~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:772:18: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 772 | t.render_text(text); | ~~~~~~~~~~~~~^~~~~~ ../src/pdftext.hpp:214:25: note: in call to ‘capypdf::rvoe capypdf::PdfText::render_text(const capypdf::u8string&)’, declared here 214 | rvoe render_text(const u8string &text) { | ^~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::draw_unit_circle()’: ../src/pdfdrawcontext.cpp:1133:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1133 | cmd_m(0, 0.5); | ~~~~~^~~~~~~~ ../src/pdfdrawcontext.cpp:431:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_m(double, double)’, declared here 431 | rvoe PdfDrawContext::cmd_m(double x, double y) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:1134:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1134 | cmd_c(control, 0.5, 0.5, control, 0.5, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:290:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_c(double, double, double, double, double, double)’, declared here 290 | PdfDrawContext::cmd_c(double x1, double y1, double x2, double y2, double x3, double y3) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:1135:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1135 | cmd_c(0.5, -control, control, -0.5, 0, -0.5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:290:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_c(double, double, double, double, double, double)’, declared here 290 | PdfDrawContext::cmd_c(double x1, double y1, double x2, double y2, double x3, double y3) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:1136:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1136 | cmd_c(-control, -0.5, -0.5, -control, -0.5, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:290:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_c(double, double, double, double, double, double)’, declared here 290 | PdfDrawContext::cmd_c(double x1, double y1, double x2, double y2, double x3, double y3) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp:1137:10: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1137 | cmd_c(-0.5, control, -control, 0.5, 0, 0.5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:290:1: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_c(double, double, double, double, double, double)’, declared here 290 | PdfDrawContext::cmd_c(double x1, double y1, double x2, double y2, double x3, double y3) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdrawcontext.cpp: In member function ‘void capypdf::PdfDrawContext::draw_unit_box()’: ../src/pdfdrawcontext.cpp:1140:46: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 1140 | void PdfDrawContext::draw_unit_box() { cmd_re(-0.5, -0.5, 1, 1); } | ~~~~~~^~~~~~~~~~~~~~~~~~ ../src/pdfdrawcontext.cpp:461:21: note: in call to ‘capypdf::rvoe capypdf::PdfDrawContext::cmd_re(double, double, double, double)’, declared here 461 | rvoe PdfDrawContext::cmd_re(double x, double y, double w, double h) { | ^~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [18/25] g++ -Isrc/libcapypdf.so.0.11.0.p -Isrc -I../src -Iinclude -I../include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include capypch.hpp -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++23 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP -DBUILDING_CAPYPDF -MD -MQ src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o -MF src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o.d -o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o -c ../src/pdfdocument.cpp ../src/pdfdocument.cpp: In member function ‘capypdf::rvoe capypdf::PdfDocument::init()’: ../src/pdfdocument.cpp:242:25: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 242 | generate_info_object(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from ../src/pdfdocument.cpp:4: ../src/pdfdocument.hpp:444:25: note: in call to ‘capypdf::rvoe capypdf::PdfDocument::generate_info_object()’, declared here 444 | rvoe generate_info_object(); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/pdfcommon.hpp:7, from ../src/pdfdocument.hpp:8: ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdocument.cpp:244:26: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 244 | create_separation(asciistring::from_cstr("All").value(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | DeviceCMYKColor{1.0, 1.0, 1.0, 1.0}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/pdfdocument.hpp:337:32: note: in call to ‘capypdf::rvoe capypdf::PdfDocument::create_separation(const capypdf::asciistring&, const capypdf::DeviceCMYKColor&)’, declared here 337 | rvoe create_separation(const asciistring &name, | ^~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdocument.cpp: In member function ‘void capypdf::PdfDocument::pad_subset_fonts()’: ../src/pdfdocument.cpp:537:39: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 537 | subsetter.get_glyph_subset(cur_glyph_codepoint, {}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/pdfdocument.hpp:9: ../src/fontsubsetter.hpp:40:26: note: in call to ‘capypdf::rvoe capypdf::FontSubsetter::get_glyph_subset(uint32_t, std::optional)’, declared here 40 | rvoe get_glyph_subset(uint32_t glyph, const std::optional glyph_id); | ^~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ ../src/pdfdocument.cpp:543:56: warning: ignoring returned value of type ‘capypdf::rvoe’ {aka ‘std::expected’}, declared with attribute ‘nodiscard’ [-Wunused-result] 543 | subsetter.unchecked_insert_glyph_to_last_subset(' ', {}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../src/fontsubsetter.hpp:42:5: note: in call to ‘capypdf::rvoe capypdf::FontSubsetter::unchecked_insert_glyph_to_last_subset(uint32_t, std::optional)’, declared here 42 | unchecked_insert_glyph_to_last_subset(const uint32_t codepoint, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/errorhandling.hpp:90:28: note: ‘capypdf::rvoe’ {aka ‘std::expected’} declared here 90 | template using rvoe = std::expected; | ^~~~ [19/25] g++ -o src/fembedtest src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o src/libcapypdf.so.0.11.0.p/utils.cpp.o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o src/fembedtest.p/fembedtest.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpng16.so /usr/lib64/libjpeg.so /usr/lib64/liblcms2.so /usr/lib64/libtiff.so /usr/lib64/libz.so /usr/lib64/libfreetype.so -Wl,--end-group [20/25] g++ -o src/loremipsum src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o src/libcapypdf.so.0.11.0.p/utils.cpp.o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o src/loremipsum.p/loremipsum.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpng16.so /usr/lib64/libjpeg.so /usr/lib64/liblcms2.so /usr/lib64/libtiff.so /usr/lib64/libz.so /usr/lib64/libfreetype.so -Wl,--end-group [21/25] g++ -o src/formtest src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o src/libcapypdf.so.0.11.0.p/utils.cpp.o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o src/formtest.p/formtest.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpng16.so /usr/lib64/libjpeg.so /usr/lib64/liblcms2.so /usr/lib64/libtiff.so /usr/lib64/libz.so /usr/lib64/libfreetype.so -Wl,--end-group [22/25] g++ -o src/libcapypdf.so.0.11.0 src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o src/libcapypdf.so.0.11.0.p/utils.cpp.o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libcapypdf.so.0 -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpng16.so /usr/lib64/libjpeg.so /usr/lib64/liblcms2.so /usr/lib64/libtiff.so /usr/lib64/libz.so /usr/lib64/libfreetype.so -Wl,--end-group [23/25] /usr/bin/meson --internal symbolextractor /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build src/libcapypdf.so.0.11.0 src/libcapypdf.so.0.11.0 src/libcapypdf.so.0.11.0.p/libcapypdf.so.0.11.0.symbols [24/25] g++ -o src/fontgen src/libcapypdf.so.0.11.0.p/pdfcommon.cpp.o src/libcapypdf.so.0.11.0.p/pdfgen.cpp.o src/libcapypdf.so.0.11.0.p/pdfdrawcontext.cpp.o src/libcapypdf.so.0.11.0.p/pdfdocument.cpp.o src/libcapypdf.so.0.11.0.p/imagefileops.cpp.o src/libcapypdf.so.0.11.0.p/utils.cpp.o src/libcapypdf.so.0.11.0.p/pdfcolorconverter.cpp.o src/libcapypdf.so.0.11.0.p/fontsubsetter.cpp.o src/libcapypdf.so.0.11.0.p/ft_subsetter.cpp.o src/libcapypdf.so.0.11.0.p/pdfcapi.cpp.o src/libcapypdf.so.0.11.0.p/errorhandling.cpp.o src/libcapypdf.so.0.11.0.p/pdfwriter.cpp.o src/fontgen.p/fontgen.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libpng16.so /usr/lib64/libjpeg.so /usr/lib64/liblcms2.so /usr/lib64/libtiff.so /usr/lib64/libz.so /usr/lib64/libfreetype.so -Wl,--end-group [25/25] g++ -o test/ctest test/ctest.p/ctest.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -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 -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/../src' src/libcapypdf.so.0.11.0 INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build -j 8 -v + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lLv3LI + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + '[' /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/capypdf-0.11.0-build + mkdir /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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,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 capypdf-0.11.0 + DESTDIR=/builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT + /usr/bin/meson install -C redhat-linux-build --no-rebuild Compiling '/builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib/python3.15/site-packages/capypdf.py'... Installing src/libcapypdf.so.0.11.0 to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib64 Installing /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build/include/capypdf.h to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/include/capypdf-0 Installing /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/python/capypdf.py to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib/python3.15/site-packages Installing /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build/meson-private/capypdf.pc to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib64/pkgconfig Installing symlink pointing to libcapypdf.so.0.11.0 to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib64/libcapypdf.so.0 Installing symlink pointing to libcapypdf.so.0 to /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib64/libcapypdf.so Running custom install script '/usr/bin/python3 /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/redhat-linux-build/meson-private/pycompile.py python-3.15-installed.json 0' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.11.0-10.fc45 --unique-debug-suffix -0.11.0-10.fc45.riscv64 --unique-debug-src-base capypdf-0.11.0-10.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0 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/capypdf-0.11.0-10.fc45.riscv64 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 Bytecompiling .py files below /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/lib/python3.15/site-packages/__pycache__/capypdf.cpython-315.pyc: rewriting with normalized contents Scanned 19 directories and 34 files, processed 1 inodes, 1 modified (0 replaced + 1 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr Scanned 18 directories and 34 files, considered 32 files, read 2 files, linked 1 files, 0 errors sum of sizes of linked files: 45339 bytes Reading /builddir/build/BUILD/capypdf-0.11.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: capypdf-0.11.0-10.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.l5fEJZ + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + cd capypdf-0.11.0 + DOCDIR=/builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/doc/capypdf + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/doc/capypdf + cp -pr /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/readme.md /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/doc/capypdf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RsYUsr + umask 022 + cd /builddir/build/BUILD/capypdf-0.11.0-build + cd capypdf-0.11.0 + LICENSEDIR=/builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/licenses/capypdf + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/licenses/capypdf + cp -pr /builddir/build/BUILD/capypdf-0.11.0-build/capypdf-0.11.0/COPYING /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT/usr/share/licenses/capypdf + RPM_EC=0 ++ jobs -p + exit 0 Provides: capypdf = 0.11.0-10.fc45 capypdf(riscv-64) = 0.11.0-10.fc45 libcapypdf.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.38)(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.5.0)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEGTURBO_6.2)(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: capypdf-devel-0.11.0-10.fc45.riscv64 Provides: capypdf-devel = 0.11.0-10.fc45 capypdf-devel(riscv-64) = 0.11.0-10.fc45 pkgconfig(capypdf) = 0.11.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libcapypdf.so.0()(64bit) Processing files: python3-capypdf-0.11.0-10.fc45.noarch Provides: python-capypdf = 0.11.0-10.fc45 python3-capypdf = 0.11.0-10.fc45 python3.15-capypdf = 0.11.0-10.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: python(abi) = 3.15 Processing files: capypdf-debugsource-0.11.0-10.fc45.riscv64 Provides: capypdf-debugsource = 0.11.0-10.fc45 capypdf-debugsource(riscv-64) = 0.11.0-10.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: capypdf-debuginfo-0.11.0-10.fc45.riscv64 Provides: capypdf-debuginfo = 0.11.0-10.fc45 capypdf-debuginfo(riscv-64) = 0.11.0-10.fc45 debuginfo(build-id) = 4c7ee5c4f0e8edad7f52531592746cd8b57f3b5d libcapypdf.so.0.11.0-0.11.0-10.fc45.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: capypdf-debugsource(riscv-64) = 0.11.0-10.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/capypdf-0.11.0-build/BUILDROOT Wrote: /builddir/build/RPMS/capypdf-devel-0.11.0-10.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/python3-capypdf-0.11.0-10.fc45.noarch.rpm Wrote: /builddir/build/RPMS/capypdf-0.11.0-10.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/capypdf-debugsource-0.11.0-10.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/capypdf-debuginfo-0.11.0-10.fc45.riscv64.rpm Child return code was: 0