Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 674780

Summary: sys-apps/man-db: systemd unit files installed outside the prefix
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pass --with-systemdsystemunitdir configure argument

Description Michael Haubenwallner (RETIRED) gentoo-dev 2019-01-07 14:36:55 UTC
While wondering why this didn't show up before, now I have:
 * QA Notice: the following files are outside of the prefix:
 * /lib
 * /lib/systemd
 * /lib/systemd/system
 * /lib/systemd/system/man-db.timer
 * /lib/systemd/system/man-db.service
 * ERROR: sys-apps/man-db-2.8.5::gentoo_prefix failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2019-01-07 14:40:59 UTC
Created attachment 560186 [details, diff]
pass --with-systemdsystemunitdir configure argument
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2019-01-07 14:46:26 UTC
> Created attachment 560186 [details, diff] [details, diff]
> pass --with-systemdsystemunitdir configure argument

ok to push?
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-01-07 14:50:25 UTC
(In reply to Michael Haubenwallner from comment #2)
> > Created attachment 560186 [details, diff] [details, diff] [details, diff]
> > pass --with-systemdsystemunitdir configure argument
> 
> ok to push?

Please proceed. And thanks for the patch.
Comment 4 Mike Gilbert gentoo-dev 2019-01-07 15:55:47 UTC
Please inherit systemd and pass the value of systemd_getsystemunitdir instead.
Comment 5 Larry the Git Cow gentoo-dev 2019-01-07 16:16:22 UTC
The bug has been closed via the following commit(s):

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

commit 405fa921d1a77c25edf63287231f414e22aa7762
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2019-01-07 14:38:10 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2019-01-07 16:07:07 +0000

    sys-apps/man-db: stick systemd unit files inside EPREFIX
    
    Closes: https://bugs.gentoo.org/674780
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>

 sys-apps/man-db/man-db-2.8.5.ebuild | 3 ++-
 sys-apps/man-db/man-db-9999.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)