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-324036-57994/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: Macro expanded in comment on line 25: %{url}/archive/%{version}/%{name}-%{version}.tar.gz warning: extra tokens at the end of %endif directive in line 60: %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=1596240000 Wrote: /builddir/build/SRPMS/libyui-bindings-2.0.2-1.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-324036-57994/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: Macro expanded in comment on line 25: %{url}/archive/%{version}/%{name}-%{version}.tar.gz warning: extra tokens at the end of %endif directive in line 60: %endif # 0%%{?with_mono} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QBDfW5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 + /usr/bin/gzip -dc /builddir/build/SOURCES/libyui-bindings-2.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 + /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-2.0.2-fix-building-ruby-bindings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libyui-bindings-2.0.2-menubar.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jHeOC7 + umask 022 + cd /builddir/build/BUILD + cd libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 + 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/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 -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/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 -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/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 -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/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 -S . -B riscv64-redhat-linux-gnu -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_MONO=OFF -DWITH_PERL=ON -DWITH_PYTHON=ON -DWITH_RUBY=ON -DWITH_MGA=YES 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.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 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-59dfa64f05adb40c7da88325255d758f4588ab42/cmake/Modules -- Found SWIG: /usr/bin/swig (found version "4.0.0") -- Found Libyui: (Version: 3.10.0) -- Found Libyui-mga: (Version: 1.1.0) -- Found Ruby: /usr/bin/ruby (found suitable version "2.7.1", minimum required is "1.8.0") -- Ruby executable: /usr/bin/ruby -- Ruby vendor arch dir: /usr/lib64/ruby/vendor_ruby -- Ruby vendor lib dir: /usr/share/ruby/vendor_ruby -- Ruby include path: -- Found PythonLibs: /usr/lib64/libpython3.9.so (found version "3.9.0rc1") -- 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:273 (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.32.0") -- Found PerlLibs: /usr/lib64/libperl.so (found version "5.32.0") -- 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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu + /usr/bin/cmake --build riscv64-redhat-linux-gnu -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 -B/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' /usr/bin/gmake -f swig/ruby/CMakeFiles/yui_ruby.dir/build.make swig/ruby/CMakeFiles/yui_ruby.dir/depend /usr/bin/gmake -f swig/python/CMakeFiles/yui_python.dir/build.make swig/python/CMakeFiles/yui_python.dir/depend /usr/bin/gmake -f swig/perl/CMakeFiles/yui_perl.dir/build.make swig/perl/CMakeFiles/yui_perl.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' [ 22%] Generating yui_python.cxx [ 22%] Generating yui_ruby.cxx cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ ruby... cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ Python\ ... [ 33%] Generating yui_perl.cxx cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl && /usr/bin/cmake -E echo_append Creating\ wrapper\ code\ for\ Perl\ ... Creating wrapper code for ruby...cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/swig -c++ -ruby -autorename -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/yui.i Creating wrapper code for Perl ...Creating wrapper code for Python ...cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl && /usr/bin/swig -c++ -perl -shadow -features autodoc -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/yui_perl.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/yui.i cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python && /usr/bin/swig -c++ -python -shadow -features autodoc -DWITH_MGA -o /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/yui_python.cxx -I/usr/include /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/yui.i /usr/include/yui/YRpmGroupsTree.h:39: Warning 204: CPP #warning, "The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE.". /usr/include/yui/YRpmGroupsTree.h:39: Warning 204: CPP #warning, "The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE.". /usr/include/yui/YRpmGroupsTree.h:39: Warning 204: CPP #warning, "The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE.". /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/YWidget.h:628: Warning 350: operator new ignored /usr/include/yui/YWidget.h:628: Warning 350: operator new ignored /usr/include/yui/YCommandLine.h:86: Warning 389: operator[] ignored (consider using %extend) /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/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/YTransText.h:73: Warning 362: operator= ignored /usr/include/yui/YTransText.h:73: Warning 362: operator= ignored /usr/include/yui/YUILog.h:36: Warning 315: Nothing known about 'std::endl'. /usr/include/yui/YUILog.h:36: Warning 315: Nothing known about 'std::endl'. /usr/include/yui/YUILog.h:36: Warning 315: Nothing known about 'std::endl'. /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/YWidget.h:717: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /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: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/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/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:232: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YPushButton.h:232: 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/YUIException.h:274: 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/YUIException.h:382: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. /usr/include/yui/YEvent.h:362: 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. /usr/include/yui/YWidgetID.h:115: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl && /usr/bin/cmake -E echo Done. Done. cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/perl /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/CMakeFiles/yui_perl.dir/depend.internal". cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/cmake -E echo Done. Scanning dependencies of target yui_perl gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' /usr/bin/gmake -f swig/perl/CMakeFiles/yui_perl.dir/build.make swig/perl/CMakeFiles/yui_perl.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' Done. cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/ruby /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/DependInfo.cmake --color= [ 44%] Building CXX object swig/perl/CMakeFiles/yui_perl.dir/yui_perl.cxx.o cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl && /usr/bin/g++ -DWITH_MGA -Dyui_perl_EXPORTS -I/usr/lib64/perl5/CORE -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/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 -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 -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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/yui_perl.cxx Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/CMakeFiles/yui_ruby.dir/depend.internal". Scanning dependencies of target yui_ruby gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' /usr/bin/gmake -f swig/ruby/CMakeFiles/yui_ruby.dir/build.make swig/ruby/CMakeFiles/yui_ruby.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' [ 55%] Building CXX object swig/ruby/CMakeFiles/yui_ruby.dir/yui_ruby.cxx.o cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby && /usr/bin/g++ -DWITH_MGA -Dyui_ruby_EXPORTS -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/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx In file included from /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:2098: /usr/include/yui/YRpmGroupsTree.h:39:4: warning: #warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. [-Wcpp] 39 | # warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. | ^~~~~~~ /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:232: Warning 503: Can't wrap 'operator <<' unless renamed to a valid identifier. In file included from /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/perl/yui_perl.cxx:1819: /usr/include/yui/YRpmGroupsTree.h:39:4: warning: #warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. [-Wcpp] 39 | # warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. | ^~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx: In function 'void SWIG_RubyInitializeTrackings()': /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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. /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4774:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4774 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4820:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4820 | catch (std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4830:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4830 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4852:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4852 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4861:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 4861 | catch( std::out_of_range ) { | ^~~~~~~~~~~~ cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python && /usr/bin/cmake -E echo Done. Done. cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42 /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/python /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/depend.internal". Dependee "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/CMakeFiles/yui_python.dir/depend.internal". Scanning dependencies of target yui_python gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' /usr/bin/gmake -f swig/python/CMakeFiles/yui_python.dir/build.make swig/python/CMakeFiles/yui_python.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' [ 66%] Building CXX object swig/python/CMakeFiles/yui_python.dir/yui_python.cxx.o cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python && /usr/bin/g++ -DWITH_MGA -Dyui_python_EXPORTS -I/usr/include/python3.9 -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/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/yui_python.cxx In file included from /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/python/yui_python.cxx:3002: /usr/include/yui/YRpmGroupsTree.h:39:4: warning: #warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. [-Wcpp] 39 | # warning The YRpmGroupsTree class is obsolete. DO NOT USE ANYMORE. | ^~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4772:101: required from here /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3639:69: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3639 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3639:82: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3639 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:4895:105: required from here /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3639:69: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3639 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3639:82: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3639 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ gmake[2]: *** [swig/ruby/CMakeFiles/yui_ruby.dir/build.make:91: swig/ruby/CMakeFiles/yui_ruby.dir/yui_ruby.cxx.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:260: swig/ruby/CMakeFiles/yui_ruby.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 77%] Linking CXX shared library _yui.so cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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 -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/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.12.0.0 -lpython3.9 /usr/lib64/libyui.so.12.0.0 -ldl -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' [ 77%] Built target yui_python [ 88%] Linking CXX shared library yui.so cd /builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/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 -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/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.12.0.0 -lperl /usr/lib64/libyui.so.12.0.0 -ldl -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' [ 88%] Built target yui_perl gmake[1]: Leaving directory '/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/riscv64-redhat-linux-gnu' gmake: *** [Makefile:174: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jHeOC7 (%build) RPM build errors: extra tokens at the end of %endif directive in line 8: %endif # arch %%{mono_arches} Macro expanded in comment on line 25: %{url}/archive/%{version}/%{name}-%{version}.tar.gz extra tokens at the end of %endif directive in line 60: %endif # 0%%{?with_mono} Bad exit status from /var/tmp/rpm-tmp.jHeOC7 (%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