The sed in src_configure() that is supposed to prevent the version from showing as UNKNOWN does not do its job. The problem can be avoided, however, by simply setting BEES_VERSION="${PV}" instead, which is the method intended by upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1fecb799fb6ebc49733d80a398345e2d5f1166 commit 6a1fecb799fb6ebc49733d80a398345e2d5f1166 Author: Kai Krakow <kai@kaishome.de> AuthorDate: 2018-11-18 15:21:28 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-06-18 05:40:04 +0000 sys-fs/bees: Bump to v0.6.1 This removes the quickfix in the ebuild and should fix a compiler problem linked below. Closes: https://bugs.gentoo.org/670606 Closes: https://bugs.gentoo.org/686976 Closes: https://bugs.gentoo.org/686978 Closes: https://bugs.gentoo.org/687978 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Kai Krakow <kai@kaishome.de> Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-fs/bees/Manifest | 1 + sys-fs/bees/bees-0.6.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+)