Hello everyone!
I have been working on po-util recently, and I am encountering a very frustrating bug on Ubuntu / Mint. Arm-none-eabi-gcc is not being found, and I am having trouble adding it to $PATH
.
Here is the output when trying to build firmware on my VPS (Ubuntu 16.04.1):
nrobinson@ubuntu-2gb-nyc2-01:~$ po photon build po-util/build-test/
photon selected.
Already on 'latest'
Building firmware for Production Photon, platform ID: 6, product ID: 6
/bin/sh: 1: /home/nrobinson/bin/gcc-arm-embedded/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: not found
/home/nrobinson/github/firmware/build/arm-tools.mk:43: *** "ARM gcc version 4.8.4 or later required, but found ". Stop.
build/recurse.mk:11: recipe for target 'communication' failed
make: *** [communication] Error 2
nrobinson@ubuntu-2gb-nyc2-01:~$
Whenever I try to run arm-none-eabi-gcc
manually by just running:
/home/nrobinson/bin/gcc-arm-embedded/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc
I get the error:
-bash: /home/nrobinson/bin/gcc-arm-embedded/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: No such file or directory
Which I find really weird, because the file does exist.
My code can be found here: https://github.com/nrobinson2000/po-util/blob/master/po-util.sh
Strangely, My CI that I am using (Circle CI) does not have this problem. https://circleci.com/gh/nrobinson2000/po-util/tree/master
EDIT: After reinstalling po-util on Mint, I am no longer having the problem I have on my Ubuntu VPS.