Package Details: arduino 1:1.6.12-4

Git Clone URL: https://aur.archlinux.org/arduino.git (read-only)
Package Base: arduino
Description: Arduino prototyping platform SDK
Upstream URL: https://github.com/arduino/Arduino
Licenses: GPL, LGPL
Submitter: bardo
Maintainer: NicoHood
Last Packager: NicoHood
Votes: 532
Popularity: 10.716207
First Submitted: 2007-02-10 16:33
Last Updated: 2016-11-24 18:01

Sources (8)

Pinned Comments

NicoHood commented on 2016-11-26 15:00

For those of you who have problems installing Arduino:
Please try to remove arduino first (sudo pacman -Rs arduino) and then check if any folder in /usr/share/arduino still exist. This will cause arduino to fail starting.

For those of you still having problems with arduino, please try the following steps and post the full log.

sudo pacman -Rs arduino
ls /usr/share/arduino
sudo pacman -S devtools
git clone https://aur.archlinux.org/arduino.git
cd arduino
extra-x86_64-build
sudo pacman -U arduino-<version>.xz
sudo pacman -S arduino-avr-core
mv ~/.arduino15 ~/.arduino15_backup
arduino

Latest Comments

archery commented on 2016-11-30 03:31

@NicoHood,

Thanks, that solved the problem.

NicoHood commented on 2016-11-26 15:00

For those of you who have problems installing Arduino:
Please try to remove arduino first (sudo pacman -Rs arduino) and then check if any folder in /usr/share/arduino still exist. This will cause arduino to fail starting.

For those of you still having problems with arduino, please try the following steps and post the full log.

sudo pacman -Rs arduino
ls /usr/share/arduino
sudo pacman -S devtools
git clone https://aur.archlinux.org/arduino.git
cd arduino
extra-x86_64-build
sudo pacman -U arduino-<version>.xz
sudo pacman -S arduino-avr-core
mv ~/.arduino15 ~/.arduino15_backup
arduino

NicoHood commented on 2016-11-26 08:01

@archery thanks for the information. I cannot reproduce this problem, can you please try to build the package with the devtools chroot build script first and then post a full build log and a log of the crashing again? You might want to delete the arduino folder in your home directory first too. I cannot fix this, unless i am able to reproduce this.

archery commented on 2016-11-26 03:21

@NicoHood
The problem continues with platform.txt:

1) Please note that one *can not* choose the right board from the menu because the GUI does not start.

Let me show you what I mean:
$ pacaur -Qo /usr/share/arduino/hardware/platform.txt
/usr/share/arduino/hardware/platform.txt is owned by arduino 1:1.6.12-4

$ arduino
Picked up JAVA_TOOL_OPTIONS:
[...]
java.io.FileNotFoundException: /usr/share/arduino/hardware/arduino/avr/platform.txt (No such file or directory)
***************GUI does not start at this point************************

$ pacaur -Ql arduino-avr-core |grep plat
arduino-avr-core /usr/share/arduino/hardware/archlinux-arduino/avr/platform.txt


Neither the arduino-avr-core or the arduino packages have a platform.txt file where the binary expects it.
The binary is looking for it in ...hardware/arduino/avr
but arduino-avr-core has it in ...hardware/archlinux-arduino/avr


I *know* they are different platforms and that we need to change it in the boards menu in the GUI, but the GUI *does not* start! (and no user should be forced to make a symlink)

Please don't move the package as it is to community.

NicoHood commented on 2016-11-25 12:14

@abmantis have you installed arduino-avr-core ?

abmantis commented on 2016-11-24 23:45

I'm also having the platform.txt not found exception at launch. I'm using pacaur to build it.

NicoHood commented on 2016-11-24 18:04

The ${version} problem has finally got fixed. It seems that everyone who experienced this issue used some 3rd party tool to compile sketches. In any case it should now work without any problems.

The upgrade to 1.6.13 requires me to repatch the build instructions. I've asked them to patch those changes upstream. I hope they will have a look at this soon, as they promised me they will do that soon. This makes it simpler to package arduino in the future. I've also requested gpg signatures.

NicoHood commented on 2016-11-24 15:56

@hax404 can you please build the package in a clean chroot via devtools? execute extra-x64-build (or similar) and post the full log of the building as well as the execution of arduino.

You may also contact me on tox or IRC for further help. Once we solved this issue (as it only occurs for some users) arduino will move to community.

hax404 commented on 2016-11-24 11:33

When I build a sketch, ano (package arturo-git) returns
$ ano build
Searching for Board description file (boards.txt) in ['libraries/**/hardware/**', '/home/georg/Documents/Arduino/**/hardware/**', '/home/georg/Arduino/**/hardware/**', '/home/georg/.arduino15/**/hardware/**', '/home/georg/.arduino/**/hardware/**', '/usr/local/share/arduino/**/hardware/**', '/usr/share/arduino/**/hardware/**']
/home/georg/.arduino15/packages/arduino/hardware/avr/1.6.14/boards.txt
Searching for Arduino lib version file (version.txt) in ['libraries/lib', '/home/georg/Documents/Arduino/lib', '/home/georg/Arduino/lib', '/home/georg/.arduino15/lib', '/home/georg/.arduino/lib', '/usr/local/share/arduino/lib', '/usr/share/arduino/lib']
/usr/share/arduino/lib/version.txt
Detecting Arduino software version ... Could not parse Arduino library version: ${version}

The file /usr/share/arduino/lib/version.txt contains ${version}, but there must be a number. I think build.patch is broken.

toast commented on 2016-11-09 18:24

@tata I got the same null pointer exception trying to run the IDE, was able to resolve this by removing ~/.arduino15/preferences.txt and letting it create a fresh preferences file on launch.

Not sure why this worked though. just lucky i suppose!

All comments