app-text/libetonyek-0.1.8 works with mdds-1.4 , but the ebuild has mdds-1.2 hardcoded. Reproducible: Always Steps to Reproduce: I have dev-util/mdds-1.4.2 installed, and I am trying to install app-text/libetonyek-0.1.8 as a dependency of libreoffice. Actual Results: ... checking for boost/variant/variant.hpp... yes checking for glm/glm.hpp... yes checking for mdds-1.2... no configure: error: Package requirements (mdds-1.2) were not met: No package 'mdds-1.2' found If I modify the ebuild to hardcode mdds-1.4 , then libetonyek compiles without problems. Maybe pkg-config could be used to detect the correct version ?
Your report does not make sense. -) The ebuild has >=dev-util/mdds-1.2.2:1 (so there is no version limit) -) Your error comes from the package build system, and no change in ebuild deps is going to do anything about that Why do you want to install mdds-1.4 that is hardmasked for very good reasons?
s/hardmasked/not keyworded/
Ah, I see what you mean - the configure switch. We could make that dynamic using has_version, or check whether it is still necessary to be set. Can you try if simply removing the API version setting makes it build?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2d783f73499a2dc70660923a08eed98de1ed4b commit be2d783f73499a2dc70660923a08eed98de1ed4b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-10-04 08:48:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-10-04 08:49:00 +0000 app-text/libetonyek: EAPI-7 bump, sddm handling, minor upstream fixes Closes: https://bugs.gentoo.org/667690 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 .../files/libetonyek-0.1.8-no-parentheses.patch | 29 ++++++++++ .../files/libetonyek-0.1.8-typo-fix.patch | 28 ++++++++++ app-text/libetonyek/libetonyek-0.1.8-r1.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 120 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e5380a54f78794b33197c51d4d9ca7f9c12b09 commit 74e5380a54f78794b33197c51d4d9ca7f9c12b09 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-10-04 08:38:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-10-04 08:49:00 +0000 app-text/libetonyek: Relax dev-util/mdds version requirement Make the sddm slot op work by querying x.y info from best_version. Bug: https://bugs.gentoo.org/667690 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 app-text/libetonyek/libetonyek-9999.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)