Package Details: ino 0.3.6-8

Git Clone URL: https://aur.archlinux.org/ino.git (read-only)
Package Base: ino
Description: Command line toolkit for working with Arduino hardware
Upstream URL: http://inotool.org/
Licenses: MIT
Submitter: garyvdm
Maintainer: None
Last Packager: drevilt
Votes: 23
Popularity: 0.000000
First Submitted: 2012-06-22 12:38
Last Updated: 2015-06-08 17:36

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

chmue commented on 2014-08-18 17:36

FYI I just filed a feature request to the avrdude package to install the configuration file as /etc/arvdude/avrdude.conf, which would make the fix-avrdude-conf.patch obsolete: https://bugs.archlinux.org/task/41612

PS: When I download cppoption1.patch, I also get the same md5sum that visibilityspots reported. But it is quite strange that the checksum changed.

drevilt commented on 2014-08-05 13:24

how can a hash of a git commit(-patch) change ?

visibilityspots commented on 2014-08-05 08:27

The checksum of the cppotion1.patch has changed.

I downloaded the file from https://github.com/maharifu/ino/commit/e5be3c6779892514cf8fc491ed927d36f292a2f9.patch and calculated the md5sum myself:

$ md5sum e5be3c6779892514cf8fc491ed927d36f292a2f9.patch
aab65d083cdff7b9db8f8331d402dd66 e5be3c6779892514cf8fc491ed927d36f292a2f9.patch

Replaced the previous one, e1f36b21da2c2b0c0d326da2d10877c8 with this new one aab65d083cdff7b9db8f8331d402dd66 in the pkgbuild file and it installed fine.

visibilityspots commented on 2014-08-05 08:24

The checksum for the cppoption1.patch is changed -> aab65d083cdff7b9db8f8331d402dd66
calculated using md5sum on the downloaded patch from https://github.com/maharifu/ino/commit/e5be3c6779892514cf8fc491ed927d36f292a2f9.patch:

$ md5sum e5be3c6779892514cf8fc491ed927d36f292a2f9.patch
aab65d083cdff7b9db8f8331d402dd66 e5be3c6779892514cf8fc491ed927d36f292a2f9.patch

drevilt commented on 2014-07-04 00:38

thanks maharifu. now i understand the problem that is causing this issue.

i have added your patch to the package.

maharifu commented on 2014-06-27 18:19

@drevilt can you check the version of avr-gcc in you Fedora installation?

I have the same problem with a simple sketch. It appears gcc-4.8 changed the default flag from no-use-cxa-atexit to use-cxa-atexit. It works in the official Arduino IDE, because the maintainer of https://aur.archlinux.org/packages/arduino/ patched it (https://github.com/WarheadsSE/PKGs/blob/master/arduino/arduino-gcc-4.8-no-use-cxa-atexit.patch)

Using ino, you can try compiling with:
ino build --cppflags="-fno-use-cxa-atexit -ffunction-sections -fdata-sections -g -Os -w"

@drevilt, a more permanent solution would be to apply a patch (like https://github.com/maharifu/ino/commit/e5be3c6779892514cf8fc491ed927d36f292a2f9). Nevertheless, I'll raise the issue upstream.

drevilt commented on 2014-06-13 14:58

have you tried the ino-git package ?

thiagodrv commented on 2014-06-01 04:04

I have the following error when I try to compile any program with a String declaration:

.build/uno/src/sketch.o: In function `_GLOBAL__sub_I_teste':
/home/thiago/teste_teclado/src/sketch.ino:1: undefined reference to `__dso_handle'
/home/thiago/teste_teclado/src/sketch.ino:1: undefined reference to `__dso_handle'
/home/thiago/teste_teclado/src/sketch.ino:1: undefined reference to `__cxa_atexit'
/usr/bin/avr-ld: .build/uno/firmware.elf: hidden symbol `__dso_handle' isn't defined
/usr/bin/avr-ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
.build/uno/Makefile:178: recipe for target '.build/uno/firmware.elf' failed
make: *** [.build/uno/firmware.elf] Error 1
Make failed with code 2

If I try to compile with Arduino GUI it goes OK. If I try to compile with the ino installed in a Fedora computer, it goes OK also. What makes me think the bug is in this package?

drevilt commented on 2014-04-19 15:05

great, thanks for the patch chmue.

i agree with you on the avrdude package, but i dont think this is going to change :(

chmue commented on 2014-04-18 20:26

@drevilt yes, it is a dependency.

I made a patch that fixes the problem enteenteente describes and updated the pkgbuild. The resulting files are there: https://gist.github.com/chmue/11062670

But imo the real culprit is the avrdude package. Since it is non-essential it should install its config file to /etc/avrdude/avrdude.conf. Then ino would find it without the patch.