Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-212525-15360/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f494d9dc610>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/lcms2-2.16-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-212525-15360/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f494d9dc610>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PMR9eQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf lcms2-2.16
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lcms2-2.16.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lcms2-2.16
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MxPIuT
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd lcms2-2.16
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --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 . x86_64-OpenCloudOS-linux-gnu
The Meson build system
Version: 1.2.0
Source dir: /builddir/build/BUILD/lcms2-2.16
Build dir: /builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu
Build type: native build
Project name: Little-CMS
Project version: 2.16
C compiler for the host machine: gcc (gcc 12.3.1 "gcc (Tencent Compiler 12.3.1.2) 12.3.1 20230912 (OpenCloudOS 12.3.1.2-2)")
C linker for the host machine: gcc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports function attribute visibility:hidden: YES 
Header "time.h" has symbol "gmtime_r" : YES 
Found pkg-config: /usr/bin/pkg-config (1.9.5)
Run-time dependency libjpeg found: YES 2.1.4
Run-time dependency libtiff-4 found: YES 4.6.0
Checking if "supports SSE2 intrinsics" compiles: YES 
Library m found: YES
Run-time dependency threads found: YES
Checking for function "pthread_mutex_lock" with dependency threads: YES 
Header "time.h" has symbol "timespec_get" : YES 
Build targets in project: 2
Little-CMS 2.16
  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/sbin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
