All yarn binaries are installed into /usr/$(get_libdir)/node_modules/yarn/bin However, only a symlink for yarn is created. A symlink for yarnpkg is missing. This applies to all ebuild versions and is important, as, for example, rails applications use yarnpkg instaed of yarn by default. Furthermore, it can be easily fixed by adding: dosym "../$(get_libdir)/node_modules/yarn/bin/yarnpkg" "/usr/bin/yarnpkg" Reproducible: Always
Debian calls it yarnpkg (and only yarnpkg) now: https://unix.stackexchange.com/questions/525600/debian-buster-install-yarnpkg-as-yarn https://packages.debian.org/buster/all/yarnpkg/filelist
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d337711b50715ac7a12eb922b6ce68468853bf1 commit 6d337711b50715ac7a12eb922b6ce68468853bf1 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-12-30 00:12:12 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-12-30 00:19:07 +0000 sys-apps/yarn: Bump to version 1.21.1 Includes yarnpkg symlink for Debian compatibility. Reported-by: Max Magorsch <max@magorsch.de> Closes: https://bugs.gentoo.org/704134 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/yarn/Manifest | 1 + sys-apps/yarn/yarn-1.21.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+)
Thanks!
Thank you for the quick fix!