https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48076b8ca205364318b89f183f331af0d757bfac commit 48076b8ca205364318b89f183f331af0d757bfac Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2019-11-03 22:08:36 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2019-11-03 22:08:51 +0000 net-im/mattermost-desktop-bin: fix dosym "Fix" was incorrect: - dosym "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" + dosym "../../opt/${MY_PN}/${MY_PN}" "${EROOT}/usr/bin/${MY_PN}" Using ${ROOT} or ${EROOT} (in any way in src_* phases) results in broken binary packages when different values of ${ROOT} are used. dosym internally prepends ${ED%/} to second path (symbolic link itself) when calling ln. The following command would create a correct, relative symbolic link: dosym "../../opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" (Although quotes are not required here...)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d4ad096771180bee110d1c8d90c435e38a98bd commit 46d4ad096771180bee110d1c8d90c435e38a98bd Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2019-11-06 20:27:32 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2019-11-06 20:27:44 +0000 net-im/mattermost-desktop-bin: fix unneeded eroor Fixes: https://bugs.gentoo.org/699472 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)