Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762448 - app-backup/amanda-3.5.1-r2: Failed to pass root argument to amanda_permissions_fix!
Summary: app-backup/amanda-3.5.1-r2: Failed to pass root argument to amanda_permission...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-29 17:59 UTC by Christopher Head
Modified: 2020-12-30 10:26 UTC (History)
5 users (show)

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 Christopher Head 2020-12-29 17:59:35 UTC
Version 3.5.1-r2 ported from EAPI=6 to EAPI=7. Now ROOT no longer has a trailing slash, which results in `amanda_permissions_fix "${ROOT}"` in pkg_postinst being passed an empty string (in the normal native-install case) and dying in the `[ -z "${root}" ]` test on line 475.
Comment 1 Larry the Git Cow gentoo-dev 2020-12-30 10:26:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32620cc5b62c287abc06cc551f564f37a7f9942e

commit 32620cc5b62c287abc06cc551f564f37a7f9942e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-12-30 10:26:01 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-30 10:26:01 +0000

    app-backup/amanda: Clean up ebuild
    
    Closes: https://github.com/gentoo/gentoo/pull/18872
    Closes: https://bugs.gentoo.org/762448
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...anda-3.5.1-r2.ebuild => amanda-3.5.1-r3.ebuild} | 240 ++++++++++-----------
 1 file changed, 116 insertions(+), 124 deletions(-)