Found ninja-1.11.1 at /usr/bin/ninja
+ /usr/bin/meson compile -C x86_64-OpenCloudOS-linux-gnu -j 32 --verbose
ninja: Entering directory `/builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu'
[1/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmshalf.c.o -MF src/liblcms2.so.2.0.16.p/cmshalf.c.o.d -o src/liblcms2.so.2.0.16.p/cmshalf.c.o -c ../src/cmshalf.c
[2/32] gcc -Itestbed/testcms.p -Itestbed -I../testbed -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ testbed/testcms.p/zoo_icc.c.o -MF testbed/testcms.p/zoo_icc.c.o.d -o testbed/testcms.p/zoo_icc.c.o -c ../testbed/zoo_icc.c
[3/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsmtrx.c.o -MF src/liblcms2.so.2.0.16.p/cmsmtrx.c.o.d -o src/liblcms2.so.2.0.16.p/cmsmtrx.c.o -c ../src/cmsmtrx.c
[4/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmswtpnt.c.o -MF src/liblcms2.so.2.0.16.p/cmswtpnt.c.o.d -o src/liblcms2.so.2.0.16.p/cmswtpnt.c.o -c ../src/cmswtpnt.c
[5/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmssamp.c.o -MF src/liblcms2.so.2.0.16.p/cmssamp.c.o.d -o src/liblcms2.so.2.0.16.p/cmssamp.c.o -c ../src/cmssamp.c
[6/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsmd5.c.o -MF src/liblcms2.so.2.0.16.p/cmsmd5.c.o.d -o src/liblcms2.so.2.0.16.p/cmsmd5.c.o -c ../src/cmsmd5.c
[7/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsgmt.c.o -MF src/liblcms2.so.2.0.16.p/cmsgmt.c.o.d -o src/liblcms2.so.2.0.16.p/cmsgmt.c.o -c ../src/cmsgmt.c
[8/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmssm.c.o -MF src/liblcms2.so.2.0.16.p/cmssm.c.o.d -o src/liblcms2.so.2.0.16.p/cmssm.c.o -c ../src/cmssm.c
[9/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmscam02.c.o -MF src/liblcms2.so.2.0.16.p/cmscam02.c.o.d -o src/liblcms2.so.2.0.16.p/cmscam02.c.o -c ../src/cmscam02.c
[10/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmserr.c.o -MF src/liblcms2.so.2.0.16.p/cmserr.c.o.d -o src/liblcms2.so.2.0.16.p/cmserr.c.o -c ../src/cmserr.c
[11/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsalpha.c.o -MF src/liblcms2.so.2.0.16.p/cmsalpha.c.o.d -o src/liblcms2.so.2.0.16.p/cmsalpha.c.o -c ../src/cmsalpha.c
[12/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsps2.c.o -MF src/liblcms2.so.2.0.16.p/cmsps2.c.o.d -o src/liblcms2.so.2.0.16.p/cmsps2.c.o -c ../src/cmsps2.c
[13/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsio1.c.o -MF src/liblcms2.so.2.0.16.p/cmsio1.c.o.d -o src/liblcms2.so.2.0.16.p/cmsio1.c.o -c ../src/cmsio1.c
[14/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsplugin.c.o -MF src/liblcms2.so.2.0.16.p/cmsplugin.c.o.d -o src/liblcms2.so.2.0.16.p/cmsplugin.c.o -c ../src/cmsplugin.c
[15/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmspcs.c.o -MF src/liblcms2.so.2.0.16.p/cmspcs.c.o.d -o src/liblcms2.so.2.0.16.p/cmspcs.c.o -c ../src/cmspcs.c
[16/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsvirt.c.o -MF src/liblcms2.so.2.0.16.p/cmsvirt.c.o.d -o src/liblcms2.so.2.0.16.p/cmsvirt.c.o -c ../src/cmsvirt.c
[17/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmscnvrt.c.o -MF src/liblcms2.so.2.0.16.p/cmscnvrt.c.o.d -o src/liblcms2.so.2.0.16.p/cmscnvrt.c.o -c ../src/cmscnvrt.c
[18/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsnamed.c.o -MF src/liblcms2.so.2.0.16.p/cmsnamed.c.o.d -o src/liblcms2.so.2.0.16.p/cmsnamed.c.o -c ../src/cmsnamed.c
[19/32] gcc -Itestbed/testcms.p -Itestbed -I../testbed -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ testbed/testcms.p/testplugin.c.o -MF testbed/testcms.p/testplugin.c.o.d -o testbed/testcms.p/testplugin.c.o -c ../testbed/testplugin.c
[20/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsxform.c.o -MF src/liblcms2.so.2.0.16.p/cmsxform.c.o.d -o src/liblcms2.so.2.0.16.p/cmsxform.c.o -c ../src/cmsxform.c
[21/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsgamma.c.o -MF src/liblcms2.so.2.0.16.p/cmsgamma.c.o.d -o src/liblcms2.so.2.0.16.p/cmsgamma.c.o -c ../src/cmsgamma.c
[22/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmslut.c.o -MF src/liblcms2.so.2.0.16.p/cmslut.c.o.d -o src/liblcms2.so.2.0.16.p/cmslut.c.o -c ../src/cmslut.c
[23/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsio0.c.o -MF src/liblcms2.so.2.0.16.p/cmsio0.c.o.d -o src/liblcms2.so.2.0.16.p/cmsio0.c.o -c ../src/cmsio0.c
[24/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsopt.c.o -MF src/liblcms2.so.2.0.16.p/cmsopt.c.o.d -o src/liblcms2.so.2.0.16.p/cmsopt.c.o -c ../src/cmsopt.c
[25/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmscgats.c.o -MF src/liblcms2.so.2.0.16.p/cmscgats.c.o.d -o src/liblcms2.so.2.0.16.p/cmscgats.c.o -c ../src/cmscgats.c
[26/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmsintrp.c.o -MF src/liblcms2.so.2.0.16.p/cmsintrp.c.o.d -o src/liblcms2.so.2.0.16.p/cmsintrp.c.o -c ../src/cmsintrp.c
[27/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmspack.c.o -MF src/liblcms2.so.2.0.16.p/cmspack.c.o.d -o src/liblcms2.so.2.0.16.p/cmspack.c.o -c ../src/cmspack.c
[28/32] gcc -Isrc/liblcms2.so.2.0.16.p -Isrc -I../src -Iinclude -I../include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ src/liblcms2.so.2.0.16.p/cmstypes.c.o -MF src/liblcms2.so.2.0.16.p/cmstypes.c.o.d -o src/liblcms2.so.2.0.16.p/cmstypes.c.o -c ../src/cmstypes.c
[29/32] gcc -Itestbed/testcms.p -Itestbed -I../testbed -Iinclude -I../include -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_GMTIME_R=1 -DHasTHREADS=1 -DHAVE_TIMESPEC_GET=1 -MD -MQ testbed/testcms.p/testcms2.c.o -MF testbed/testcms.p/testcms2.c.o.d -o testbed/testcms.p/testcms2.c.o -c ../testbed/testcms2.c
../testbed/testcms2.c: In function ‘main’:
../testbed/testcms2.c:9506:20: warning: unused variable ‘DoZooTests’ [-Wunused-variable]
 9506 |     cmsInt32Number DoZooTests = 0;
      |                    ^~~~~~~~~~
In file included from ../testbed/testcms2.c:27:
../testbed/testcms2.h:43:28: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   43 | #    define CHDIR(a) (void)chdir(a)
      |                            ^~~~~~~~
../testbed/testcms2.c:9526:13: note: in expansion of macro ‘CHDIR’
 9526 |             CHDIR(argv[2]);
      |             ^~~~~
../testbed/testcms2.c: At top level:
../testbed/testcms2.c:5205:16: warning: ‘CheckDictionary16’ defined but not used [-Wunused-function]
 5205 | cmsInt32Number CheckDictionary16(cmsInt32Number Pass,  cmsHPROFILE hProfile)
      |                ^~~~~~~~~~~~~~~~~
../testbed/testcms2.c: In function ‘Check1D’:
../testbed/testcms2.c:1033:9: warning: ‘_3’ may be used uninitialized [-Wmaybe-uninitialized]
 1033 |     p = _cmsComputeInterpParams(DbgThread(), nNodesToCheck, 1, 1, Tab, CMS_LERP_FLAGS_16BITS);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../testbed/testcms2.h:30:
../src/lcms2_internal.h:868:42: note: by argument 5 of type ‘const void *’ to ‘_cmsComputeInterpParams’ declared here
  868 | CMSCHECKPOINT cmsInterpParams* CMSEXPORT _cmsComputeInterpParams(cmsContext ContextID, cmsUInt32Number nSamples, cmsUInt32Number InputChan, cmsUInt32Number OutputChan, const void* Table, cmsUInt32Number dwFlags);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
[30/32] gcc  -o src/liblcms2.so.2.0.16 src/liblcms2.so.2.0.16.p/cmsalpha.c.o src/liblcms2.so.2.0.16.p/cmscam02.c.o src/liblcms2.so.2.0.16.p/cmscgats.c.o src/liblcms2.so.2.0.16.p/cmscnvrt.c.o src/liblcms2.so.2.0.16.p/cmserr.c.o src/liblcms2.so.2.0.16.p/cmsgamma.c.o src/liblcms2.so.2.0.16.p/cmsgmt.c.o src/liblcms2.so.2.0.16.p/cmshalf.c.o src/liblcms2.so.2.0.16.p/cmsintrp.c.o src/liblcms2.so.2.0.16.p/cmsio0.c.o src/liblcms2.so.2.0.16.p/cmsio1.c.o src/liblcms2.so.2.0.16.p/cmslut.c.o src/liblcms2.so.2.0.16.p/cmsmd5.c.o src/liblcms2.so.2.0.16.p/cmsmtrx.c.o src/liblcms2.so.2.0.16.p/cmsnamed.c.o src/liblcms2.so.2.0.16.p/cmsopt.c.o src/liblcms2.so.2.0.16.p/cmspack.c.o src/liblcms2.so.2.0.16.p/cmspcs.c.o src/liblcms2.so.2.0.16.p/cmsplugin.c.o src/liblcms2.so.2.0.16.p/cmsps2.c.o src/liblcms2.so.2.0.16.p/cmssamp.c.o src/liblcms2.so.2.0.16.p/cmssm.c.o src/liblcms2.so.2.0.16.p/cmstypes.c.o src/liblcms2.so.2.0.16.p/cmsvirt.c.o src/liblcms2.so.2.0.16.p/cmswtpnt.c.o src/liblcms2.so.2.0.16.p/cmsxform.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,liblcms2.so.2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lm -Wl,--end-group -pthread
[31/32] /usr/bin/meson --internal symbolextractor /builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu src/liblcms2.so.2.0.16 src/liblcms2.so.2.0.16 src/liblcms2.so.2.0.16.p/liblcms2.so.2.0.16.symbols 
[32/32] gcc  -o testbed/testcms testbed/testcms.p/testcms2.c.o testbed/testcms.p/testplugin.c.o testbed/testcms.p/zoo_icc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '-Wl,-rpath,$ORIGIN/../src' -Wl,-rpath-link,/builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu/src -Wl,--start-group src/liblcms2.so.2.0.16 -lm -Wl,--end-group
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu -j 32 -v
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YQfbnb
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64
+ cd lcms2-2.16
+ DESTDIR=/builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64
+ /usr/bin/meson install -C x86_64-OpenCloudOS-linux-gnu --no-rebuild
Installing src/liblcms2.so.2.0.16 to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/lib64
Installing /builddir/build/BUILD/lcms2-2.16/include/lcms2.h to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/include/
Installing /builddir/build/BUILD/lcms2-2.16/include/lcms2_plugin.h to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/include/
Installing /builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu/meson-private/lcms2.pc to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/lib64/pkgconfig
Installing symlink pointing to liblcms2.so.2.0.16 to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/lib64/liblcms2.so.2
Installing symlink pointing to liblcms2.so.2 to /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/lib64/liblcms2.so
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.16-1.ocs23 --unique-debug-suffix -2.16-1.ocs23.x86_64 --unique-debug-src-base lcms2-2.16-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/lcms2-2.16
extracting debug info from /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/lib64/liblcms2.so.2.0.16
2645 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ARRiJY
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd lcms2-2.16
+ /usr/bin/meson test -C x86_64-OpenCloudOS-linux-gnu --num-processes 32 --print-errorlogs
ninja: Entering directory `/builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu'
ninja: no work to do.
1/1 testcms OK               8.89s
Ok:                 1   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   
Full log written to /builddir/build/BUILD/lcms2-2.16/x86_64-OpenCloudOS-linux-gnu/meson-logs/testlog.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: lcms2-2.16-1.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.arAFFj
+ umask 022
+ cd /builddir/build/BUILD
+ cd lcms2-2.16
+ DOCDIR=/builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/doc/lcms2
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/doc/lcms2
+ cp -pr AUTHORS /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/doc/lcms2
+ cp -pr ChangeLog /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/doc/lcms2
+ cp -pr README.md /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/doc/lcms2
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QB393J
+ umask 022
+ cd /builddir/build/BUILD
+ cd lcms2-2.16
+ LICENSEDIR=/builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/licenses/lcms2
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/licenses/lcms2
+ cp -pr COPYING /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/licenses/lcms2
cp: cannot stat 'COPYING': No such file or directory
+ :
+ RPM_EC=0
++ jobs -p
+ exit 0
error: File not found: /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/licenses/lcms2/COPYING
RPM build errors:
    File not found: /builddir/build/BUILDROOT/lcms2-2.16-1.ocs23.x86_64/usr/share/licenses/lcms2/COPYING
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lcms2.spec