Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666942 - net-mail/mailbase-1.4: Incorrect conversion to EAPI="7"
Summary: net-mail/mailbase-1.4: Incorrect conversion to EAPI="7"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-24 04:16 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-09-25 05:29 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 Arfrever Frehtes Taifersar Arahesis 2018-09-24 04:16:37 UTC
${D}, ${ED}, ${ROOT} and ${EROOT} no longer end with "/" in EAPI="7".

net-mail/mailbase-1.4 (added in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dfcab1a044ef30c8bc4f3c9b739446be2f65084) contains the following faulty code:

pkg_postinst() {
        # bug 614396
        if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
                einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
                chown root:mail "${ROOT}var/spool/mail/"
                chmod 03775 "${ROOT}var/spool/mail/"
        fi
}

Each ${ROOT}var should be changed to ${ROOT}/var

During installation, currently the following can be seen:

 * Fixing var/spool/mail/ permissions
chown: cannot access 'var/spool/mail/': No such file or directory
chmod: cannot access 'var/spool/mail/': No such file or directory
Comment 1 Larry the Git Cow gentoo-dev 2018-09-25 05:29:07 UTC
The bug has been closed via the following commit(s):

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

commit ceb8405e2422b24627a1badfdad48bcb1ec4cd39
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2018-09-25 05:28:46 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2018-09-25 05:28:46 +0000

    net-mail/mailbase: EAPI7: ROOT does not end in /
    
    Closes: https://bugs.gentoo.org/666942
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-mail/mailbase/mailbase-1.5.ebuild | 67 +++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)