After install, the symlink points to: # ls -l /usr/share/arduino/arduino-builder lrwxrwxrwx 1 root root 28 mar 15 16:29 /usr/share/arduino/arduino-builder -> ../../../bin/arduino-builder # ls -l /usr/share/arduino/../../../bin/arduino-builder ls: cannot access '/usr/share/arduino/../../../bin/arduino-builder': No such file or directory The correct path contains only 2 ".." # ls -l /usr/share/arduino/../../bin/arduino-builder -rwxr-xr-x 1 root root 13972853 mar 15 16:26 /usr/share/arduino/../../bin/arduino-builder Reproducible: Always
I worked around this using cd /usr/share/arduino rm arduino-builder;ln -s ../../bin/arduino-builder But clearly it would be better if the symlink were correct at install time.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98546fd3b510fa250336ee2ee947af0d925d201 commit f98546fd3b510fa250336ee2ee947af0d925d201 Author: Marcin Deranek <marcin.deranek@booking.com> AuthorDate: 2020-04-29 18:33:34 +0000 Commit: Matthias Schwarzott <zzam@gentoo.org> CommitDate: 2020-06-30 03:52:25 +0000 dev-embedded/arduino: Fix broken arduino-builder symlink Closes: https://bugs.gentoo.org/712742 Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Closes: https://github.com/gentoo/gentoo/pull/15569 Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> dev-embedded/arduino/arduino-1.8.5-r2.ebuild | 2 +- dev-embedded/arduino/arduino-1.8.7.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 720686 has been marked as a duplicate of this bug. ***