Autoware docker lidar_localizer fails to build

asked 2020-01-03 04:06:59 -0500

Mackou gravatar image
  • Autoware version : 1.13.0
  • ROS Version Melodic
  • Autoware installed from Docker
  • Docker version 19.03.5, build 633a0ea838

Hello everyone,

I have noticed when building a new autoware docker container that the lidar_localizer fails to build with a message that is very cryptic to me.

Here is the stderr output :

--- stderr: lidar_localizer
** WARNING ** io features related to ensenso will be disabled
** WARNING ** io features related to davidSDK will be disabled
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
** WARNING ** visualization features related to ensenso will be disabled
** WARNING ** visualization features related to davidSDK will be disabled
** WARNING ** visualization features related to dssdk will be disabled
** WARNING ** visualization features related to rssdk will be disabled
In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0,
                 from /usr/include/pcl-1.8/pcl/sample_consensus/sac.h:45,
                 from /usr/include/pcl-1.8/pcl/sample_consensus/ransac.h:44,
                 from /usr/include/pcl-1.8/pcl/registration/icp.h:45,
                 from /home/autoware/Autoware/src/autoware/core_perception/lidar_localizer/nodes/icp_matching/icp_matching.cpp:49:
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
   SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
   ^~~~~~~~~~~~~~~
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/ndt_matching.dir/nodes/ndt_matching/ndt_matching.cpp.o] Error 4
make[1]: *** [CMakeFiles/ndt_matching.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/approximate_ndt_mapping.dir/nodes/approximate_ndt_mapping/approximate_ndt_mapping.cpp.o] Error 4
make[1]: *** [CMakeFiles/approximate_ndt_mapping.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< lidar_localizer    [ Exited with code 2 ]

Do you have any idea what broke ? And how is it possible to get it working again ?

Thanks a lot !

edit retag flag offensive close merge delete

Comments

@Mackou This is a compiler error, usually caused by the compiler running out of memory. How much memory is available to the Docker container on your machine?

Josh Whitley gravatar image Josh Whitley  ( 2020-01-03 11:14:35 -0500 )edit