Skip to content

on linux the Arduino delivered avrdude in toolchains 1.6.16 (for avr) and 1.6.10/11 (for samd) is "broken" #616

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
gagara opened this issue Dec 29, 2016 · 10 comments
Labels
domain: upload OS: linux status: known limitation This is soimething we can live with status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package

Comments

@gagara
Copy link

gagara commented Dec 29, 2016

'avrdude' binary from eclipse plugin has broken dependency on ncurses libtinfo:

$ ldd avrdude 
	linux-vdso.so.1 (0x00007fffb6fc4000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f90f8751000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90f8535000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f90f8239000)
	libtinfo.so.5 => not found
	libc.so.6 => /lib64/libc.so.6 (0x00007f90f7ea0000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f90f8959000)

Plugin version: 3.0.0.201603312133

@jantje
Copy link
Member

jantje commented Dec 30, 2016

I'm missing what you are trying to say.

@gagara
Copy link
Author

gagara commented Dec 30, 2016

I want to say that avrdude library which is packaged into plugin has external dependencies on system libraries, especially on ncurses-5.x. If you don't have it (in my case I have ncurses-6.x installed) then avrdude just not work and you are not able to upload sketch.
The same true for all other libs which ldd shows as dependencies. If some of them are missing in a system then plugin became unusable.

BTW: is there any easy way to configure plugin to use external gcc and avrdude but not that which are packaged in plugin? In older version of plugin it was possible if I'm not mistaken.

@jantje
Copy link
Member

jantje commented Dec 30, 2016

What wazs confusing me:

I want to say that avrdude library which is packaged into plugin

Sloeber does not package a avrdude. The avrdude found at "tools/arduino/avrdude/6.3.0-arduino8/bin" is packaged by arduino.
To be more precise in toolchain 1.6.16 (for avr) and 1.6.10 (for samd)
As to you in llinux (windows works fine for a change ;-) ) this version of avrdude is dependent on a OS installed library. If so the latest arduino IDE should come with this library.
Can you check whether the latest Arduino IDE comes with a good library?

@jantje
Copy link
Member

jantje commented Dec 30, 2016

As to this thread it seems as a real Arduino issue https://bbs.archlinux.org/viewtopic.php?id=221230

@jantje jantje changed the title avrdude from tools/arduino/avrdude/6.3.0-arduino8/bin broken on linux the Arduino delivered avrdude in toolchains 1.6.16 (for avr) and 1.6.10/11 (for samd) is "broken" Dec 30, 2016
@gagara
Copy link
Author

gagara commented Dec 30, 2016

yep. Just checked with latest Arduino-1.8.0. The same issue.

@jantje
Copy link
Member

jantje commented Dec 30, 2016

Thanks for checking.
Did you make an issue in the Arduino github?

@gagara
Copy link
Author

gagara commented Dec 30, 2016

yes. just reported here arduino/Arduino#5783

@jantje
Copy link
Member

jantje commented Dec 31, 2016

txs :-)

@jantje jantje added the status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package label Dec 31, 2016
@jantje
Copy link
Member

jantje commented Jan 5, 2017

The issue moved here arduino/avrdude-build-script#4

@jantje jantje added the status: known limitation This is soimething we can live with label Jan 5, 2017
@jantje
Copy link
Member

jantje commented Jan 5, 2017

Closing as Arduino needs to fix and this version will never be fixed

@jantje jantje closed this as completed Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: upload OS: linux status: known limitation This is soimething we can live with status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package
Projects
None yet
Development

No branches or pull requests

2 participants