I'm using ElectricAccelerator 10.0.3.78576 64-bit on Ubuntu 16.04. I'm trying to build my existing set of code using existing set of makefiles. These makefiles do lots of recursion and sometimes call the nested makfiles using 'gmake -C foo/baz -f Makefile.custom'. While executing these makefiles I always get an error:
root@ubuntu:/var/tmp/ea# /opt/ecloud/i686_Linux/bin/emake --emake-cm=10.102.103.130 Starting build: 14 echo "making lib1.o" making lib1.o gmake -j1 lib1 gmake: Command not found make: *** [lib1.o] Error 127 Finished build: 14 Duration: 0:00 (m:s) Cluster availability: 100%
I even tried using the --emake-emulation=gmake4.1 option but it did not help.
What am I doing wrong?
Answer by eric melski · Apr 19, 2018 at 04:13 PM
It sounds like you have two problems:
<job id="J00007fd264003440" thread="7fd27a3e5700" start="3" end="4" weight="0" type="rule" name="lib1.o" file="Makefile" line="1"> <why reason="target-absent"/> <command line="1"> <argv>gmake -j lib1</argv> <output src="prog">gmake: Command not found </output> <output>make: *** [lib1.o] Error 127 </output> </command> <commitTimes start="0.031153" wait="0.032173" commit="0.032212" write="0.032232"/> <timing invoked="0.031007" completed="0.032164" node="chester-3"/> <failed code="127"/> </job>
Note that the <timing> tag contains the name of the agent that emake tried to use to run the command. That's the system you need to fix.
emake fails on Windows 7 1 Answer
How can I make emake skip parts of my Makefile? 2 Answers
Does emake support the GMake export directive? 2 Answers
EA make and "cannot stat" a file 2 Answers
Binaries produced by emake and gmake - should they differ? 1 Answer
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.