Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770283 - rebar.eclass: Support EAPI-7
Summary: rebar.eclass: Support EAPI-7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: EAPI6Removal
  Show dependency tree
 
Reported: 2021-02-12 22:56 UTC by Andreas Sturmlechner
Modified: 2024-06-13 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2021-02-12 22:56:48 UTC
Please add support for EAPI-7.
Comment 1 Larry the Git Cow gentoo-dev 2021-06-01 09:35:54 UTC
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(-)
Comment 2 Ulrich Müller gentoo-dev 2024-06-12 10:00:47 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-13 18:35:42 UTC
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(-)