Mock Version: 6.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/osslsigncode.spec'], chrootPath='/var/lib/mock/rocky-10-x86_64/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/osslsigncode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1756339200 Wrote: /builddir/build/SRPMS/osslsigncode-2.9-1.el10.src.rpm RPM build warnings: Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'], chrootPath='/var/lib/mock/rocky-10-x86_64/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1756339200 Wrote: /builddir/build/SRPMS/osslsigncode-2.9-1.el10.src.rpm RPM build warnings: Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'], chrootPath='/var/lib/mock/rocky-10-x86_64/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1756339200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cSZ0QB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osslsigncode-2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/osslsigncode-2.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd osslsigncode-2.9 + rm -rf /builddir/build/BUILD/osslsigncode-2.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/osslsigncode-2.9-SPECPARTS + /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.kspYUh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 osslsigncode-2.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.2.2") -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Using bash completions dir /usr/share/bash-completion/completions -- Looking for getpass -- Looking for getpass - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for mmap -- Looking for mmap - found -- Found Python3: /usr/bin/python3.12 (found version "3.12.9") found components: Interpreter -- CTest skips tests: Module not installed: No module named 'cryptography' -- Configuring done (3.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j20 --verbose Change Dir: '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j20 /usr/bin/cmake -S/builddir/build/BUILD/osslsigncode-2.9 -B/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build/CMakeFiles /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/osslsigncode.dir/build.make CMakeFiles/osslsigncode.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' cd /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/osslsigncode-2.9 /builddir/build/BUILD/osslsigncode-2.9 /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build /builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build/CMakeFiles/osslsigncode.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/osslsigncode.dir/build.make CMakeFiles/osslsigncode.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' [ 10%] Building C object CMakeFiles/osslsigncode.dir/osslsigncode.c.o [ 20%] Building C object CMakeFiles/osslsigncode.dir/helpers.c.o /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/osslsigncode.c.o -MF CMakeFiles/osslsigncode.dir/osslsigncode.c.o.d -o CMakeFiles/osslsigncode.dir/osslsigncode.c.o -c /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c [ 40%] Building C object CMakeFiles/osslsigncode.dir/utf.c.o [ 40%] Building C object CMakeFiles/osslsigncode.dir/msi.c.o /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/helpers.c.o -MF CMakeFiles/osslsigncode.dir/helpers.c.o.d -o CMakeFiles/osslsigncode.dir/helpers.c.o -c /builddir/build/BUILD/osslsigncode-2.9/helpers.c [ 50%] Building C object CMakeFiles/osslsigncode.dir/pe.c.o [ 60%] Building C object CMakeFiles/osslsigncode.dir/cab.c.o /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/utf.c.o -MF CMakeFiles/osslsigncode.dir/utf.c.o.d -o CMakeFiles/osslsigncode.dir/utf.c.o -c /builddir/build/BUILD/osslsigncode-2.9/utf.c /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/msi.c.o -MF CMakeFiles/osslsigncode.dir/msi.c.o.d -o CMakeFiles/osslsigncode.dir/msi.c.o -c /builddir/build/BUILD/osslsigncode-2.9/msi.c /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/pe.c.o -MF CMakeFiles/osslsigncode.dir/pe.c.o.d -o CMakeFiles/osslsigncode.dir/pe.c.o -c /builddir/build/BUILD/osslsigncode-2.9/pe.c /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/cab.c.o -MF CMakeFiles/osslsigncode.dir/cab.c.o.d -o CMakeFiles/osslsigncode.dir/cab.c.o -c /builddir/build/BUILD/osslsigncode-2.9/cab.c [ 80%] Building C object CMakeFiles/osslsigncode.dir/script.c.o [ 80%] Building C object CMakeFiles/osslsigncode.dir/appx.c.o /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/appx.c.o -MF CMakeFiles/osslsigncode.dir/appx.c.o.d -o CMakeFiles/osslsigncode.dir/appx.c.o -c /builddir/build/BUILD/osslsigncode-2.9/appx.c /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/script.c.o -MF CMakeFiles/osslsigncode.dir/script.c.o.d -o CMakeFiles/osslsigncode.dir/script.c.o -c /builddir/build/BUILD/osslsigncode-2.9/script.c [ 90%] Building C object CMakeFiles/osslsigncode.dir/cat.c.o /usr/bin/gcc -DHAVE_CONFIG_H=1 -I/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/cat.c.o -MF CMakeFiles/osslsigncode.dir/cat.c.o.d -o CMakeFiles/osslsigncode.dir/cat.c.o -c /builddir/build/BUILD/osslsigncode-2.9/cat.c /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c: In function ‘read_crypto_params’: /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4232:14: error: invalid storage class for function ‘get_cafile’ 4232 | static char *get_cafile(void) | ^~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4254:13: error: invalid storage class for function ‘print_version’ 4254 | static void print_version(void) | ^~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4287:19: error: invalid storage class for function ‘get_command’ 4287 | static cmd_type_t get_command(char **argv) | ^~~~~~~~~~~ In file included from /usr/include/openssl/crypto.h:34, from /usr/include/openssl/bio.h:30, from /usr/include/openssl/asn1.h:30, from /usr/include/openssl/asn1t.h:26, from /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.h:48, from /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:61: /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_num’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_value’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_new’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_new_null’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_new_reserve’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_reserve’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_free’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_zero’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_delete’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_delete_ptr’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_push’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_unshift’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_pop’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_shift’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_pop_free’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_insert’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_set’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_find’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_find_ex’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_find_all’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_sort’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_is_sorted’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_dup’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_deep_copy’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4314:1: error: invalid storage class for function ‘sk_OSSL_PROVIDER_set_cmp_func’ 4314 | DEFINE_STACK_OF(OSSL_PROVIDER) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4317:13: error: invalid storage class for function ‘provider_free’ 4317 | static void provider_free(OSSL_PROVIDER *prov) | ^~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4322:13: error: invalid storage class for function ‘providers_cleanup’ 4322 | static void providers_cleanup(void) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4328:12: error: invalid storage class for function ‘provider_load’ 4328 | static int provider_load(OSSL_LIB_CTX *libctx, const char *pname) | ^~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4345:12: error: invalid storage class for function ‘use_legacy’ 4345 | static int use_legacy(void) | ^~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4359:12: error: invalid storage class for function ‘file_exists’ 4359 | static int file_exists(const char *filename) | ^~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4376:12: error: invalid storage class for function ‘main_configure’ 4376 | static int main_configure(int argc, char **argv, GLOBAL_OPTIONS *options) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4774:5: warning: ‘main’ is normally a non-static function [-Wmain] 4774 | int main(int argc, char **argv) | ^~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:5044:1: error: expected declaration or statement at end of input 5044 | } | ^ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c: At top level: /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:4774:5: warning: ‘main’ defined but not used [-Wunused-function] 4774 | int main(int argc, char **argv) | ^~~~ /builddir/build/BUILD/osslsigncode-2.9/osslsigncode.c:3961:12: warning: ‘read_keyfile’ defined but not used [-Wunused-function] 3961 | static int read_keyfile(GLOBAL_OPTIONS *options) | ^~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/osslsigncode.dir/build.make:79: CMakeFiles/osslsigncode.dir/osslsigncode.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/osslsigncode-2.9/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/osslsigncode.dir/all] Error 2 gmake: *** [Makefile:169: all] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.kspYUh (%build) Macro expanded in comment on line 27: %{name}-preventnetwork-access-during-tests.patch Bad exit status from /var/tmp/rpm-tmp.kspYUh (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/originals/osslsigncode.spec'