Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699308 - sys-apps/bolt-0.8 - problems with systemd handling
Summary: sys-apps/bolt-0.8 - problems with systemd handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 16:57 UTC by Ben Kohler
Modified: 2020-01-03 20:42 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 Ben Kohler gentoo-dev 2019-11-04 16:57:04 UTC
I believe there are a few problems with systemd handling in sys-apps/bolt, especially 0.8.

1) The -Dsystemd= option you set in emesonargs doesn't do anything anymore since this commit: https://gitlab.freedesktop.org/bolt/bolt/commit/4f33281c98c92c1592d5810cb1aabca9b9d97ce9

Now it's just detecting presence of systemd (automagically) and using that to decide whether to install units.  Do we need to patch the meson file to set a unitdir directly, not relying on systemd.pc? Not sure.

2) As far as I can see, nothing links to systemd libraries so I don't think the :0= dep is correct.  You may even be able to remove the dep entirely, if we stop relying on systemd.pc to set the unitdir.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-01-03 20:39:09 UTC
not seeing anything in sources that depends on systemd but contrib/bolt.spec.in depends on it :(  I can agree on removing the :0= part at least.  The automagic is annoying if you see a patch for it, let me know :D

BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: systemd
Comment 2 Larry the Git Cow gentoo-dev 2020-01-03 20:42:00 UTC
The bug has been closed via the following commit(s):

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

commit 6870ec497edae69537ca8c54317ef03e91da04ad
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-01-03 20:41:43 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-01-03 20:41:55 +0000

    sys-apps/bolt: simplify systemd dependency
    
    Fixes: https://bugs.gentoo.org/699308
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-apps/bolt/bolt-0.8.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)