Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738668 - sys-apps/smartmontools: failure in postinst when ROOT is set
Summary: sys-apps/smartmontools: failure in postinst when ROOT is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-23 07:50 UTC by Ashley Skye
Modified: 2020-08-23 11:37 UTC (History)
0 users

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


Attachments
Build Log (build.log,1.22 KB, text/x-log)
2020-08-23 07:50 UTC, Ashley Skye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley Skye 2020-08-23 07:50:32 UTC
Created attachment 656318 [details]
Build Log

The smartmontools ebuilds copy the drivedb.h file in the postinst phase, but use EPREFIX instead of EROOT which causes failures when setting ROOT.

Using EROOT instead fixes the issue.
Comment 1 Larry the Git Cow gentoo-dev 2020-08-23 11:37:52 UTC
The bug has been closed via the following commit(s):

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

commit 2e24c2f37fc512bcfcf2c35b2a6eaa90f14dcd41
Author:     Steven Johnson <steven.gregory.johnson@gmail.com>
AuthorDate: 2020-08-23 08:02:44 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-23 11:36:36 +0000

    sys-apps/smartmontools: use EROOT instead of EPREFIX in postinst
    
    Closes: https://bugs.gentoo.org/738668
    Closes: https://github.com/gentoo/gentoo/pull/17229
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Steven Johnson <steven.gregory.johnson@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 ++--
 sys-apps/smartmontools/smartmontools-7.1.ebuild    | 4 ++--
 sys-apps/smartmontools/smartmontools-9999.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)