New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
paulgarias opened this issue
Jul 27, 2021
· 7 comments
Comments
I am attempting to build hh-suite from a Dockerfile from alphafold (https://github.com/deepmind/alphafold).
I am unable to get it to build on using the docker command. The output is located there:
https://gist.github.com/paulgarias/9484f0cccb045e8e01a9c148f1b024d1.
#9 50.30 [ 64%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhdatabase.cpp.o
#9 52.50 [ 65%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhhalfalignment.cpp.o
#9 53.76 [ 66%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhviterbirunner.cpp.o
#9 55.49 [ 67%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhfunc.cpp.o.
#9 78.92 c++: fatal error: Killed signal terminated program cc1plus.
#9 78.92 compilation terminated.
#9 78.93 make[2]: *** [src/CMakeFiles/HH_OBJECTS.dir/build.make:427: src/CMakeFiles/HH_OBJECTS.dir/hhfunc.cpp.o] Error 1
#9 78.94 make[1]: *** [CMakeFiles/Makefile2:814: src/CMakeFiles/HH_OBJECTS.dir/all] Error 2
#9 78.95 make: *** [Makefile:152: all] Error 2
The docker file is located here:
https://github.com/deepmind/alphafold/blob/main/docker/Dockerfile
I removed the section where the hhsuite is installed and the Dockerfile is able to complete.
Can I get any guidance on how to proceed?
That sounds like the compiler is getting killed by the OOM-killer due to using to many resources. You can remove the -j 4
so it compiles with a single cpu core only.
Thank you for responding so quickly with the suggestion.
I removed that -j 4, it still suffers from the same problem. Updated output:
50.18 [ 64%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhdatabase.cpp.o
52.39 [ 65%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhhalfalignment.cpp.o
53.62 [ 66%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhviterbirunner.cpp.o
55.27 [ 67%] Building CXX object src/CMakeFiles/HH_OBJECTS.dir/hhfunc.cpp.o
79.75 c++: fatal error: Killed signal terminated program cc1plus
79.75 compilation terminated.
79.75 make[2]: *** [src/CMakeFiles/HH_OBJECTS.dir/build.make:427: src/CMakeFiles/HH_OBJECTS.dir/hhfunc.cpp.o] Error 1
79.77 make[1]: *** [CMakeFiles/Makefile2:814: src/CMakeFiles/HH_OBJECTS.dir/all] Error 2
79.77 make: *** [Makefile:152: all] Error 2
executor failed running [/bin/bash -c make && make install && ln -s /opt/hhsuite/bin/* /usr/bin && rm -rf /tmp/hh-suite]: exit code: 2
What hardware specs does the machine running docker have?
I’m currently building using docker on a MacOS, but I will eventually need to convert this to a singularity image. Perhaps I should convert the whole process to singularity def file instead and build on the HPC cluster instead (?)
I am not sure how docker on macos works, but it seems like you can increase the RAM the VM is allowed to use:
https://stackoverflow.com/a/39720010
Then it should compile correctly.
This is excellent. The default amount of memory available is set to 2GB (!). I have increased it and it was able to run past this issue and on to the next step.
Thanks for your help!
When compiling C++ in the Linux system, the following error occurs, causing the compilation to abort:
- Problem description
- Solution — swap partition
[Solution — Swap partition]
After checking the relevant information, it is believed that the virtual machine memory is insufficient. This problem was solved by creating a swap partition, and the compilation was successful.The following summarizes the creation and activation of swap partitions:
- sudo mkdir -p /var/cache/swap/
- sudo dd if=/dev/zero of=/var/cache/swap/swap0 bs=64M count=64
- sudo chmod 0600 /var/cache/swap/swap0
- sudo mkswap /var/cache/swap/swap0
- sudo swapon /var/cache/swap/swap0
- sudo swapon -s
Note:
The path of the swap0 file is under /var/cache/swap/. After compiling, if you don’t want the swap partition, you can delete it.
Command to delete swap partition:
[problem solving] C + +: fatal error: killed signal terminated program cc1plus
1. Problem description
During C + + compilation in Linux system, the following errors occur, resulting in compilation abort:
C++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
2. Solution – swap partition
After consulting the relevant information, it is considered that the virtual machine is caused by insufficient memory. This problem is solved by creating swap partition, and the compilation is successful
the following is a summary of the creation and activation of swap partitions:
# Create the partition path
sudo mkdir -p /var/cache/swap/
# Set the size of the partition
# bs=64M is the block size, count=64 is the number of blocks, so the swap space size is bs*count=4096MB=4GB
sudo dd if=/dev/zero of=/var/cache/swap/swap0 bs=64M count=64
# Set permissions for this directory
sudo chmod 0600 /var/cache/swap/swap0
# Create the SWAP file
sudo mkswap /var/cache/swap/swap0
# Activate the SWAP file
sudo swapon /var/cache/swap/swap0
# Check if SWAP information is correct
sudo swapon -s
The effect diagram of partition creation and activation is as follows:
The path of the swap 0 file is under/var/cache/swap/. After compilation, if you don’t want to swap partitions, you can delete it.
Command to delete swap partition:
sudo swapoff /var/cache/swap/swap0
sudo rm /var/cache/swap/swap0
Free space command:
sudo swapoff -a
#Detailed usage: swapoff --help
#View current memory usage: --swapoff: free -m
Read More:
Try running (just after the failure) dmesg
.
Do you see a line like this?
Out of memory: Kill process 23747 (cc1plus) score 15 or sacrifice child
Killed process 23747, UID 2243, (cc1plus) total-vm:214456kB, anon-rss:178936kB, file-rss:5908kB
Most likely that is your problem. Running make -j 8 runs lots of process which use more memory. The problem above occurs when your system runs out of memory. In this case rather than the whole system falling over, the operating systems runs a process to score each process on the system. The one that scores the highest gets killed by the operating system to free up memory. If the process that is killed is cc1plus, gcc (perhaps incorrectly) interprets this as the process crashing and hence assumes that it must be a compiler bug. But it isn’t really, the problem is the OS killed cc1plus, rather than it crashed.
If this is the case, you are running out of memory. So run perhaps make -j 4 instead. This will mean fewer parallel jobs and will mean the compilation will take longer but hopefully will not exhaust your system memory.
Hallo everyone,
i am trying to install MoveIt2 on ros2. Therefore i am following the tutorial at MoveIt 2 Install. I was able to install ros2 correctly and also tried the listener and talker node to see if it works properly.
But when i execute the command
colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
on the install moveit2 page my terminal crashes with the following
Starting >>> geometric_shapes
Starting >>> moveit_msgs
Starting >>> srdfdom
Starting >>> moveit_common
Finished <<< moveit_common [0.65s]
Starting >>> hardware_interface
Finished <<< srdfdom [1.04s]
Starting >>> moveit_resources_panda_description
Finished <<< moveit_resources_panda_description [0.40s]
Starting >>> moveit_resources_fanuc_description
Finished <<< geometric_shapes [1.55s]
Starting >>> moveit_resources_panda_moveit_config
Finished <<< hardware_interface [1.21s]
Starting >>> controller_interface
Finished <<< moveit_resources_panda_moveit_config [0.47s]
Starting >>> test_robot_hardware
Finished <<< moveit_resources_fanuc_description [0.57s]
Starting >>> warehouse_ros
Finished <<< controller_interface [0.47s]
Starting >>> moveit_resources_fanuc_moveit_config
Finished <<< test_robot_hardware [0.58s]
Starting >>> controller_manager
Finished <<< warehouse_ros [0.64s]
Starting >>> moveit_resources_pr2_description
Finished <<< moveit_resources_fanuc_moveit_config [0.36s]
Starting >>> transmission_interface
Finished <<< moveit_resources_pr2_description [0.48s]
Starting >>> warehouse_ros_mongo
Finished <<< transmission_interface [0.65s]
Starting >>> moveit_resources
Finished <<< controller_manager [0.84s]
Starting >>> joint_state_controller
Finished <<< moveit_resources [0.40s]
Starting >>> joint_trajectory_controller
Finished <<< warehouse_ros_mongo [0.68s]
Starting >>> diff_drive_controller
Finished <<< joint_state_controller [0.75s]
Starting >>> ros2_control
Finished <<< joint_trajectory_controller [0.78s]
Finished <<< diff_drive_controller [0.76s]
Starting >>> ros2_controllers
Finished <<< ros2_control [0.45s]
Finished <<< ros2_controllers [0.26s]
Starting >>> fake_joint_driver
Finished <<< fake_joint_driver [0.50s]
Finished <<< moveit_msgs [6.63s]
Starting >>> moveit_core
Finished <<< moveit_core [1.86s]
Starting >>> moveit_ros_occupancy_map_monitor
Starting >>> moveit_simple_controller_manager
Finished <<< moveit_simple_controller_manager [0.47s]
Finished <<< moveit_ros_occupancy_map_monitor [0.57s]
Starting >>> moveit_ros_planning
Finished <<< moveit_ros_planning [1.16s]
Starting >>> moveit_kinematics
Starting >>> moveit_ros_warehouse
Starting >>> moveit_ros_robot_interaction
Starting >>> moveit_fake_controller_manager
Finished <<< moveit_fake_controller_manager [0.85s]
Starting >>> moveit_planners_ompl
Finished <<< moveit_kinematics [0.98s]
Starting >>> moveit_ros_move_group
Finished <<< moveit_ros_robot_interaction [1.04s]
Finished <<< moveit_ros_warehouse [1.08s]
Starting >>> moveit_ros_benchmarks
Finished <<< moveit_ros_benchmarks [0.74s]
Finished <<< moveit_planners_ompl [0.97s]
Finished <<< moveit_ros_move_group [0.99s]
Starting >>> moveit_ros_planning_interface
Finished <<< moveit_ros_planning_interface [0.54s]
Starting >>> moveit_ros_visualization
Starting >>> moveit_servo
Starting >>> run_move_group
Starting >>> run_moveit_cpp
Finished <<< run_move_group [0.75s]
Finished <<< run_moveit_cpp [0.81s]
Finished <<< moveit_servo [1.19s]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
[Processing: moveit_ros_visualization]
--- stderr: moveit_ros_visualization
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [motion_planning_rviz_plugin/CMakeFiles/moveit_motion_planning_rviz_plugin_core.dir/build.make:158: motion_planning_rviz_plugin/CMakeFiles/moveit_motion_planning_rviz_plugin_core.dir/src/motion_planning_frame_states.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:561: motion_planning_rviz_plugin/CMakeFiles/moveit_motion_planning_rviz_plugin_core.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< moveit_ros_visualization [14min 25s, exited with code 2]
Summary: 38 packages finished [14min 38s]
1 package failed: moveit_ros_visualization
1 package had stderr output: moveit_ros_visualization
I hope somebody … (more)
1 Answer
This is a classic gcc error, it happens when the system runs out of memory.
The most conservative way I found to make it work (almost always) in those situations is decreasing the number of threads of the compiler and also configuring the parameter «ggc-min-expand» to some convenient value.
ROS2:
Specifically this would translate to colcon as the following example command line:
colcon build --parallel-workers 1 --cmake-args -DCMAKE_CXX_FLAGS="--param ggc-min-expand=20"
This will make the compilation slower but it maximum memory it takes will be lower.
ROS1
Generalizing the answer to ROS1 the example would be:
catkin_make -j 1 -DCMAKE_CXX_FLAGS="--param ggc-min-expand=20"
Your Answer
Please start posting anonymously — your entry will be published after you log in or create a new account.
Question Tools
Related questions
-
drmacro
- Veteran
- Posts: 6954
- Joined: Sun Mar 02, 2014 4:35 pm
Compile on rasberrypi fails
Haven’t tried compiling the latest on rpi4, but it worked fine a few weeks back.
After apt update/upgrade of the system, then a git pull of the FC source, get this when compiling:
Code: Select all
[ 59%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DAGView/DAGFilter.cpp.o
[ 59%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/CallTips.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:2372: src/Gui/CMakeFiles/FreeCADGui.dir/Tree.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/edgecluster.cpp.o
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/modelRefine.cpp.o
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/Tools.cpp.o
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/FT2FC.cpp.o
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/FaceMaker.cpp.o
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/FaceMakerCheese.cpp.o
make[1]: *** [CMakeFiles/Makefile2:6767: src/Gui/CMakeFiles/FreeCADGui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/FaceMakerBullseye.cpp.o
[ 59%] Linking CXX shared library ../../../../Mod/Part/Part.so
[ 59%] Built target Part
make: *** [Makefile:130: all] Error 2
What changed? What needs to be fixed?
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
-
onekk
- Veteran
- Posts: 4244
- Joined: Sat Jan 17, 2015 7:48 am
- Contact:
Re: Compile on rasberrypi fails
Post
by onekk » Sun May 30, 2021 5:26 pm
Code: Select all
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
It seems that «someone» has killed the compiler, or at least this is the error reported.
Strange, maybe the compilation script, have some timeout or something else to avoid «infinite loop» and on slow machines this «max compilation time» is reached.
I don’t remember well but cmake, is a fairly complex set of scripts, and something is configurable so maybe there are some directive around to tune something.
Hope it helps
Carlo D.
-
drmacro
- Veteran
- Posts: 6954
- Joined: Sun Mar 02, 2014 4:35 pm
Re: Compile on rasberrypi fails
Post
by drmacro » Mon May 31, 2021 9:58 am
The build has worked flawlessly, many times on this device.
The second time I ran the build it failed later in the process, with a different report.
I be looking at it again later…
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
-
onekk
- Veteran
- Posts: 4244
- Joined: Sat Jan 17, 2015 7:48 am
- Contact:
Re: Compile on rasberrypi fails
Post
by onekk » Mon May 31, 2021 10:36 am
Yes I have no doubt, but in the game maybe some compiler or «toolchain» update could have broken something.
I have such problem, very often, as I’m using a bleeding edge «linux distribution», so maybe when some compiler ot «toolchain» components are modified or updated, some thing is breaking if not done correctly or «some non standard trick» are used.
To have a chance to point out what is happening, at least you have to supply some version of the toolchain, maybe, Cmake version, OS version, and compiler version will be a good starting point.
But I’m not a CMake or C compiler expert.
Regards
Carlo D.
-
drmacro
- Veteran
- Posts: 6954
- Joined: Sun Mar 02, 2014 4:35 pm
Re: Compile on rasberrypi fails
Post
by drmacro » Mon May 31, 2021 1:55 pm
The new error is:
Code: Select all
[ 95%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/ViewProviderPath.cpp.o
[ 95%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/ViewProviderPathCompound.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/TaskSections.cpp.o
[ 95%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/ViewProviderPathShape.cpp.o
[ 95%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/ViewProviderArea.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/AppSurfaceGui.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/Command.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/PreCompiled.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/ViewProviderExtend.cpp.o
[ 95%] Building CXX object src/Mod/Surface/Gui/CMakeFiles/SurfaceGui.dir/Workbench.cpp.o
[ 95%] Linking CXX shared library ../../../../Mod/Path/PathGui.so
[ 95%] Built target PathGui
[ 95%] Linking CXX shared library ../../../../Mod/Surface/SurfaceGui.so
[ 95%] Built target SurfaceGui
make: *** [Makefile:130: all] Error 2
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
-
-alex-
- Veteran
- Posts: 1510
- Joined: Wed Feb 13, 2019 9:42 pm
- Location: France
Re: Compile on rasberrypi fails
Post
by -alex- » Tue Jun 01, 2021 7:28 am
drmacro wrote: ↑Mon May 31, 2021 1:55 pm
The new error is:
I have no idea. Do you compile with make -j4?
what about make -j2 ?
JFYI I have no issue when compiling Linkstage3 branch, but this is maybe not recently sync with master so… (sorry, I did not compile master branch recently on RPI4 for some reason).
-
drmacro
- Veteran
- Posts: 6954
- Joined: Sun Mar 02, 2014 4:35 pm
Re: Compile on rasberrypi fails
Post
by drmacro » Tue Jun 01, 2021 2:51 pm
When did you last pat update/upgrade on the Pi?
This started the other day when I did that before attempting build (and after a git pull).
Today after same (apt update/upgrade and git pull) the error message happens later in the build:
Code: Select all
[ 95%] Building CXX object src/Mod/TechDraw/Gui/CMakeFiles/TechDrawGui.dir/ViewProviderCosmeticExtension.cpp.o
[ 95%] Linking CXX shared library ../../../../Mod/TechDraw/TechDrawGui.so
[ 95%] Built target TechDrawGui
make: *** [Makefile:130: all] Error 2
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
-
Kunda1
- Veteran
- Posts: 13342
- Joined: Thu Jan 05, 2017 9:03 pm
Re: Compile on rasberrypi fails
Post
by Kunda1 » Tue Jun 01, 2021 3:56 pm
There is a dedicated RPI thread and I think this should be x posted to. I can’t find it at the moment but I’ll try to merge it at some point if I can remember
-
-alex-
- Veteran
- Posts: 1510
- Joined: Wed Feb 13, 2019 9:42 pm
- Location: France
Re: Compile on rasberrypi fails
Post
by -alex- » Tue Jun 01, 2021 4:24 pm
drmacro wrote: ↑Tue Jun 01, 2021 2:51 pm
When did you last pat update/upgrade on the Pi?
Code: Select all
pi@raspberrypi:~ $ stat -c %y /var/lib/apt/lists/partial
2021-05-15 12:12:19.240759560 +0200
Since the 15 of May I compiled successfully Linkstage3 branch 3 times. But the 4th time was last night, and it fails
Code: Select all
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/View3DInventorExamples.cpp.o
Scanning dependencies of target Surface
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/AppSurface.cpp.o
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/View3DInventorViewer.cpp.o
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/PreCompiled.cpp.o
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureExtend.cpp.o
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureGeomFillSurface.cpp.o
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/View3DInventorRiftViewer.cpp.o
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/CoinRiftWidget.cpp.o
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/View3DPy.cpp.o
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureFilling.cpp.o
/home/pi/freecadlink-source/src/Gui/View3DPy.cpp: In member function ‘virtual Py::Object Gui::View3DInventorPy::getattr(const char*)’:
/home/pi/freecadlink-source/src/Gui/View3DPy.cpp:313:80: warning: cast between incompatible function types from ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} to ‘PyCFunctionWithKeywords’ {aka ‘_object* (*)(_object*, _object*, _object*)’} [-Wcast-function-type]
pycxx_kwd_handler = (PyCFunctionWithKeywords)op->m_ml->ml_meth;
^~~~~~~
/home/pi/freecadlink-source/src/Gui/View3DPy.cpp:314:54: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
op->m_ml->ml_meth = (PyCFunction)method_keyword_ext_handler;
^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 67%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureSections.cpp.o
[ 67%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/View3DViewerPy.cpp.o
[ 68%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureSewing.cpp.o
/home/pi/freecadlink-source/src/Gui/View3DViewerPy.cpp: In member function ‘virtual Py::Object Gui::View3DInventorViewerPy::getattr(const char*)’:
/home/pi/freecadlink-source/src/Gui/View3DViewerPy.cpp:191:76: warning: cast between incompatible function types from ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} to ‘PyCFunctionWithKeywords’ {aka ‘_object* (*)(_object*, _object*, _object*)’} [-Wcast-function-type]
pycxx_kwd_handler = (PyCFunctionWithKeywords)op->m_ml->ml_meth;
^~~~~~~
/home/pi/freecadlink-source/src/Gui/View3DViewerPy.cpp:192:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
op->m_ml->ml_meth = (PyCFunction)method_keyword_ext_handler;
^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 68%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/NaviCube.cpp.o
[ 68%] Building CXX object src/Mod/Surface/App/CMakeFiles/Surface.dir/FeatureCut.cpp.o
[ 68%] Linking CXX shared library ../../../../Mod/Surface/Surface.so
[ 68%] Built target Surface
Scanning dependencies of target Start
[ 68%] Building CXX object src/Mod/Start/App/CMakeFiles/Start.dir/AppStart.cpp.o
[ 68%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProvider.cpp.o
[ 68%] Building CXX object src/Mod/Start/App/CMakeFiles/Start.dir/PreCompiled.cpp.o
[ 69%] Linking CXX shared library ../../../../Mod/Start/Start.so
[ 69%] Built target Start
Scanning dependencies of target Import
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/AppImport.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/AppImportPy.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/ExportOCAF.cpp.o
[ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderExtension.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/ImportOCAF.cpp.o
[ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderExtensionPyImp.cpp.o
[ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderGroupExtension.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/ImportOCAF2.cpp.o
[ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderGeoFeatureGroupExtension.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/StepShape.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/StepShapePyImp.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/PreCompiled.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/ImpExpDxf.cpp.o
[ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderOriginGroupExtension.cpp.o
[ 69%] Building CXX object src/Mod/Import/App/CMakeFiles/Import.dir/dxf.cpp.o
[ 70%] Linking CXX shared library ../../../../Mod/Import/Import.so
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderAnnotation.cpp.o
[ 70%] Built target Import
[ 70%] Copying /home/pi/freecadlink-source/src/Mod/Inspection/Init.py to /home/pi/freecadlinkdaily-build/Mod/Inspection/Init.py
Scanning dependencies of target Inspection
[ 70%] Building CXX object src/Mod/Inspection/App/CMakeFiles/Inspection.dir/AppInspection.cpp.o
[ 70%] Building CXX object src/Mod/Inspection/App/CMakeFiles/Inspection.dir/InspectionFeature.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderDocumentObject.cpp.o
[ 70%] Building CXX object src/Mod/Inspection/App/CMakeFiles/Inspection.dir/PreCompiled.cpp.o
[ 70%] Linking CXX shared library ../../../../Mod/Inspection/Inspection.so
[ 70%] Built target Inspection
Scanning dependencies of target Fem
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMeshObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderDocumentObjectGroup.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMeshShapeObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderDocumentObjectPyImp.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMeshShapeNetgenObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderDragger.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemAnalysis.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderExtern.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMesh.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderFeature.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemResultObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderGeometryObject.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSolverObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderInventorObject.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraint.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderMeasureDistance.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMeshProperty.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintBearing.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderPyImp.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintFixed.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderPythonFeature.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintForce.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintFluidBoundary.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderVRMLObject.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintPressure.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderBuilder.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderPlacement.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintGear.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintPulley.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderOriginFeature.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintDisplacement.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderPlane.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintTemperature.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderLine.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintHeatflux.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderGeoFeatureGroup.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintInitialTemperature.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderOriginGroup.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintPlaneRotation.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderPart.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintContact.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemConstraintTransform.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderOrigin.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/PropertyPostDataObject.cpp.o
[ 70%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderMaterialObject.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemPostObject.cpp.o
[ 70%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemPostPipeline.cpp.o
[ 71%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderTextDocument.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemPostFilter.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderLink.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemPostFunction.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemVTKTools.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/LinkViewPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetObject.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewProviderLinkPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetNodesObject.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetElementsObject.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/AxisOriginPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetFacesObject.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/AxisOrigin.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetGeometryObject.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/FileDialog.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/AppFem.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/MainWindow.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/AppFemPy.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemTools.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/PreCompiled.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemMeshPyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PrefWidgets.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/HypothesisPy.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/InputField.cpp.o
[ 72%] Building CXX object src/Mod/Fem/App/CMakeFiles/Fem.dir/FemPostPipelinePyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ProgressBar.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ProgressDialog.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/QuantitySpinBox.cpp.o
[ 72%] Linking CXX shared library ../../../../Mod/Fem/Fem.so
[ 72%] Built target Fem
Scanning dependencies of target Path
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Command.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Path.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SpinBox.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Tool.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Tooltable.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PropertyPath.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Splashscreen.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeaturePath.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/WidgetFactory.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PropertyTool.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PropertyTooltable.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeaturePathCompound.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Widgets.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeaturePathShape.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Window.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ViewParams.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Area.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ExprParams.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/MDIView.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeatureArea.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/MDIViewPy.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PathSegmentWalker.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/Voronoi.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/GraphvizView.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiCell.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiEdge.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ActiveObjectList.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiVertex.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/AppPath.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DockWindowManager.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/OverlayWidgets.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/AppPathPy.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PreCompiled.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/CommandPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/PathPyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/MenuManager.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/ToolPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/TooltablePyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PythonWorkbenchPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeaturePathCompoundPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/AreaPyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ToolBarManager.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/ToolBoxManager.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/FeatureAreaPyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Workbench.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiPyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/WorkbenchFactory.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiCellPyImp.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiEdgePyImp.cpp.o
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/WorkbenchManager.cpp.o
[ 72%] Building CXX object src/Mod/Path/App/CMakeFiles/Path.dir/VoronoiVertexPyImp.cpp.o
[ 72%] Linking CXX shared library ../../../../Mod/Path/Path.so
[ 72%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/WorkbenchPyImp.cpp.o
[ 73%] Built target Path
[ 73%] Copying /home/pi/freecadlink-source/src/Mod/Measure/Init.py to /home/pi/freecadlinkdaily-build/Mod/Measure/Init.py
Scanning dependencies of target Measure
[ 73%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/AppMeasure.cpp.o
[ 73%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SelectionObjectPyImp.cpp.o
[ 73%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/AppMeasurePy.cpp.o
[ 73%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/Measurement.cpp.o
[ 73%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SelectionObject.cpp.o
[ 73%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/PreCompiled.cpp.o
[ 73%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/MeasurementPyImp.cpp.o
[ 73%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Selection.cpp.o
[ 73%] Linking CXX shared library ../../../../Mod/Measure/Measure.so
[ 73%] Built target Measure
Scanning dependencies of target PartDesign
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/Feature.cpp.o
[ 73%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SelectionFilter.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureSolid.cpp.o
[ 73%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PreCompiled.cpp.o
[ 73%] Linking CXX shared library ../../lib/libFreeCADGui.so
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/Body.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureBase.cpp.o
[ 73%] Built target FreeCADGui
Scanning dependencies of target Sketcher
[ 73%] Building CXX object src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/SketchObjectSF.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/ShapeBinder.cpp.o
[ 73%] Building CXX object src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/SketchGeometryExtension.cpp.o
[ 73%] Building CXX object src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/ExternalGeometryExtension.cpp.o
[ 73%] Building CXX object src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/SolverGeometryExtension.cpp.o
[ 73%] Building CXX object src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/SketchObject.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/DatumPlane.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/DatumLine.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/DatumPoint.cpp.o
c++: fatal error: Processus arrêté signal terminated program cc1plus
compilation terminated.
make[2]: *** [src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/build.make:187: src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/SketchObject.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3509: src/Mod/Sketcher/App/CMakeFiles/Sketcher.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/DatumCS.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureTransformed.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureMirrored.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureLinearPattern.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureGenericPattern.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePolarPattern.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureScaled.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureMultiTransform.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureSketchBased.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePad.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureExtrusion.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePocket.cpp.o
[ 73%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureRevolution.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureGroove.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureAddSub.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureHole.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureBoolean.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureSplit.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePrimitive.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePipe.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureLoft.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureWrap.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/AuxGroup.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureHelix.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureDressUp.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureFillet.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureChamfer.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureDraft.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeatureThickness.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/AppPartDesign.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/AppPartDesignPy.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/PreCompiled.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/BodyPyImp.cpp.o
[ 74%] Building CXX object src/Mod/PartDesign/App/CMakeFiles/PartDesign.dir/FeaturePyImp.cpp.o
[ 74%] Linking CXX shared library ../../../../Mod/PartDesign/_PartDesign.so
[ 74%] Built target PartDesign
make: *** [Makefile:130: all] Error 2
So, I would say the issue is related to FC source code, not related to apt libs
-
drmacro
- Veteran
- Posts: 6954
- Joined: Sun Mar 02, 2014 4:35 pm
Re: Compile on rasberrypi fails
Post
by drmacro » Tue Jun 01, 2021 4:58 pm
Hmm…it just completed for me.
I use a bash script to automate the git, make and build.
I’m sure I’ve used it before on this Pi.
But, I checked and it had ‘make -j5’ and I changed it to ‘j2’.
I don’t remember updating the script from my server, but, the ‘-j5’ is used on my other pc’s with high core count. Maybe I copied it over and forgot to change it for the pi…but, as I said, I thought I’d built on the pi with the script previously and don’t remember changing it. And, I know I’ve built FC several times on the Pi.
But, being as it failed different places during the build over the past few days…maybe the core count had nothing to do with it…
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
Apprentice
Joined: 27 Apr 2012
Posts: 155
Veteran
Joined: 17 Jun 2015
Posts: 1369
Location: EU or US
Bodhisattva
Joined: 07 Aug 2002
Posts: 7729
Location: Underworld
|
||
|
||
Looks like the assembler borked out somehow. Can you emerge gcc and binutils again? |
Apprentice
Joined: 27 Apr 2012
Posts: 155
Bodhisattva
Joined: 07 Aug 2002
Posts: 7729
Location: Underworld
|
||
|
||
If it is memory, and I am not sure it is, you can add it with swapon.
You just have to tell it where is your swap partition or file. |
Veteran
Joined: 17 Jun 2015
Posts: 1369
Location: EU or US
Apprentice
Joined: 27 Apr 2012
Posts: 155
Veteran
Joined: 17 Jun 2015
Posts: 1369
Location: EU or US
Administrator
Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W
|
|
|
|
caaarlos,
That handbook is broken. You don’t have a world file until you start installing software, so updating world does not make sense on a new Gentoo Handbook install. If you have been installing likewhoas Gentoo, from the liveDVD, it makes more sense. What handbook have you been following? NeddySeagoon Computer users fall into two groups:- |
Guru
Joined: 29 Jun 2003
Posts: 336
|
||
|
||
Directly from the amd64 Handbook on the gentoo wiki
Are you going the «systemd» route? |
Watchman
Joined: 07 Jun 2012
Posts: 6227
Location: Room 101
|
||
|
||
@caaarlos … the above error is, as pilla and buffoon suggest, out of memory (bug 256766), you can remove ‘-pipe’ from CFLAGS if adding swap doesn’t resolve it, or use something other than the liveDVD as install disk (as it’s probably the culprit looking at the amount of ram, and available ram, in ’emerge —info’). best … khay |
Display posts from previous: