Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libftdi.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-477513-74205/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libftdi.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1710201600 Wrote: /builddir/build/SRPMS/libftdi-1.5-2.an23_rva23.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/libftdi.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-477513-74205/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libftdi.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1710201600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.alV2EW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libftdi1-1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libftdi1-1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libftdi1-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-libftdi-1.5-fix_pkgconfig_path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-libftdi-1.5-no-distutils.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GZxTCS + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 libftdi1-1.5 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/cmake -S . -B anolis-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 -DSTATICLIBS=off -DFTDIPP=on -DPYTHON_BINDINGS=on -DDOCUMENTATION=off -DEXAMPLES=off CMake Warning (dev) at CMakeLists.txt:2 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 14.3.0 -- 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 CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Build type: RelWithDebInfo -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.26 CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (LIBUSB) does not match the name of the calling package (USB1). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindUSB1.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:28 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUSB: /usr/lib64/libusb-1.0.so CMake Warning (dev) at CMakeLists.txt:33 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib64/cmake/Boost-1.83.0/BoostConfig.cmake (found version "1.83.0") fatal: not a git repository (or any of the parent directories): .git -- Detected git snapshot version: unknown -- The CXX compiler identification is GNU 14.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at python/CMakeLists.txt:4 (cmake_policy): The OLD behavior for policy CMP0078 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Found SWIG: /usr/bin/swig (found version "4.3.0") CMake Warning (dev) at python/CMakeLists.txt:17 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3.11 (found version "3.11.6") CMake Warning (dev) at python/CMakeLists.txt:18 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonLibs: /usr/lib64/libpython3.11.so (found version "3.11.6") CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:657 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:928 (SWIG_ADD_SOURCE_TO_MODULE) python/CMakeLists.txt:31 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Confuse: /usr/lib64/libconfuse.so -- Looking for dgettext -- Looking for dgettext - found -- Found Libintl: /usr/include -- Building ftdi_eeprom -- Summary of build options: Build static libs: off Build C++ bindings: on Build Python bindings: on Build ftdi_eeprom: ON Build examples: off Build tests: OFF Build API documentation: off -- Configuring done (56.6s) -- Generating done (0.3s) 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 SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build + /usr/bin/cmake --build anolis-linux-build -j64 --verbose Change Dir: '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j64 /usr/bin/cmake -S/builddir/build/BUILD/libftdi1-1.5 -B/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/CMakeFiles /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' /usr/bin/gmake -f src/CMakeFiles/ftdi1.dir/build.make src/CMakeFiles/ftdi1.dir/depend /usr/bin/gmake -f python/CMakeFiles/ftdi1_swig_compilation.dir/build.make python/CMakeFiles/ftdi1_swig_compilation.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.5 /builddir/build/BUILD/libftdi1-1.5/src /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src/CMakeFiles/ftdi1.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.5 /builddir/build/BUILD/libftdi1-1.5/python /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/ftdi1_swig_compilation.dir/DependInfo.cmake "--color=" Dependee "/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/ftdi1_swig_compilation.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/ftdi1_swig_compilation.dir/depend.internal". Dependee "/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/ftdi1_swig_compilation.dir/depend.internal". gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' /usr/bin/gmake -f src/CMakeFiles/ftdi1.dir/build.make src/CMakeFiles/ftdi1.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' Scanning dependencies of target ftdi1_swig_compilation gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' /usr/bin/gmake -f python/CMakeFiles/ftdi1_swig_compilation.dir/build.make python/CMakeFiles/ftdi1_swig_compilation.dir/build [ 10%] Building C object src/CMakeFiles/ftdi1.dir/ftdi.c.o gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src && /usr/bin/gcc -Dftdi1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.5/src -I/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src -I/usr/include/libusb-1.0 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -fPIC -Wall -MD -MT src/CMakeFiles/ftdi1.dir/ftdi.c.o -MF CMakeFiles/ftdi1.dir/ftdi.c.o.d -o CMakeFiles/ftdi1.dir/ftdi.c.o -c /builddir/build/BUILD/libftdi1-1.5/src/ftdi.c [ 20%] Building C object src/CMakeFiles/ftdi1.dir/ftdi_stream.c.o cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src && /usr/bin/gcc -Dftdi1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.5/src -I/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src -I/usr/include/libusb-1.0 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -fPIC -Wall -MD -MT src/CMakeFiles/ftdi1.dir/ftdi_stream.c.o -MF CMakeFiles/ftdi1.dir/ftdi_stream.c.o.d -o CMakeFiles/ftdi1.dir/ftdi_stream.c.o -c /builddir/build/BUILD/libftdi1-1.5/src/ftdi_stream.c [ 30%] Swig compile ftdi1.i for python cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python && /usr/bin/cmake -E touch /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON.stamp cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.3.0 /usr/bin/swig -python -outdir /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python -interface _ftdi1 -I/builddir/build/BUILD/libftdi1-1.5/src -I/usr/include/libusb-1.0 -I/usr/include/python3.11 -o /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c /builddir/build/BUILD/libftdi1-1.5/python/ftdi1.i /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:320: Warning 451: Setting a const char * variable may leak memory. /builddir/build/BUILD/libftdi1-1.5/src/ftdi_i.h:132: Warning 451: Setting a const char * variable may leak memory. gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' [ 30%] Built target ftdi1_swig_compilation [ 40%] Linking C shared library libftdi1.so cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdi1.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -shared -Wl,-soname,libftdi1.so.2 -o libftdi1.so.2.5.0 CMakeFiles/ftdi1.dir/ftdi.c.o CMakeFiles/ftdi1.dir/ftdi_stream.c.o -lusb-1.0 -latomic cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src && /usr/bin/cmake -E cmake_symlink_library libftdi1.so.2.5.0 libftdi1.so.2 libftdi1.so gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' [ 40%] Built target ftdi1 /usr/bin/gmake -f ftdipp/CMakeFiles/ftdipp1.dir/build.make ftdipp/CMakeFiles/ftdipp1.dir/depend /usr/bin/gmake -f python/CMakeFiles/_ftdi1.dir/build.make python/CMakeFiles/_ftdi1.dir/depend /usr/bin/gmake -f ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/build.make ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.5 /builddir/build/BUILD/libftdi1-1.5/python /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.5 /builddir/build/BUILD/libftdi1-1.5/ftdi_eeprom /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdi_eeprom /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.5 /builddir/build/BUILD/libftdi1-1.5/ftdipp /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp/CMakeFiles/ftdipp1.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' /usr/bin/gmake -f ftdipp/CMakeFiles/ftdipp1.dir/build.make ftdipp/CMakeFiles/ftdipp1.dir/build /usr/bin/gmake -f python/CMakeFiles/_ftdi1.dir/build.make python/CMakeFiles/_ftdi1.dir/build /usr/bin/gmake -f ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/build.make ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' [ 60%] Building C object ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/main.c.o [ 60%] Building CXX object ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp && /usr/bin/g++ -Dftdipp1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.5/src -I/builddir/build/BUILD/libftdi1-1.5/ftdipp -I/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp -I/usr/include/libusb-1.0 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -g -DNDEBUG -fPIC -Wall -MD -MT ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o -MF CMakeFiles/ftdipp1.dir/ftdi.cpp.o.d -o CMakeFiles/ftdipp1.dir/ftdi.cpp.o -c /builddir/build/BUILD/libftdi1-1.5/ftdipp/ftdi.cpp cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdi_eeprom && /usr/bin/gcc -I/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdi_eeprom -I/builddir/build/BUILD/libftdi1-1.5/src -I/usr/include/libusb-1.0 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -Wall -MD -MT ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/main.c.o -MF CMakeFiles/ftdi_eeprom.dir/main.c.o.d -o CMakeFiles/ftdi_eeprom.dir/main.c.o -c /builddir/build/BUILD/libftdi1-1.5/ftdi_eeprom/main.c [ 70%] Building C object python/CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python && /usr/bin/gcc -D_ftdi1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.5/src -I/usr/include/libusb-1.0 -I/usr/include/python3.11 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -fPIC -Wall -MD -MT python/CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o -MF CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o.d -o CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o -c /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_usb_find_all': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:3756:15: error: too few arguments to function 'SWIG_Python_AppendOutput' 3756 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)*arg2,SWIGTYPE_p_ftdi_device_list,0)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1: note: declared here 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_read_data': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4015:15: error: too few arguments to function 'SWIG_Python_AppendOutput' 4015 | resultobj = SWIG_Python_AppendOutput(resultobj, charp2str((char*)arg2, arg3)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1: note: declared here 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_read_pins': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4139:15: error: too few arguments to function 'SWIG_Python_AppendOutput' 4139 | resultobj = SWIG_Python_AppendOutput(resultobj, charp2str((char*)arg2, 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1: note: declared here 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_get_latency_timer': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4167:15: error: too few arguments to function 'SWIG_Python_AppendOutput' 4167 | resultobj = SWIG_Python_AppendOutput(resultobj, charp2str((char*)arg2, 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1: note: declared here 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_get_eeprom_buf': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4272:15: error: too few arguments to function 'SWIG_Python_AppendOutput' 4272 | resultobj = SWIG_Python_AppendOutput(resultobj, charp2str((char*)arg2, arg3)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1: note: declared here 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_usb_purge_rx_buffer': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7556:3: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations] 7556 | result = (int)ftdi_usb_purge_rx_buffer(arg1); | ^~~~~~ In file included from /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:3712: /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:564:20: note: declared here 564 | int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_usb_purge_tx_buffer': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7580:3: warning: 'ftdi_usb_purge_tx_buffer' is deprecated [-Wdeprecated-declarations] 7580 | result = (int)ftdi_usb_purge_tx_buffer(arg1); | ^~~~~~ /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:565:20: note: declared here 565 | int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c: In function '_wrap_usb_purge_buffers': /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7604:3: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 7604 | result = (int)ftdi_usb_purge_buffers(arg1); | ^~~~~~ /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libftdi1-1.5/src/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ gmake[2]: *** [python/CMakeFiles/_ftdi1.dir/build.make:79: python/CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:272: python/CMakeFiles/_ftdi1.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 80%] Linking C executable ftdi_eeprom cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdi_eeprom && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdi_eeprom.dir/link.txt --verbose=1 /usr/bin/gcc -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -rdynamic CMakeFiles/ftdi_eeprom.dir/main.c.o -o ftdi_eeprom -Wl,-rpath,/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src: ../src/libftdi1.so.2.5.0 -lconfuse -lusb-1.0 -latomic [ 90%] Linking CXX shared library libftdipp1.so cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdipp1.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -shared -Wl,-soname,libftdipp1.so.3 -o libftdipp1.so.2.5.0 CMakeFiles/ftdipp1.dir/ftdi.cpp.o -Wl,-rpath,/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/src: ../src/libftdi1.so.2.5.0 -lusb-1.0 -latomic gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' [ 90%] Built target ftdi_eeprom cd /builddir/build/BUILD/libftdi1-1.5/anolis-linux-build/ftdipp && /usr/bin/cmake -E cmake_symlink_library libftdipp1.so.2.5.0 libftdipp1.so.3 libftdipp1.so gmake[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' [ 90%] Built target ftdipp1 gmake[1]: Leaving directory '/builddir/build/BUILD/libftdi1-1.5/anolis-linux-build' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GZxTCS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GZxTCS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libftdi.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 riscv64 --nodeps /builddir/build/SPECS/libftdi.spec