Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec'], chrootPath='/var/lib/mock/f40-build-782753-132263/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/CuraEngine-5.4.0-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec'], chrootPath='/var/lib/mock/f40-build-782753-132263/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0srETD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CuraEngine-5.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/CuraEngine-5.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd CuraEngine-5.4.0 + rm -rf /builddir/build/BUILD/CuraEngine-5.4.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/CuraEngine-5.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir cmake + cp -a /builddir/build/SOURCES/FindGMock.cmake /builddir/build/SOURCES/FindPolyclipping.cmake /builddir/build/SOURCES/FindStb.cmake cmake + rm -rf CMakeLists.txt + cp -a /builddir/build/SOURCES/CMakeLists.txt /builddir/build/SOURCES/CPackConfig.cmake . + tar xf /builddir/build/SOURCES/Scripta_public-c378c837eeb505146ab67abe0904bfed2099128f.tar.gz + mv Scripta_public-c378c837eeb505146ab67abe0904bfed2099128f/include/scripta/ include/ + echo 'Patch #0 (CuraEngine-static-libstdcpp.patch):' Patch #0 (CuraEngine-static-libstdcpp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 109 (offset 8 lines). Patch #1 (CuraEngine-5.4.0-fmt10.patch): + echo 'Patch #1 (CuraEngine-5.4.0-fmt10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/settings/types/LayerIndex.h + rm -rf libs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2QD28S + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd CuraEngine-5.4.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DSET_RPATH:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -DCURA_ENGINE_VERSION:STRING=5.4.0 -DUSE_SYSTEM_LIBS:BOOL=ON '-DCMAKE_CXX_FLAGS_RELEASE_INIT:STRING=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC' -DStb_INCLUDE_DIRS:PATH=/usr/include -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is GNU 14.0.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 -- Building with Arcus -- Found Protobuf: /usr/lib64/libprotobuf.so (found suitable version "3.19.6", minimum required is "3.0.0") CMake Warning (dev) at /usr/lib64/cmake/Arcus/ArcusConfig.cmake:40 (set): implicitly converting '' to 'STRING' type. Call Stack (most recent call first): CMakeLists.txt:23 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Stb installation at: /usr/include -- RapidJSON found. Headers: /usr/include -- Found Polyclipping: /usr/lib64/libpolyclipping.so (found version "6.4.2") -- Compile with more optimization flags -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Configuring done (10.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/CuraEngine-5.4.0 -B/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/_CuraEngine.dir/build.make CMakeFiles/_CuraEngine.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' [ 1%] Running cpp protocol buffer compiler on Cura.proto /usr/bin/protoc --cpp_out /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I /builddir/build/BUILD/CuraEngine-5.4.0 /builddir/build/BUILD/CuraEngine-5.4.0/Cura.proto cd /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/CuraEngine-5.4.0 /builddir/build/BUILD/CuraEngine-5.4.0 /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build /builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build/CMakeFiles/_CuraEngine.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/_CuraEngine.dir/build.make CMakeFiles/_CuraEngine.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' [ 5%] Building CXX object CMakeFiles/_CuraEngine.dir/src/bridge.cpp.o [ 5%] Building CXX object CMakeFiles/_CuraEngine.dir/src/ConicalOverhang.cpp.o [ 5%] Building CXX object CMakeFiles/_CuraEngine.dir/src/Application.cpp.o [ 5%] Building CXX object CMakeFiles/_CuraEngine.dir/src/ExtruderTrain.cpp.o /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/Application.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/Application.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/Application.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/Application.cpp /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/bridge.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/bridge.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/bridge.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/bridge.cpp /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/ExtruderTrain.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/ExtruderTrain.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/ExtruderTrain.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/ExtruderTrain.cpp /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/ConicalOverhang.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/ConicalOverhang.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/ConicalOverhang.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/ConicalOverhang.cpp [ 6%] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.o /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp [ 7%] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffPolygonGenerator.cpp.o /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/FffPolygonGenerator.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/FffPolygonGenerator.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/FffPolygonGenerator.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/FffPolygonGenerator.cpp In file included from /builddir/build/BUILD/CuraEngine-5.4.0/include/communication/CommandLine.h:7, from /builddir/build/BUILD/CuraEngine-5.4.0/src/Application.cpp:21: /usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef& rapidjson::GenericStringRef::operator=(const rapidjson::GenericStringRef&)’: /usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef::length’ 319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } | ~~~~~~~^~~~~~~~~~~~ [ 8%] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffProcessor.cpp.o /usr/bin/g++ -DARCUS -DSPDLOG_FMT_EXTERNAL -DVERSION=\"5.4.0\" -I/usr/include/polyclipping -I/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build -I/builddir/build/BUILD/CuraEngine-5.4.0/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -O3 -DNDEBUG -Wall -fopenmp -std=gnu++20 -MD -MT CMakeFiles/_CuraEngine.dir/src/FffProcessor.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/FffProcessor.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/FffProcessor.cpp.o -c /builddir/build/BUILD/CuraEngine-5.4.0/src/FffProcessor.cpp /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In constructor ‘cura::FffGcodeWriter::FffGcodeWriter()’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:37:76: warning: member ‘cura::FffGcodeWriter::gcode’ is used uninitialized [-Wuninitialized] 37 | FffGcodeWriter::FffGcodeWriter() : max_object_height(0), layer_plan_buffer(gcode), slice_uuid(boost::uuids::to_string(boost::uuids::random_generator()())) | ^~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In member function ‘void cura::FffGcodeWriter::processSkirtBrim(const cura::SliceDataStorage&, cura::LayerPlan&, unsigned int, cura::LayerIndex) const’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:1102:129: warning: loop variable ‘p’ of type ‘const std::pair >&’ binds to a temporary constructed from type ‘std::pair >’ [-Wrange-loop-construct] 1102 | for (const std::pair>& p : grid) | ^ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:1102:129: note: use non-reference type ‘const std::pair >’ to make the copy explicit or ‘const std::pair >&’ to prevent copying /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In member function ‘void cura::FffGcodeWriter::processSpiralizedWall(const cura::SliceDataStorage&, cura::LayerPlan&, const cura::PathConfigStorage::MeshPathConfigs&, const cura::SliceLayerPart&, const cura::SliceMeshStorage&) const’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2011:33: warning: loop variable ‘wall_outline’ of type ‘const cura::ConstPolygonRef&’ binds to a temporary constructed from type ‘const std::vector’ [-Wrange-loop-construct] 2011 | for (const ConstPolygonRef& wall_outline : part.spiral_wall) | ^~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2011:33: note: use non-reference type ‘const cura::ConstPolygonRef’ to make the copy explicit or ‘const std::vector&’ to prevent copying /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In member function ‘bool cura::FffGcodeWriter::processSupportInfill(const cura::SliceDataStorage&, cura::LayerPlan&) const’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2756:16: warning: unused variable ‘support_brim_line_count’ [-Wunused-variable] 2756 | const auto support_brim_line_count = infill_extruder.settings.get("support_brim_line_count"); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In member function ‘void cura::FffGcodeWriter::setExtruder_addPrime(const cura::SliceDataStorage&, cura::LayerPlan&, size_t) const’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:3139:18: warning: unused variable ‘outermost_prime_tower_extruder’ [-Wunused-variable] 3139 | const size_t outermost_prime_tower_extruder = storage.primeTower.extruder_order[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportSettings.h:6, from /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeModelVolumes.h:12, from /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupport.h:7, from /builddir/build/BUILD/CuraEngine-5.4.0/src/FffPolygonGenerator.cpp:33: /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h: In copy constructor ‘cura::TreeSupportElement::TreeSupportElement(const cura::TreeSupportElement&, cura::Polygons*)’: /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:376:14: warning: ‘cura::TreeSupportElement::influence_area_limit_area’ will be initialized after [-Wreorder] 376 | Polygons influence_area_limit_area; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:371:13: warning: ‘cura::coord_t cura::TreeSupportElement::influence_area_limit_range’ [-Wreorder] 371 | coord_t influence_area_limit_range; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:113:5: warning: when initialized here [-Wreorder] 113 | TreeSupportElement(const TreeSupportElement& elem, Polygons* newArea = nullptr) : // copy constructor with possibility to set a new area | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:371:13: warning: ‘cura::TreeSupportElement::influence_area_limit_range’ will be initialized after [-Wreorder] 371 | coord_t influence_area_limit_range; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:366:10: warning: ‘bool cura::TreeSupportElement::influence_area_limit_active’ [-Wreorder] 366 | bool influence_area_limit_active; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:113:5: warning: when initialized here [-Wreorder] 113 | TreeSupportElement(const TreeSupportElement& elem, Polygons* newArea = nullptr) : // copy constructor with possibility to set a new area | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h: In constructor ‘cura::TreeSupportElement::TreeSupportElement(cura::TreeSupportElement*)’: /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:376:14: warning: ‘cura::TreeSupportElement::influence_area_limit_area’ will be initialized after [-Wreorder] 376 | Polygons influence_area_limit_area; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:371:13: warning: ‘cura::coord_t cura::TreeSupportElement::influence_area_limit_range’ [-Wreorder] 371 | coord_t influence_area_limit_range; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:144:5: warning: when initialized here [-Wreorder] 144 | TreeSupportElement(TreeSupportElement* element_above) : | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:371:13: warning: ‘cura::TreeSupportElement::influence_area_limit_range’ will be initialized after [-Wreorder] 371 | coord_t influence_area_limit_range; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:366:10: warning: ‘bool cura::TreeSupportElement::influence_area_limit_active’ [-Wreorder] 366 | bool influence_area_limit_active; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/TreeSupportElement.h:144:5: warning: when initialized here [-Wreorder] 144 | TreeSupportElement(TreeSupportElement* element_above) : | ^~~~~~~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/_CuraEngine.dir/build.make:87: CMakeFiles/_CuraEngine.dir/src/Application.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/CuraEngine-5.4.0/include/LayerPlan.h:17, from /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:20: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘cura::PathOrderOptimizer::PathOrderOptimizer(cura::Point, cura::ZSeamConfig, bool, const cura::Polygons*, bool, const std::unordered_multimap&, bool) [with Path = const cura::SliceLayerPart*; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:1393:137: required from here /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:3139:18: warning: 1393 | PathOrderOptimizer part_order_optimizer(gcode_layer.getLastPlannedPositionOrStartingPosition(), z_seam_config); /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:3139:18: warning: | ^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:577:48: warning: ‘cura::PathOrderOptimizer::order_requirements’ will be initialized after [-Wreorder] 577 | const std::unordered_multimap* order_requirements; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:275:10: warning: ‘bool cura::PathOrderOptimizer::group_outer_walls’ [-Wreorder] 275 | bool group_outer_walls; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: when initialized here [-Wreorder] 102 | PathOrderOptimizer(const Point start_point, const ZSeamConfig seam_config = ZSeamConfig(), const bool detect_loops = false, const Polygons* combing_boundary = nullptr, const bool reverse_direction = false, const std::unordered_multimap& order_requirements = no_order_requirements, const bool group_outer_walls = false) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘cura::PathOrderOptimizer::PathOrderOptimizer(cura::Point, cura::ZSeamConfig, bool, const cura::Polygons*, bool, const std::unordered_multimap&, bool) [with Path = const cura::SkinPart*; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2261:116: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: 2261 | PathOrderOptimizer part_order_optimizer(gcode_layer.getLastPlannedPositionOrStartingPosition()); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: | ^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:577:48: warning: ‘cura::PathOrderOptimizer::order_requirements’ will be initialized after [-Wreorder] 577 | const std::unordered_multimap* order_requirements; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:275:10: warning: ‘bool cura::PathOrderOptimizer::group_outer_walls’ [-Wreorder] 275 | bool group_outer_walls; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: when initialized here [-Wreorder] 102 | PathOrderOptimizer(const Point start_point, const ZSeamConfig seam_config = ZSeamConfig(), const bool detect_loops = false, const Polygons* combing_boundary = nullptr, const bool reverse_direction = false, const std::unordered_multimap& order_requirements = no_order_requirements, const bool group_outer_walls = false) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘cura::PathOrderOptimizer::PathOrderOptimizer(cura::Point, cura::ZSeamConfig, bool, const cura::Polygons*, bool, const std::unordered_multimap&, bool) [with Path = const cura::SupportInfillPart*; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2749:127: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: 2749 | PathOrderOptimizer island_order_optimizer(gcode_layer.getLastPlannedPositionOrStartingPosition()); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: | ^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:577:48: warning: ‘cura::PathOrderOptimizer::order_requirements’ will be initialized after [-Wreorder] 577 | const std::unordered_multimap* order_requirements; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:275:10: warning: ‘bool cura::PathOrderOptimizer::group_outer_walls’ [-Wreorder] 275 | bool group_outer_walls; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: when initialized here [-Wreorder] 102 | PathOrderOptimizer(const Point start_point, const ZSeamConfig seam_config = ZSeamConfig(), const bool detect_loops = false, const Polygons* combing_boundary = nullptr, const bool reverse_direction = false, const std::unordered_multimap& order_requirements = no_order_requirements, const bool group_outer_walls = false) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SliceLayerPart*; size_t = long unsigned int; OrderablePath = cura::PathOrdering; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:200:37: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SliceLayerPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: 200 | path.start_vertex = findStartLocation(path, seam_config.pos); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:1398:34: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: 1398 | part_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:102:5: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:30: warning: possibly dangling reference to a temporary [-Wdangling-reference] 693 | const Point& best_point = (*path.converted)[best_i]; | ^~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:60: note: the temporary was destroyed at the end of the full expression ‘cura::ConstPolygonPointer::operator*() const().cura::ConstPolygonRef::operator[](((unsigned int)best_i))’ 693 | const Point& best_point = (*path.converted)[best_i]; | ~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: unused variable ‘distance’ [-Wunused-variable] 627 | const coord_t distance = (combing_boundary == nullptr) | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SliceLayerPart*; size_t = long unsigned int]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:208:31: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SliceLayerPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 208 | optimized_order = getOptimizedOrder(line_bucket_grid, snap_radius); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:1398:34: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 1398 | part_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: variable ‘isPicked’ set but not used [-Wunused-but-set-variable] 285 | auto isPicked = [&picked](OrderablePath* c) { return picked[c]; }; | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SkinPart*; size_t = long unsigned int; OrderablePath = cura::PathOrdering; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:200:37: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SkinPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: 200 | path.start_vertex = findStartLocation(path, seam_config.pos); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2266:34: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: 2266 | part_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:30: warning: possibly dangling reference to a temporary [-Wdangling-reference] 693 | const Point& best_point = (*path.converted)[best_i]; | ^~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:60: note: the temporary was destroyed at the end of the full expression ‘cura::ConstPolygonPointer::operator*() const().cura::ConstPolygonRef::operator[](((unsigned int)best_i))’ 693 | const Point& best_point = (*path.converted)[best_i]; | ~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: unused variable ‘distance’ [-Wunused-variable] 627 | const coord_t distance = (combing_boundary == nullptr) | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SkinPart*; size_t = long unsigned int]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:208:31: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SkinPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 208 | optimized_order = getOptimizedOrder(line_bucket_grid, snap_radius); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2266:34: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 2266 | part_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: variable ‘isPicked’ set but not used [-Wunused-but-set-variable] 285 | auto isPicked = [&picked](OrderablePath* c) { return picked[c]; }; | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SupportInfillPart*; size_t = long unsigned int; OrderablePath = cura::PathOrdering; cura::Point = ClipperLib::IntPoint]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:200:37: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SupportInfillPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: 200 | path.start_vertex = findStartLocation(path, seam_config.pos); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2754:36: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: 2754 | island_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:30: warning: possibly dangling reference to a temporary [-Wdangling-reference] 693 | const Point& best_point = (*path.converted)[best_i]; | ^~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:693:60: note: the temporary was destroyed at the end of the full expression ‘cura::ConstPolygonPointer::operator*() const().cura::ConstPolygonRef::operator[](((unsigned int)best_i))’ 693 | const Point& best_point = (*path.converted)[best_i]; | ~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: unused variable ‘distance’ [-Wunused-variable] 627 | const coord_t distance = (combing_boundary == nullptr) | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In instantiation of ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SupportInfillPart*; size_t = long unsigned int]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:208:31: required from ‘void cura::PathOrderOptimizer::optimize() [with Path = const cura::SupportInfillPart*]’ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 208 | optimized_order = getOptimizedOrder(line_bucket_grid, snap_radius); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:2754:36: required from here /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: 2754 | island_order_optimizer.optimize(); /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:627:27: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:285:14: warning: variable ‘isPicked’ set but not used [-Wunused-but-set-variable] 285 | auto isPicked = [&picked](OrderablePath* c) { return picked[c]; }; | ^~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp: In member function ‘size_t cura::FffGcodeWriter::getStartExtruder(const cura::SliceDataStorage&)’: /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:419:12: warning: ‘start_extruder_nr’ may be used uninitialized [-Wmaybe-uninitialized] 419 | return start_extruder_nr; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/src/FffGcodeWriter.cpp:380:12: note: ‘start_extruder_nr’ was declared here 380 | size_t start_extruder_nr; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SliceLayerPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] 621 | size_t best_i; | ^~~~~~ /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘Path cura::PathOrderOptimizer::findClosestPathVertices(cura::Point, std::unordered_set) [with Path = const cura::SliceLayerPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SkinPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘Path cura::PathOrderOptimizer::findClosestPathVertices(cura::Point, std::unordered_set) [with Path = const cura::SkinPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘size_t cura::PathOrderOptimizer::findStartLocation(const OrderablePath&, const cura::Point&) [with Path = const cura::SupportInfillPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘Path cura::PathOrderOptimizer::findClosestPathVertices(cura::Point, std::unordered_set) [with Path = const cura::SupportInfillPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SliceLayerPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SkinPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h: In member function ‘std::vector > cura::PathOrderOptimizer::getOptimizedOrder(cura::SparsePointGridInclusive, size_t) [with Path = const cura::SupportInfillPart*]’: /builddir/build/BUILD/CuraEngine-5.4.0/include/PathOrderOptimizer.h:621:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] gmake[2]: Leaving directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:88: CMakeFiles/_CuraEngine.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/CuraEngine-5.4.0/redhat-linux-build' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2QD28S (%build) Bad exit status from /var/tmp/rpm-tmp.2QD28S (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/CuraEngine.spec