| Summary: | app-backup/amanda-3.5.1-r2: Failed to pass root argument to amanda_permissions_fix! | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christopher Head <bugs> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jsmolic, lists, proxy-maint, sam, scott |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://github.com/gentoo/gentoo/pull/18871 https://github.com/gentoo/gentoo/pull/18872 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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(-) |
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.