Closed huntrontrakkr closed 3 years ago
How many jobs are specified in the build config and how much RAM is available on the system? I think error 4 is “internal compiler error” which normally implies an out-of-memory issue with gcc. If you have more than 1 job configured, try changing to 1 and see if that resolves the error.
Ah yes, I see the dreaded “internal compiler error” on the second line, don’t know how I missed it on the first pass!
I think that the agent is limited to one job, but is pretty limited in general. 2 cores at 8GBs. Maybe one or the other is doing that possibly?
Sorry I meant the arguments to configure.py. Try using -j 1 (or —jobs 1) if it is currently set higher. 8GB should be able to handle 2 and maybe more, but I’d like to make sure this is the cause.
Good news! That seemed to do the trick. Now I'm running into what I can only assume is pathing issues:
[ 97%] Linking CXX shared library "/home/lmejenkinstest/workspace/AutonomyKit/connextdds-py compile (Linux)/connextdds-py/build/lib.linux-x86_64-3.7/rti/connextdds.cpython-37m-x86_64-linux-gnu.so"
/bin/sh: 1: Syntax error: "(" unexpected
connextdds/CMakeFiles/connextdds.dir/build.make:3525: recipe for target '/home/lmejenkinstest/workspace/AutonomyKit/connextdds-py compile (Linux)/connextdds-py/build/lib.linux-x86_64-3.7/rti/connextdds.cpython-37m-x86_64-linux-gnu.so' failed
make[2]: *** [/home/lmejenkinstest/workspace/AutonomyKit/connextdds-py compile (Linux)/connextdds-py/build/lib.linux-x86_64-3.7/rti/connextdds.cpython-37m-x86_64-linux-gnu.so] Error 2
make[2]: *** Deleting file '/home/lmejenkinstest/workspace/AutonomyKit/connextdds-py compile (Linux)/connextdds-py/build/lib.linux-x86_64-3.7/rti/connextdds.cpython-37m-x86_64-linux-gnu.so'
CMakeFiles/Makefile2:133: recipe for target 'connextdds/CMakeFiles/connextdds.dir/all' failed
make[1]: *** [connextdds/CMakeFiles/connextdds.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
And just resolved that. Seems to be building now, much appreciated!
Hello,
This is more likely an issue with the agent I'm using than a scripting issue. I was hoping for some guidance in this. When building out the wheel for dist, hitting an unexpected issue:
What would be a good first place for trying to get this resolved?