Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libftdi.spec'], chrootPath='/var/lib/mock/f29-build-14809-6830/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libftdi-1.3-11.0.riscv64.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libftdi.spec'], chrootPath='/var/lib/mock/f29-build-14809-6830/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BPNBzU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libftdi1-1.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libftdi1-1.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libftdi1-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e s/usb_device/usb/g packages/99-libftdi.rules + sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YKOaRQ + umask 022 + cd /builddir/build/BUILD + cd libftdi1-1.3 + export CMAKE_PREFIX_PATH=/usr + CMAKE_PREFIX_PATH=/usr + mkdir build-py2 + pushd build-py2 ~/build/BUILD/libftdi1-1.3/build-py2 ~/build/BUILD/libftdi1-1.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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 -DPython_ADDITIONAL_VERSIONS=2.7 .. -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done BUILDSTDERR: -- Build type: RelWithDebInfo -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.21 -- Found LIBUSB: /usr/lib64/libusb-1.0.so -- Boost version: 1.66.0 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen missing components: dot -- Doxygen found. -- Generating API documentation with Doxygen -- Detected git snapshot version: unknown -- Building libftdi1++ -- Found SWIG: /usr/bin/swig (found version "3.0.12") -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.15") -- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.15") BUILDSTDERR: CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:272 (message): BUILDSTDERR: SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: python/CMakeLists.txt:28 (swig_add_module) -- Building python bindings via swig. Will be installed under /usr/lib64/python2.7/site-packages -- Found Confuse: /usr/lib64/libconfuse.so -- Looking for dgettext -- Looking for dgettext - found -- Found Libintl: /usr/include -- Building ftdi_eeprom -- Building example programs. -- Building libftdi++ examples. -- Boost version: 1.66.0 -- Found the following Boost libraries: -- unit_test_framework -- Building unit test -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libftdi1-1.3/build-py2 + make -j1 /usr/bin/cmake -H/builddir/build/BUILD/libftdi1-1.3 -B/builddir/build/BUILD/libftdi1-1.3/build-py2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libftdi1-1.3/build-py2/CMakeFiles /builddir/build/BUILD/libftdi1-1.3/build-py2/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f CMakeFiles/docs.dir/build.make CMakeFiles/docs.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/CMakeFiles/docs.dir/DependInfo.cmake --color= Scanning dependencies of target docs make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f CMakeFiles/docs.dir/build.make CMakeFiles/docs.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 2%] Generating doc/html/index.html /usr/bin/cmake -E make_directory /builddir/build/BUILD/libftdi1-1.3/build-py2/doc /usr/bin/doxygen /builddir/build/BUILD/libftdi1-1.3/build-py2/Doxyfile make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 2%] Built target docs make -f src/CMakeFiles/ftdi1-static.dir/build.make src/CMakeFiles/ftdi1-static.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/src /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/src /builddir/build/BUILD/libftdi1-1.3/build-py2/src/CMakeFiles/ftdi1-static.dir/DependInfo.cmake --color= Scanning dependencies of target ftdi1-static make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f src/CMakeFiles/ftdi1-static.dir/build.make src/CMakeFiles/ftdi1-static.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 4%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi.c.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cc -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/build-py2/src -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wall -o CMakeFiles/ftdi1-static.dir/ftdi.c.o -c /builddir/build/BUILD/libftdi1-1.3/src/ftdi.c [ 6%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi_stream.c.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cc -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/build-py2/src -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wall -o CMakeFiles/ftdi1-static.dir/ftdi_stream.c.o -c /builddir/build/BUILD/libftdi1-1.3/src/ftdi_stream.c [ 9%] Linking C static library libftdi1.a cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cmake -P CMakeFiles/ftdi1-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdi1-static.dir/link.txt --verbose=1 /usr/bin/ar qc libftdi1.a CMakeFiles/ftdi1-static.dir/ftdi.c.o CMakeFiles/ftdi1-static.dir/ftdi_stream.c.o /usr/bin/ranlib libftdi1.a make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 9%] Built target ftdi1-static make -f src/CMakeFiles/ftdi1.dir/build.make src/CMakeFiles/ftdi1.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/src /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/src /builddir/build/BUILD/libftdi1-1.3/build-py2/src/CMakeFiles/ftdi1.dir/DependInfo.cmake --color= Scanning dependencies of target ftdi1 make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f src/CMakeFiles/ftdi1.dir/build.make src/CMakeFiles/ftdi1.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 11%] Building C object src/CMakeFiles/ftdi1.dir/ftdi.c.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cc -Dftdi1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/build-py2/src -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -o CMakeFiles/ftdi1.dir/ftdi.c.o -c /builddir/build/BUILD/libftdi1-1.3/src/ftdi.c [ 13%] Building C object src/CMakeFiles/ftdi1.dir/ftdi_stream.c.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cc -Dftdi1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/build-py2/src -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -o CMakeFiles/ftdi1.dir/ftdi_stream.c.o -c /builddir/build/BUILD/libftdi1-1.3/src/ftdi_stream.c [ 16%] Linking C shared library libftdi1.so cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdi1.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libftdi1.so.2 -o libftdi1.so.2.3.0 CMakeFiles/ftdi1.dir/ftdi.c.o CMakeFiles/ftdi1.dir/ftdi_stream.c.o -lusb-1.0 cd /builddir/build/BUILD/libftdi1-1.3/build-py2/src && /usr/bin/cmake -E cmake_symlink_library libftdi1.so.2.3.0 libftdi1.so.2 libftdi1.so make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 16%] Built target ftdi1 make -f ftdipp/CMakeFiles/ftdipp1-static.dir/build.make ftdipp/CMakeFiles/ftdipp1-static.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/ftdipp /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp/CMakeFiles/ftdipp1-static.dir/DependInfo.cmake --color= Scanning dependencies of target ftdipp1-static make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f ftdipp/CMakeFiles/ftdipp1-static.dir/build.make ftdipp/CMakeFiles/ftdipp1-static.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 18%] Building CXX object ftdipp/CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/c++ -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/ftdipp -I/builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wall -o CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o -c /builddir/build/BUILD/libftdi1-1.3/ftdipp/ftdi.cpp [ 20%] Linking CXX static library libftdipp1.a cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/cmake -P CMakeFiles/ftdipp1-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdipp1-static.dir/link.txt --verbose=1 /usr/bin/ar qc libftdipp1.a CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o /usr/bin/ranlib libftdipp1.a make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 20%] Built target ftdipp1-static make -f ftdipp/CMakeFiles/ftdipp1.dir/build.make ftdipp/CMakeFiles/ftdipp1.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/ftdipp /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp/CMakeFiles/ftdipp1.dir/DependInfo.cmake --color= Scanning dependencies of target ftdipp1 make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f ftdipp/CMakeFiles/ftdipp1.dir/build.make ftdipp/CMakeFiles/ftdipp1.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 23%] Building CXX object ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/c++ -Dftdipp1_EXPORTS -I/builddir/build/BUILD/libftdi1-1.3/src -I/builddir/build/BUILD/libftdi1-1.3/ftdipp -I/builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp -I/usr/include/libusb-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -o CMakeFiles/ftdipp1.dir/ftdi.cpp.o -c /builddir/build/BUILD/libftdi1-1.3/ftdipp/ftdi.cpp [ 25%] Linking CXX shared library libftdipp1.so cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/cmake -E cmake_link_script CMakeFiles/ftdipp1.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libftdipp1.so.2 -o libftdipp1.so.2.3.0 CMakeFiles/ftdipp1.dir/ftdi.cpp.o -Wl,-rpath,/builddir/build/BUILD/libftdi1-1.3/build-py2/src: ../src/libftdi1.so.2.3.0 -lusb-1.0 cd /builddir/build/BUILD/libftdi1-1.3/build-py2/ftdipp && /usr/bin/cmake -E cmake_symlink_library libftdipp1.so.2.3.0 libftdipp1.so.2 libftdipp1.so make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 25%] Built target ftdipp1 make -f python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/build.make python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' cd /builddir/build/BUILD/libftdi1-1.3/build-py2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libftdi1-1.3 /builddir/build/BUILD/libftdi1-1.3/python /builddir/build/BUILD/libftdi1-1.3/build-py2 /builddir/build/BUILD/libftdi1-1.3/build-py2/python /builddir/build/BUILD/libftdi1-1.3/build-py2/python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/DependInfo.cmake --color= Scanning dependencies of target gen_ftdi1_ftdi1PYTHON_wrap make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make -f python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/build.make python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/build make[2]: Entering directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' [ 27%] Swig source cd /builddir/build/BUILD/libftdi1-1.3/build-py2/python && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libftdi1-1.3/build-py2/python cd /builddir/build/BUILD/libftdi1-1.3/build-py2/python && /usr/bin/cmake -E touch /builddir/build/BUILD/libftdi1-1.3/build-py2/python/ftdi1PYTHON_wrap.stamp cd /builddir/build/BUILD/libftdi1-1.3/build-py2/python && /usr/bin/swig -python -DDOXYGEN=YES -outdir /builddir/build/BUILD/libftdi1-1.3/build-py2/python -I/builddir/build/BUILD/libftdi1-1.3/src -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -o /builddir/build/BUILD/libftdi1-1.3/build-py2/python/ftdi1PYTHON_wrap.c /builddir/build/BUILD/libftdi1-1.3/python/ftdi1.i BUILDSTDERR: /builddir/build/BUILD/libftdi1-1.3/python/ftdi1.i:7: Error: Unable to find 'ftdi1_doc.i' BUILDSTDERR: make[2]: *** [python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/build.make:67: python/ftdi1PYTHON_wrap.stamp] Error 1 BUILDSTDERR: make[2]: *** Deleting file 'python/ftdi1PYTHON_wrap.stamp' make[2]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' make[1]: Leaving directory '/builddir/build/BUILD/libftdi1-1.3/build-py2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:382: python/CMakeFiles/gen_ftdi1_ftdi1PYTHON_wrap.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.YKOaRQ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.YKOaRQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/libftdi.spec