Summary: | rebar.eclass: Support EAPI-7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
Component: | Eclasses | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=637862 https://github.com/gentoo/gentoo/pull/20424 https://github.com/gentoo/gentoo/pull/37129 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 770247 |
Description
Andreas Sturmlechner
![]() The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee6937e6219f250559ee26eb64e5991b27cd289 commit 7ee6937e6219f250559ee26eb64e5991b27cd289 Author: Florian Schmaus <flo@geekplace.eu> AuthorDate: 2021-04-10 14:10:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-01 09:35:19 +0000 rebar.eclass: add support for EAPI 7 Thanks To Sam James for reviewing this and providing feedback. Closes: https://bugs.gentoo.org/770283 Signed-off-by: Florian Schmaus <flo@geekplace.eu> Closes: https://github.com/gentoo/gentoo/pull/20424 Signed-off-by: Sam James <sam@gentoo.org> eclass/rebar.eclass | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) Reopening, because that commit broke tests, namely eclass/tests/rebar_fix_include_path.sh. The problem is that "${EPREFIX%/}/$(get_erl_libs)" (or "${EPREFIX}/$(get_erl_libs)" after a later fixup) is not correct and results in a double slash in the path. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4333a984533c5d42d637f42a388f90b5eb8b856 commit e4333a984533c5d42d637f42a388f90b5eb8b856 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-06-13 18:33:07 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-06-13 18:35:31 +0000 rebar.eclass: Fix EPREFIX and ED usage The path returned by $(get_erl_libs) starts with a slash, so ${EPREFIX}/$(get_erl_libs) resulted in a double slash. Fixes: 7ee6937e6219f250559ee26eb64e5991b27cd289 Closes: https://bugs.gentoo.org/770283 Signed-off-by: Ulrich Müller <ulm@gentoo.org> eclass/rebar.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) |