Skip to content

Unable to use arduino-builder released with 1.8.10 #336

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
fpistm opened this issue Sep 19, 2019 · 4 comments · Fixed by #337
Closed

Unable to use arduino-builder released with 1.8.10 #336

fpistm opened this issue Sep 19, 2019 · 4 comments · Fixed by #337
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@fpistm
Copy link

fpistm commented Sep 19, 2019

Hi @facchinm ,

arduino-builder v1.4.7 is not usable. Using 1.8.10 which include this I'm could not make any build.

Using https://github.com/arduino/arduino-builder/wiki/Doing-continuous-integration-with-arduino-builder example:

./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:uno /local/data/work/IDE/arduino/arduino-1.8.10/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.ino
stat : no such file or directory

with arduino-builder v1.4.4 including in 1.8.9 this works fine.

Same issue using -build-options-file generated with Arduino IDE. Failed with 1.4.7, passed with 1.4.4.

Finally using our CI build using 1.8.10, error is
fork/exec {runtime.tools.ctags.path}/ctags: no such file or directory

See logs here:
https://travis-ci.com/stm32duino/Arduino_Core_STM32/jobs/236988204

I've reproduced on windows 10 and Linux (Ubuntu 16.04).

Edit:
Build with Arduino IDE 1.8.10 GUI works fine.
Maybe related to new arduino-cli?
Extra question: should we move to arduino-cli for CI ?

Best regards.

@facchinm
Copy link
Member

Hi Frederic,
the builder as it is now (after merging #319 ) is no more the go-to tool for CI jobs.
The java IDE populates the paths as needed but we gave no extra care about different usage (like CI) since we are moving everything (also the builder sources) to https://github.com/arduino/arduino-cli .
Sorry for not giving any official notice about this.
I'm leaving the issue open since it's probably just a matter of calling filepath.Abs here and there but I strongly advise you to switch to the cli (which makes other CI mundane tasks very easy)

@fpistm
Copy link
Author

fpistm commented Sep 19, 2019

Thanks Martino for the quick answer.
I will have a look to arduino-cli.
Anyway, I think the arduino-builder v1.4.7 is no more inline with its documentations and help.

@cmaglie
Copy link
Member

cmaglie commented Sep 20, 2019

@fpistm
may you try this build: #337 (comment) to see if this fixes the problem?

@fpistm
Copy link
Author

fpistm commented Sep 22, 2019

Hi @cmaglie
I've tested under windows and this works fine now.
Thanks a lot for the quick fix.

@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants