Hi,
System was working OK some time ago but now fails. Here is the output:
Arduino: 1.8.7 (Linux), Board: "Arduino/Genuino Uno"
/usr/share/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/leighton/.arduino15/packages -tools /usr/share/arduino/tools-builder -tools /home/leighton/.arduino15/packages -libraries /home/leighton/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path /home/leighton/arduinobuild -warnings=all -build-cache /tmp/arduino_cache_327492 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/leighton/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.avr-gcc-4.9.2-atmel3.5.3-arduino2.path=/home/leighton/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.arduinoOTA.path=/home/leighton/.arduino15/packages/arduino/tools/arduinoOTA/1.0.0 -prefs=runtime.tools.arduinoOTA-1.0.0.path=/home/leighton/.arduino15/packages/arduino/tools/arduinoOTA/1.0.0 -prefs=runtime.tools.avrdude.path=/home/leighton/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs=runtime.tools.avrdude-6.3.0-arduino8.path=/home/leighton/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -verbose /home/leighton/Arduino/hello_world/hello_world.ino
/usr/share/arduino/arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/leighton/.arduino15/packages -tools /usr/share/arduino/tools-builder -tools /home/leighton/.arduino15/packages -libraries /home/leighton/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path /home/leighton/arduinobuild -warnings=all -build-cache /tmp/arduino_cache_327492 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/leighton/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.avr-gcc-4.9.2-atmel3.5.3-arduino2.path=/home/leighton/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.arduinoOTA.path=/home/leighton/.arduino15/packages/arduino/tools/arduinoOTA/1.0.0 -prefs=runtime.tools.arduinoOTA-1.0.0.path=/home/leighton/.arduino15/packages/arduino/tools/arduinoOTA/1.0.0 -prefs=runtime.tools.avrdude.path=/home/leighton/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs=runtime.tools.avrdude-6.3.0-arduino8.path=/home/leighton/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -verbose /home/leighton/Arduino/hello_world/hello_world.ino
avrdude: can't open input file /home/leighton/arduinobuild/hello_world.ino.hex: No such file or directory
avrdude: read from file '/home/leighton/arduinobuild/hello_world.ino.hex' failed
An error occurred while uploading the sketch
More info:
System is a reasonably up-to-date 32 bit Arch Linux and 1.8.7 is the most recent package I can find. I have created a build directory and set the appropriate preference from the command line with
arduino --pref build.path=/home/leighton/arduinobuild/ --save-prefs
Following an unsuccessful upload that directory is empty. I have tried to preserve build files with
arduino --preserve-temp-files --save-prefs
but it makes no difference. I tried running arduino as root but that fails with
Picked up JAVA_TOOL_OPTIONS:
Error parsing gtk-icon-sizes string: ''
java.lang.NullPointerException
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:679)
at processing.app.Base.onBoardOrPortChange(Base.java:1313)
at processing.app.Base.<init>(Base.java:276)
at processing.app.Base.main(Base.java:145)
Sorry for the long post. Any help or suggestions most gratefully received. Thanks,