>>> curaengine: Building community/curaengine 4.13.1-r3 (using abuild 3.10.0_rc1-r2) started Wed, 26 Oct 2022 14:01:40 +0000 >>> curaengine: Checking sanity of /home/buildozer/aports/community/curaengine/APKBUILD... >>> curaengine: Analyzing dependencies... >>> curaengine: Installing for build: build-base cmake libarcus-dev protobuf-dev samurai (1/16) Installing libbz2 (1.0.8-r3) (2/16) Installing xz-libs (5.2.7-r0) (3/16) Installing libarchive (3.6.1-r1) (4/16) Installing rhash-libs (1.4.3-r1) (5/16) Installing libuv (1.44.2-r0) (6/16) Installing cmake (3.24.2-r0) (7/16) Installing libprotobuf (3.21.8-r0) (8/16) Installing libarcus (4.13.1-r3) (9/16) Installing libarcus-dev (4.13.1-r3) (10/16) Installing zlib-dev (1.2.13-r0) (11/16) Installing libprotoc (3.21.8-r0) (12/16) Installing protoc (3.21.8-r0) (13/16) Installing libprotobuf-lite (3.21.8-r0) (14/16) Installing protobuf-dev (3.21.8-r0) (15/16) Installing samurai (1.2-r2) (16/16) Installing .makedepends-curaengine (20221026.140141) Executing busybox-1.35.0-r27.trigger OK: 343 MiB in 108 packages >>> curaengine: Cleaning up srcdir >>> curaengine: Cleaning up pkgdir >>> curaengine: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/CuraEngine-4.13.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> curaengine: Fetching https://github.com/Ultimaker/CuraEngine/archive/4.13.1/CuraEngine-4.13.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1687k 0 1687k 0 0 1716k 0 --:--:-- --:--:-- --:--:-- 3113k >>> curaengine: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/CuraEngine-4.13.1.tar.gz >>> curaengine: Checking sha512sums... CuraEngine-4.13.1.tar.gz: OK >>> curaengine: Unpacking /var/cache/distfiles/v3.17/CuraEngine-4.13.1.tar.gz... -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.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 -- Building with Arcus -- Found Protobuf: /usr/lib/libprotobuf.so (found suitable version "3.21.8", minimum required is "3.0.0") CMake Warning (dev) at /usr/lib/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. -- Building Stb from source. -- Created Stb installation at: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build/stb-prefix/src -- 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") -- Building tests... -- Downloading GMock / GTest version 1.8.0 from git CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (GTest) does not match the name of the calling package (GMock). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindGMock.cmake:441 (find_package_handle_standard_args) CMakeLists.txt:332 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found GTest: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build/gmock/src/gmock-build/googlemock/gtest/./libgtest.a -- Found GMock: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build/gmock/src/gmock-build/googlemock/./libgmock.a -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build [1/180] Creating directories for 'gmock' [2/180] Building CXX object CMakeFiles/clipper.dir/libs/clipper/clipper.cpp.o [3/180] Creating directories for 'stb' [4/180] Performing download step (git clone) for 'gmock' [5/180] Performing download step (git clone) for 'stb' Cloning into 'stb'... HEAD is now at d5d052c casting to int to remove ptrdiff_t <-> int comparison warnings [6/180] No patch step for 'stb' [7/180] No configure step for 'stb' [8/180] No build step for 'stb' [9/180] No install step for 'stb' [10/180] Completed 'stb' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/clipper/clipper.cpp: In function 'void ClipperLib::InitEdge(TEdge*, TEdge*, TEdge*, const IntPoint&)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/clipper/clipper.cpp:722:14: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ClipperLib::TEdge'; use assignment or value-initialization instead [-Wclass-memaccess] 722 | std::memset(e, 0, sizeof(TEdge)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/clipper/clipper.cpp:66:8: note: 'struct ClipperLib::TEdge' declared here 66 | struct TEdge { | ^~~~~ [11/180] Linking CXX static library libclipper.a [12/180] Performing update step for 'gmock' [13/180] No patch step for 'gmock' [14/180] Performing configure step for 'gmock' [15/180] Performing build step for 'gmock' [16/180] No install step for 'gmock' [17/180] Completed 'gmock' [18/180] Running cpp protocol buffer compiler on Cura.proto [19/180] Building CXX object CMakeFiles/_CuraEngine.dir/Cura.pb.cc.o [20/180] Building CXX object CMakeFiles/UnionFindTest.dir/tests/utils/UnionFindTest.cpp.o [21/180] Building CXX object CMakeFiles/UnionFindTest.dir/tests/main.cpp.o [22/180] Building CXX object CMakeFiles/StringTest.dir/tests/utils/StringTest.cpp.o [23/180] Building CXX object CMakeFiles/StringTest.dir/tests/main.cpp.o [24/180] Building CXX object CMakeFiles/SparseGridTest.dir/tests/utils/SparseGridTest.cpp.o [25/180] Building CXX object CMakeFiles/SparseGridTest.dir/tests/main.cpp.o [26/180] Building CXX object CMakeFiles/PolygonUtilsTest.dir/tests/utils/PolygonUtilsTest.cpp.o [27/180] Building CXX object CMakeFiles/PolygonUtilsTest.dir/tests/main.cpp.o [28/180] Building CXX object CMakeFiles/PolygonTest.dir/tests/utils/PolygonTest.cpp.o [29/180] Building CXX object CMakeFiles/PolygonTest.dir/tests/main.cpp.o [30/180] Building CXX object CMakeFiles/PolygonConnectorTest.dir/tests/utils/PolygonConnectorTest.cpp.o [31/180] Building CXX object CMakeFiles/PolygonConnectorTest.dir/tests/main.cpp.o [32/180] Building CXX object CMakeFiles/MinimumSpanningTreeTest.dir/tests/utils/MinimumSpanningTreeTest.cpp.o [33/180] Building CXX object CMakeFiles/MinimumSpanningTreeTest.dir/tests/main.cpp.o [34/180] Building CXX object CMakeFiles/LinearAlg2DTest.dir/tests/utils/LinearAlg2DTest.cpp.o [35/180] Building CXX object CMakeFiles/LinearAlg2DTest.dir/tests/main.cpp.o [36/180] Building CXX object CMakeFiles/IntPointTest.dir/tests/utils/IntPointTest.cpp.o [37/180] Building CXX object CMakeFiles/IntPointTest.dir/tests/main.cpp.o [38/180] Building CXX object CMakeFiles/AABB3DTest.dir/tests/utils/AABB3DTest.cpp.o [39/180] Building CXX object CMakeFiles/AABB3DTest.dir/tests/main.cpp.o [40/180] Building CXX object CMakeFiles/AABBTest.dir/tests/utils/AABBTest.cpp.o [41/180] Building CXX object CMakeFiles/AABBTest.dir/tests/main.cpp.o [42/180] Building CXX object CMakeFiles/ArcusCommunicationPrivateTest.dir/tests/arcus/ArcusCommunicationPrivateTest.cpp.o [43/180] Building CXX object CMakeFiles/ArcusCommunicationPrivateTest.dir/tests/arcus/MockSocket.cpp.o [44/180] Building CXX object CMakeFiles/ArcusCommunicationPrivateTest.dir/tests/main.cpp.o [45/180] Building CXX object CMakeFiles/ArcusCommunicationTest.dir/tests/arcus/ArcusCommunicationTest.cpp.o [46/180] Building CXX object CMakeFiles/ArcusCommunicationTest.dir/tests/arcus/MockSocket.cpp.o [47/180] Building CXX object CMakeFiles/ArcusCommunicationTest.dir/tests/main.cpp.o [48/180] Building CXX object CMakeFiles/SettingsTest.dir/tests/settings/SettingsTest.cpp.o [49/180] Building CXX object CMakeFiles/SettingsTest.dir/tests/main.cpp.o [50/180] Building CXX object CMakeFiles/SlicePhaseTest.dir/tests/integration/SlicePhaseTest.cpp.o [51/180] Building CXX object CMakeFiles/SlicePhaseTest.dir/tests/main.cpp.o [52/180] Building CXX object CMakeFiles/TimeEstimateCalculatorTest.dir/tests/TimeEstimateCalculatorTest.cpp.o [53/180] Building CXX object CMakeFiles/TimeEstimateCalculatorTest.dir/tests/ReadTestPolygons.cpp.o [54/180] Building CXX object CMakeFiles/TimeEstimateCalculatorTest.dir/tests/main.cpp.o [55/180] Building CXX object CMakeFiles/PathOrderMonotonicTest.dir/tests/PathOrderMonotonicTest.cpp.o [56/180] Building CXX object CMakeFiles/PathOrderMonotonicTest.dir/tests/ReadTestPolygons.cpp.o [57/180] Building CXX object CMakeFiles/PathOrderMonotonicTest.dir/tests/main.cpp.o [58/180] Building CXX object CMakeFiles/MergeInfillLinesTest.dir/tests/MergeInfillLinesTest.cpp.o [59/180] Building CXX object CMakeFiles/MergeInfillLinesTest.dir/tests/ReadTestPolygons.cpp.o [60/180] Building CXX object CMakeFiles/MergeInfillLinesTest.dir/tests/main.cpp.o [61/180] Building CXX object CMakeFiles/LayerPlanTest.dir/tests/LayerPlanTest.cpp.o [62/180] Building CXX object CMakeFiles/LayerPlanTest.dir/tests/ReadTestPolygons.cpp.o [63/180] Building CXX object CMakeFiles/LayerPlanTest.dir/tests/main.cpp.o [64/180] Building CXX object CMakeFiles/InfillTest.dir/tests/InfillTest.cpp.o [65/180] Building CXX object CMakeFiles/InfillTest.dir/tests/ReadTestPolygons.cpp.o [66/180] Building CXX object CMakeFiles/InfillTest.dir/tests/main.cpp.o [67/180] Building CXX object CMakeFiles/GCodeExportTest.dir/tests/GCodeExportTest.cpp.o [68/180] Building CXX object CMakeFiles/GCodeExportTest.dir/tests/ReadTestPolygons.cpp.o [69/180] Building CXX object CMakeFiles/GCodeExportTest.dir/tests/main.cpp.o [70/180] Building CXX object CMakeFiles/CuraEngine.dir/src/main.cpp.o [71/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/SquareGrid.cpp.o [72/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/socket.cpp.o [73/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/SVG.cpp.o [74/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/ProximityPointLink.cpp.o [75/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/polygon.cpp.o [76/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/polygonUtils.cpp.o [77/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/PolygonProximityLinker.cpp.o [78/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/PolygonsPointIndex.cpp.o [79/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/PolygonConnector.cpp.o [80/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/Point3.cpp.o [81/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/MinimumSpanningTree.cpp.o [82/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/logoutput.cpp.o /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/SquareGrid.cpp: In member function 'bool cura::SquareGrid::processAxisAlignedTriangle(cura::Point, cura::Point, bool, const std::function&) const': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/SquareGrid.cpp:130:14: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 130 | if ((a.X < b.X == a.Y < b.Y) != to_the_right) | ~~~~^~~~~ [83/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/ListPolyIt.cpp.o [84/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/LinearAlg2D.cpp.o [85/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/getpath.cpp.o [86/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/gettime.cpp.o [87/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/FMatrix4x3.cpp.o [88/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/Date.cpp.o [89/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/AABB3D.cpp.o [90/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/utils/AABB.cpp.o [91/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/settings/ZSeamConfig.cpp.o [92/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/settings/Settings.cpp.o [93/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/settings/PathConfigStorage.cpp.o [94/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/settings/FlowTempGraph.cpp.o [95/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/settings/AdaptiveLayerHeights.cpp.o [96/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/progress/ProgressStageEstimator.cpp.o [97/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/progress/Progress.cpp.o [98/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathPlanning/TimeMaterialEstimates.cpp.o [99/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathPlanning/NozzleTempInsert.cpp.o [100/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathPlanning/LinePolygonsCrossings.cpp.o [101/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathPlanning/GCodePath.cpp.o [102/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathPlanning/Comb.cpp.o [103/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/GyroidInfill.cpp.o [104/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/SubDivCube.cpp.o [105/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/SierpinskiFillProvider.cpp.o [106/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/SierpinskiFill.cpp.o [107/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/LightningTreeNode.cpp.o [108/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/LightningLayer.cpp.o [109/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/LightningGenerator.cpp.o [110/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/LightningDistanceField.cpp.o [111/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/ZigzagConnectorProcessor.cpp.o [112/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/NoZigZagConnectorProcessor.cpp.o [113/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill/ImageBasedDensityProvider.cpp.o [114/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/communication/Listener.cpp.o [115/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/communication/CommandLine.cpp.o [116/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/communication/ArcusCommunicationPrivate.cpp.o [117/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/communication/ArcusCommunication.cpp.o [118/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Wireframe2gcode.cpp.o [119/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Weaver.cpp.o [120/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/wallOverlap.cpp.o [121/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/WallsComputation.cpp.o [122/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/TreeSupport.cpp.o [123/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/TreeModelVolumes.cpp.o [124/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/TopSurface.cpp.o /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/polygonUtils.cpp: In static member function 'static double cura::PolygonUtils::relativeHammingDistance(const cura::Polygons&, const cura::Polygons&)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/polygonUtils.cpp:1416:36: warning: loop variable 'polygon_a' of type 'const cura::ConstPolygonRef&' binds to a temporary constructed from type 'const std::vector' [-Wrange-loop-construct] 1416 | for(const ConstPolygonRef& polygon_a : poly_a) | ^~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/polygonUtils.cpp:1416:36: note: use non-reference type 'const cura::ConstPolygonRef' to make the copy explicit or 'const std::vector&' to prevent copying /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/polygonUtils.cpp:1426:36: warning: loop variable 'polygon_b' of type 'const cura::ConstPolygonRef&' binds to a temporary constructed from type 'const std::vector' [-Wrange-loop-construct] 1426 | for(const ConstPolygonRef& polygon_b : poly_b) | ^~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/utils/polygonUtils.cpp:1426:36: note: use non-reference type 'const cura::ConstPolygonRef' to make the copy explicit or 'const std::vector&' to prevent copying [125/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/timeEstimate.cpp.o [126/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/support.cpp.o [127/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/slicer.cpp.o [128/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/sliceDataStorage.cpp.o [129/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Slice.cpp.o [130/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/SupportInfillPart.cpp.o [131/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/SkirtBrim.cpp.o [132/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/skin.cpp.o [133/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Scene.cpp.o [134/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/raft.cpp.o [135/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/PrimeTower.cpp.o [136/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Preheat.cpp.o /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/timeEstimate.cpp: In member function 'void cura::TimeEstimateCalculator::plan(Position, cura::Velocity, cura::PrintFeatureType)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/timeEstimate.cpp:164:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class cura::TimeEstimateCalculator::Block'; use assignment or value-initialization instead [-Wclass-memaccess] 164 | memset(&block, 0, sizeof(block)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/timeEstimate.cpp:9: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/timeEstimate.h:46:11: note: 'class cura::TimeEstimateCalculator::Block' declared here 46 | class Block | ^~~~~ [137/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/pathOrderOptimizer.cpp.o [138/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/PathOrder.cpp.o [139/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/multiVolumes.cpp.o [140/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Mold.cpp.o [141/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/MeshGroup.cpp.o [142/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/mesh.cpp.o [143/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/MergeInfillLines.cpp.o [144/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/LayerPlanBuffer.cpp.o [145/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/LayerPlan.cpp.o [146/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/layerPart.cpp.o /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/ArcusCommunication.cpp: In member function 'virtual void cura::ArcusCommunication::sendPolygons(const cura::PrintFeatureType&, const cura::Polygons&, const cura::coord_t&, const cura::coord_t&, const cura::Velocity&)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/ArcusCommunication.cpp:419:33: warning: loop variable 'polygon' of type 'const cura::ConstPolygonRef&' binds to a temporary constructed from type 'const std::vector' [-Wrange-loop-construct] 419 | for (const ConstPolygonRef& polygon : polygons) | ^~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/ArcusCommunication.cpp:419:33: note: use non-reference type 'const cura::ConstPolygonRef' to make the copy explicit or 'const std::vector&' to prevent copying [147/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/InsetOrderOptimizer.cpp.o [148/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/infill.cpp.o [149/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/GCodePathConfig.cpp.o [150/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/gcodeExport.cpp.o [151/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffProcessor.cpp.o [152/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffPolygonGenerator.cpp.o In file included from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/CommandLine.h:7, from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/CommandLine.cpp:16: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:110:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 110 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetObjectRaw(Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; Member = rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1890:55: required from 'bool rapidjson::GenericDocument::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:1311:40: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:1399:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:395:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1747:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1773:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/CommandLine.cpp:332:30: required from here /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1598:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1598 | std::memcpy(data_.o.members, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:79:8: note: 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} declared here 79 | struct GenericMember { | ^~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetArrayRaw(rapidjson::GenericValue*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1898:54: required from 'bool rapidjson::GenericDocument::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:1336:39: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:1399:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/reader.h:395:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::MemoryPoolAllocator<>]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1747:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1773:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/CommandLine.cpp:332:30: required from here /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:1586:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1586 | std::memcpy(data_.a.elements, values, count * sizeof(GenericValue)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:420:7: note: 'class rapidjson::GenericValue >' declared here 420 | class GenericValue { | ^~~~~~~~~~~~ [153/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.o [154/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/ExtruderTrain.cpp.o [155/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/ConicalOverhang.cpp.o [156/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/bridge.cpp.o [157/180] Building CXX object CMakeFiles/_CuraEngine.dir/src/Application.cpp.o /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/skin.cpp: In member function 'cura::Polygons cura::SkinInfillAreaComputation::generateNoAirBelow(cura::SliceLayerPart&, size_t)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/skin.cpp:537:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 537 | if (layer_nr < flooring_layer_count) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/communication/CommandLine.h:7, from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/Application.cpp:11: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/libs/rapidjson/document.h:110:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 110 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:7: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build/stb-prefix/src/stb/stb_image.h: In function 'int stbi__parse_png_file(stbi__png*, int, int)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build/stb-prefix/src/stb/stb_image.h:4954:28: warning: variable 'invalid_chunk' set but not used [-Wunused-but-set-variable] 4954 | static char invalid_chunk[] = "XXXX PNG chunk not known"; | ^~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp: In constructor 'cura::ImageBasedDensityProvider::ImageBasedDensityProvider(std::string, cura::AABB)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:24:18: warning: 'img_z' may be used uninitialized [-Wmaybe-uninitialized] 24 | image_size = Point3(img_x, img_y, img_z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:22:23: note: 'img_z' declared here 22 | int img_x, img_y, img_z; // stbi requires pointer to int rather than to coord_t | ^~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:24:18: warning: 'img_y' may be used uninitialized [-Wmaybe-uninitialized] 24 | image_size = Point3(img_x, img_y, img_z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:22:16: note: 'img_y' declared here 22 | int img_x, img_y, img_z; // stbi requires pointer to int rather than to coord_t | ^~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:24:18: warning: 'img_x' may be used uninitialized [-Wmaybe-uninitialized] 24 | image_size = Point3(img_x, img_y, img_z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/infill/ImageBasedDensityProvider.cpp:22:9: note: 'img_x' declared here 22 | int img_x, img_y, img_z; // stbi requires pointer to int rather than to coord_t | ^~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/LayerPlan.cpp: In lambda function: /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/LayerPlan.cpp:1198:46: warning: comparison of integer expressions of different signedness: 'cura::coord_t' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1198 | return vSize2(path[1] - path[0]) < exclude_dist2 && exclude_areas.inside((path[0] + path[1]) / 2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/LayerPlan.cpp: In member function 'void cura::LayerPlan::addLinesMonotonic(const cura::Polygons&, const cura::Polygons&, const cura::GCodePathConfig&, cura::SpaceFillType, cura::AngleRadians, cura::coord_t, cura::coord_t, cura::coord_t, cura::Ratio, double)': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/LayerPlan.cpp:1209:82: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 1209 | const bool next_would_have_been_included = inside_exclusion && (line_idx < polygons.size() - 1 && is_inside_exclusion(polygons[line_idx + 1])); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/FffGcodeWriter.cpp: In constructor 'cura::FffGcodeWriter::FffGcodeWriter()': /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/src/FffGcodeWriter.cpp:31:21: warning: member 'cura::FffGcodeWriter::gcode' is used uninitialized [-Wuninitialized] 31 | , layer_plan_buffer(gcode) | ^~~~~ [158/180] Linking CXX static library lib_CuraEngine.a [159/180] Linking CXX executable UnionFindTest [160/180] Linking CXX executable StringTest [161/180] Linking CXX executable SparseGridTest [162/180] Linking CXX executable PolygonUtilsTest [163/180] Linking CXX executable PolygonTest [164/180] Linking CXX executable PolygonConnectorTest [165/180] Linking CXX executable MinimumSpanningTreeTest [166/180] Linking CXX executable LinearAlg2DTest [167/180] Linking CXX executable IntPointTest [168/180] Linking CXX executable AABB3DTest [169/180] Linking CXX executable AABBTest [170/180] Linking CXX executable ArcusCommunicationPrivateTest [171/180] Linking CXX executable ArcusCommunicationTest [172/180] Linking CXX executable SettingsTest [173/180] Linking CXX executable SlicePhaseTest [174/180] Linking CXX executable TimeEstimateCalculatorTest [175/180] Linking CXX executable PathOrderMonotonicTest [176/180] Linking CXX executable MergeInfillLinesTest [177/180] Linking CXX executable LayerPlanTest [178/180] Linking CXX executable InfillTest [179/180] Linking CXX executable GCodeExportTest [180/180] Linking CXX executable CuraEngine [1/1] Running tests... Test project /home/buildozer/aports/community/curaengine/src/CuraEngine-4.13.1/build Start 1: BuildTests 1/22 Test #1: BuildTests ....................... Passed 2.09 sec Start 2: GCodeExportTest 2/22 Test #2: GCodeExportTest .................. Passed 0.01 sec Start 3: InfillTest 3/22 Test #3: InfillTest ....................... Passed 8.91 sec Start 4: LayerPlanTest 4/22 Test #4: LayerPlanTest .................... Passed 29.34 sec Start 5: MergeInfillLinesTest 5/22 Test #5: MergeInfillLinesTest ............. Passed 0.01 sec Start 6: PathOrderMonotonicTest 6/22 Test #6: PathOrderMonotonicTest ........... Passed 0.31 sec Start 7: TimeEstimateCalculatorTest 7/22 Test #7: TimeEstimateCalculatorTest ....... Passed 0.01 sec Start 8: SlicePhaseTest 8/22 Test #8: SlicePhaseTest ................... Passed 0.88 sec Start 9: SettingsTest 9/22 Test #9: SettingsTest ..................... Passed 0.02 sec Start 10: ArcusCommunicationTest 10/22 Test #10: ArcusCommunicationTest ........... Passed 0.01 sec Start 11: ArcusCommunicationPrivateTest 11/22 Test #11: ArcusCommunicationPrivateTest .... Passed 0.02 sec Start 12: AABBTest 12/22 Test #12: AABBTest ......................... Passed 0.01 sec Start 13: AABB3DTest 13/22 Test #13: AABB3DTest ....................... Passed 0.01 sec Start 14: IntPointTest 14/22 Test #14: IntPointTest ..................... Passed 0.01 sec Start 15: LinearAlg2DTest 15/22 Test #15: LinearAlg2DTest .................. Passed 0.01 sec Start 16: MinimumSpanningTreeTest 16/22 Test #16: MinimumSpanningTreeTest .......... Passed 0.01 sec Start 17: PolygonConnectorTest 17/22 Test #17: PolygonConnectorTest ............. Passed 0.04 sec Start 18: PolygonTest 18/22 Test #18: PolygonTest ...................... Passed 0.02 sec Start 19: PolygonUtilsTest 19/22 Test #19: PolygonUtilsTest ................. Passed 0.01 sec Start 20: SparseGridTest 20/22 Test #20: SparseGridTest ................... Passed 0.01 sec Start 21: StringTest 21/22 Test #21: StringTest ....................... Passed 0.01 sec Start 22: UnionFindTest 22/22 Test #22: UnionFindTest .................... Passed 0.01 sec 100% tests passed, 0 tests failed out of 22 Total Test time (real) = 41.76 sec >>> curaengine: Entering fakeroot... -- Install configuration: "None" -- Installing: /home/buildozer/aports/community/curaengine/pkg/curaengine/usr/bin/CuraEngine >>> curaengine*: Running postcheck for curaengine >>> curaengine*: Preparing package curaengine... >>> curaengine*: Stripping binaries >>> curaengine*: Scanning shared objects >>> curaengine*: Tracing dependencies... so:libArcus.so.3 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgomp.so.1 so:libprotobuf.so.32 >>> curaengine*: Package size: 3.5 MB >>> curaengine*: Compressing data... >>> curaengine*: Create checksum... >>> curaengine*: Create curaengine-4.13.1-r3.apk >>> curaengine: Build complete at Wed, 26 Oct 2022 14:04:09 +0000 elapsed time 0h 2m 29s >>> curaengine: Cleaning up srcdir >>> curaengine: Cleaning up pkgdir >>> curaengine: Uninstalling dependencies... (1/16) Purging .makedepends-curaengine (20221026.140141) (2/16) Purging cmake (3.24.2-r0) (3/16) Purging libarcus-dev (4.13.1-r3) (4/16) Purging libarcus (4.13.1-r3) (5/16) Purging protobuf-dev (3.21.8-r0) (6/16) Purging zlib-dev (1.2.13-r0) (7/16) Purging protoc (3.21.8-r0) (8/16) Purging libprotobuf-lite (3.21.8-r0) (9/16) Purging libprotoc (3.21.8-r0) (10/16) Purging samurai (1.2-r2) (11/16) Purging libarchive (3.6.1-r1) (12/16) Purging libbz2 (1.0.8-r3) (13/16) Purging xz-libs (5.2.7-r0) (14/16) Purging rhash-libs (1.4.3-r1) (15/16) Purging libuv (1.44.2-r0) (16/16) Purging libprotobuf (3.21.8-r0) Executing busybox-1.35.0-r27.trigger OK: 266 MiB in 92 packages >>> curaengine: Updating the community/x86_64 repository index... >>> curaengine: Signing the index...