Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libyui-bindings.spec'], chrootPath='/var/lib/mock/f33-build-266336-51421/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libyui-bindings.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 warning: extra tokens at the end of %endif directive in line 8: %endif # arch %%{mono_arches} warning: extra tokens at the end of %endif directive in line 53: %endif # 0%%{?with_mono} sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Wrote: /builddir/build/SRPMS/libyui-bindings-1.1.2-22.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libyui-bindings.spec'], chrootPath='/var/lib/mock/f33-build-266336-51421/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libyui-bindings.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 warning: extra tokens at the end of %endif directive in line 8: %endif # arch %%{mono_arches} warning: extra tokens at the end of %endif directive in line 53: %endif # 0%%{?with_mono} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N776Qu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libyui-bindings-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libyui-bindings-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libyui-bindings-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libyui-bindings-1.1.2-libyui-mga.patch + /usr/bin/cat /builddir/build/SOURCES/libyui-bindings-1.1.2-mga-cmake.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lDqblr + umask 022 + cd /builddir/build/BUILD + cd libyui-bindings-1.1.2 + /usr/bin/mkdir -p build-riscv64-redhat-linux-gnu + pushd build-riscv64-redhat-linux-gnu ~/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu ~/build/BUILD/libyui-bindings-1.1.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /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 -DLIB=/usr/lib64 -DMONO_LIBRARIES=/usr/lib64 -DPython_ADDITIONAL_VERSIONS=3.9 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_SITEDIR=/usr/lib64/python3.9/site-packages -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_RUBY_GEM=NO -DWITH_MGA=YES -DWITH_MONO=OFF -DWITH_PERL=ON -DWITH_PYTHON=ON -DWITH_RUBY=ON .. CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.1.1 -- The CXX compiler identification is GNU 10.1.1 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc - 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/g++ -- Check for working CXX compiler: /usr/bin/g++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy): The OLD behavior for policy CMP0046 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. -- Looking modules in /usr/share/cmake/Modules;/builddir/build/BUILD/libyui-bindings-1.1.2/cmake/Modules -- Found SWIG: /usr/bin/swig (found version "4.0.0") -- Found Libyui: (Version: 3.3.3) -- Found Libyui-mga: (Version: 1.0.7) -- Found Ruby: /usr/bin/ruby (found version "2.7.1") -- Ruby executable: /usr/bin/ruby -- Ruby vendor arch dir: /usr/lib64/ruby/vendor_ruby -- Ruby include path: /usr/include;/usr/include -- Found PythonLibs: /usr/lib64/libpython3.9.so (found version "3.9.0b1") -- Found PythonInterp: /usr/bin/python3 (found version "3.9") -- Python executable: /usr/bin/python3 -- Python include dir: /usr/include/python3.9 -- Python lib dir: /usr/lib64/python3.9 -- Python site dir: /usr/lib64/python3.9/site-packages CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (Perl) does not match the name of the calling package (PerlLibs). 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): /usr/share/cmake/Modules/FindPerl.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) /usr/share/cmake/Modules/FindPerlLibs.cmake:48 (include) swig/CMakeLists.txt:30 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Perl: /usr/bin/perl (found version "5.30.3") -- Found PerlLibs: /usr/lib64/libperl.so (found version "5.30.3") -- Perl executable: /usr/bin/perl -- Perl executable: /usr/bin/perl -- Perl core dir: /usr/lib64/perl5/CORE -- Perl vendor arch dir: /usr/lib64/perl5/vendor_perl -- Perl vendor lib dir: /usr/share/perl5/vendor_perl -- Writing spec file... -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB LIB_INSTALL_DIR LIB_SUFFIX MONO_LIBRARIES SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/libyui-bindings-1.1.2 -B/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f swig/ruby/CMakeFiles/yui_ruby.dir/build.make swig/ruby/CMakeFiles/yui_ruby.dir/depend /usr/bin/make -f swig/python/CMakeFiles/yui_python.dir/build.make swig/python/CMakeFiles/yui_python.dir/depend /usr/bin/make -f swig/perl/CMakeFiles/yui_perl.dir/build.make swig/perl/CMakeFiles/yui_perl.dir/depend make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 33%] Generating yui_perl.cxx cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ Perl\ ... Creating wrapper code for Perl ...cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl && /usr/bin/swig -c++ -perl -shadow -features autodoc -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/yui_perl.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-1.1.2/swig/yui.i cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl && /usr/bin/cmake -E echo Done. Done. make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/include/yui/YWidget.h:628: Warning 350: operator new ignored /usr/include/yui/YBothDim.h:79: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YBothDim.h:95: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YCommandLine.h:86: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YTransText.h:73: Warning 362: operator= ignored /usr/include/yui/YUIException.h:297: Warning 401: Nothing known about base class 'std::exception'. Ignored. /usr/include/yui/YWidget.h:717: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YEvent.h:121: Warning 509: Overloaded method YEvent::toString(YEvent::EventReason) effectively ignored, /usr/include/yui/YEvent.h:116: Warning 509: as it is shadowed by YEvent::toString(YEvent::EventType). /usr/include/yui/YEvent.h:362: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YProperty.h:139: Warning 509: Overloaded method YPropertyValue::YPropertyValue(YPropertyType) effectively ignored, /usr/include/yui/YProperty.h:136: Warning 509: as it is shadowed by YPropertyValue::YPropertyValue(int). /usr/include/yui/YPushButton.h:225: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:274: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:382: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YWidgetID.h:115: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 11%] Generating yui_ruby.cxx cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ ruby... Creating wrapper code for ruby...cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/swig -c++ -ruby -autorename -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-1.1.2/swig/yui.i cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/cmake -E echo Done. Done. make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/include/yui/YWidget.h:628: Warning 350: operator new ignored /usr/include/yui/YBothDim.h:79: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YBothDim.h:95: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YCommandLine.h:86: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YProperty.h:163: Warning 378: operator!= ignored /usr/include/yui/YTransText.h:73: Warning 362: operator= ignored /usr/include/yui/YWidget.h:717: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YEvent.h:121: Warning 509: Overloaded method YEvent::toString(YEvent::EventReason) effectively ignored, /usr/include/yui/YEvent.h:116: Warning 509: as it is shadowed by YEvent::toString(YEvent::EventType). /usr/include/yui/YEvent.h:362: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YProperty.h:139: Warning 509: Overloaded method YPropertyValue::YPropertyValue(YPropertyType) effectively ignored, /usr/include/yui/YProperty.h:136: Warning 509: as it is shadowed by YPropertyValue::YPropertyValue(int). /usr/include/yui/YPushButton.h:225: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:274: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:382: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YWidgetID.h:115: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-1.1.2 /builddir/build/BUILD/libyui-bindings-1.1.2/swig/ruby /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/depend.internal". Scanning dependencies of target yui_ruby make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/bin/make -f swig/ruby/CMakeFiles/yui_ruby.dir/build.make swig/ruby/CMakeFiles/yui_ruby.dir/build make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-1.1.2 /builddir/build/BUILD/libyui-bindings-1.1.2/swig/perl /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/depend.internal". Scanning dependencies of target yui_perl make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/bin/make -f swig/perl/CMakeFiles/yui_perl.dir/build.make swig/perl/CMakeFiles/yui_perl.dir/build make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 22%] Generating yui_python.cxx cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ Python\ ... Creating wrapper code for Python ...cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python && /usr/bin/swig -c++ -python -shadow -features autodoc -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/yui_python.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-1.1.2/swig/yui.i cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python && /usr/bin/cmake -E echo Done. Done. make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/include/yui/YWidget.h:628: Warning 350: operator new ignored /usr/include/yui/YBothDim.h:79: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YBothDim.h:95: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YCommandLine.h:86: Warning 389: operator[] ignored (consider using %extend) /usr/include/yui/YTransText.h:73: Warning 362: operator= ignored /usr/include/yui/YWidget.h:717: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YEvent.h:121: Warning 509: Overloaded method YEvent::toString(YEvent::EventReason) effectively ignored, /usr/include/yui/YEvent.h:116: Warning 509: as it is shadowed by YEvent::toString(YEvent::EventType). /usr/include/yui/YEvent.h:362: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YProperty.h:139: Warning 509: Overloaded method YPropertyValue::YPropertyValue(YPropertyType) effectively ignored, /usr/include/yui/YProperty.h:136: Warning 509: as it is shadowed by YPropertyValue::YPropertyValue(int). /usr/include/yui/YPushButton.h:225: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:274: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YUIException.h:382: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YWidgetID.h:115: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-1.1.2 /builddir/build/BUILD/libyui-bindings-1.1.2/swig/python /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/depend.internal". Scanning dependencies of target yui_python make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' /usr/bin/make -f swig/python/CMakeFiles/yui_python.dir/build.make swig/python/CMakeFiles/yui_python.dir/build make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 44%] Building CXX object swig/ruby/CMakeFiles/yui_ruby.dir/yui_ruby.cxx.o cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/g++ -DWITH_MGA -Dyui_ruby_EXPORTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DNDEBUG -fPIC -o CMakeFiles/yui_ruby.dir/yui_ruby.cxx.o -c /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'void SWIG_RubyInitializeTrackings()': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:1267:85: error: call of overloaded 'rb_define_virtual_variable(const char [21], VALUE (&)(...), NULL)' is ambiguous 1267 | rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL); | ^ In file included from /usr/include/ruby/ruby.h:2863, from /usr/include/ruby.h:33, from /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:880: /usr/include/ruby/backward/cxxanyargs.hpp:59:1: note: candidate: 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(...))' 59 | rb_define_virtual_variable(const char *q, type *w, void_type *e) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby/backward/cxxanyargs.hpp:90:1: note: candidate: 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(VALUE, ID, VALUE*))' 90 | rb_define_virtual_variable(const char *q, type *w, rb_gvar_setter_t *e) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'VALUE std_vector_Sl_YItem_Sm__Sg__slice(std::vector*, std::vector::difference_type, std::vector::difference_type)': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4766:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4766 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'VALUE std_vector_Sl_YItem_Sm__Sg__delete_at(std::vector*, std::vector::difference_type)': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4812:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4812 | catch (std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'VALUE std_vector_Sl_YItem_Sm__Sg__at(const std::vector*, std::vector::difference_type)': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4822:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4822 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'VALUE std_vector_Sl_YItem_Sm__Sg____getitem____SWIG_0(const std::vector*, std::vector::difference_type, std::vector::difference_type)': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4844:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4844 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'VALUE std_vector_Sl_YItem_Sm__Sg____getitem____SWIG_1(const std::vector*, std::vector::difference_type)': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4853:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4853 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In instantiation of 'Sequence* swig::getslice(const Sequence*, Difference, Difference) [with Sequence = std::vector; Difference = long int]': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4764:101: required from here /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3631:69: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3631 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3631:82: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3631 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In instantiation of 'Sequence* swig::getslice(const Sequence*, Difference, Difference) [with Sequence = std::vector; Difference = int]': /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4887:105: required from here /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3631:69: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3631 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3631:82: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3631 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ make[2]: *** [swig/ruby/CMakeFiles/yui_ruby.dir/build.make:92: swig/ruby/CMakeFiles/yui_ruby.dir/yui_ruby.cxx.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[1]: *** [CMakeFiles/Makefile2:261: swig/ruby/CMakeFiles/yui_ruby.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 66%] Building CXX object swig/python/CMakeFiles/yui_python.dir/yui_python.cxx.o cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python && /usr/bin/g++ -DWITH_MGA -Dyui_python_EXPORTS -I/usr/include/python3.9 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -o CMakeFiles/yui_python.dir/yui_python.cxx.o -c /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python/yui_python.cxx make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 77%] Linking CXX shared library _yui.so cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/yui_python.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,_yui.so -o _yui.so CMakeFiles/yui_python.dir/yui_python.cxx.o /usr/lib64/libyui-mga.so.8.0.0 -lpython3.9 /usr/lib64/libyui.so.8.0.0 -ldl -lpthread make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 77%] Built target yui_python make[1]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 55%] Building CXX object swig/perl/CMakeFiles/yui_perl.dir/yui_perl.cxx.o cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl && /usr/bin/g++ -DWITH_MGA -Dyui_perl_EXPORTS -I/usr/lib64/perl5/CORE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -D_REENTRANT -D_GNU_SOURCE -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unused -Wno-error -o CMakeFiles/yui_perl.dir/yui_perl.cxx.o -c /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl/yui_perl.cxx make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 88%] Linking CXX shared library yui.so cd /builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu/swig/perl && /usr/bin/cmake -E cmake_link_script CMakeFiles/yui_perl.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,yui.so -o yui.so CMakeFiles/yui_perl.dir/yui_perl.cxx.o -L/usr/lib64/perl5/CORE -Wl,-rpath,/usr/lib64/perl5/CORE: /usr/lib64/libyui-mga.so.8.0.0 -lperl /usr/lib64/libyui.so.8.0.0 -ldl -lpthread make[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' [ 88%] Built target yui_perl make[1]: Leaving directory '/builddir/build/BUILD/libyui-bindings-1.1.2/build-riscv64-redhat-linux-gnu' make: *** [Makefile:175: all] Error 2 error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.lDqblr (%build) extra tokens at the end of %endif directive in line 8: %endif # arch %%{mono_arches} extra tokens at the end of %endif directive in line 53: %endif # 0%%{?with_mono} Bad exit status from /var/tmp/rpm-tmp.lDqblr (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/libyui-bindings.spec