Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947256 - dev-util/sysprof-46.0: automagic dependency on systemd
Summary: dev-util/sysprof-46.0: automagic dependency on systemd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-31 05:56 UTC by Eli Schwartz
Modified: 2024-12-31 06:02 UTC (History)
4 users (show)

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 Eli Schwartz gentoo-dev 2024-12-31 05:56:59 UTC
Trivial addition to build system files:

https://github.com/GNOME/sysprof/commit/88d0589fea80307fe8d49a9c4f93ef99cb6a5e8b

Bumped in gentoo via https://github.com/gentoo/gentoo/pull/34771 but no systemd handling was included. This breaks in a few different scenarios, but in particular it means that the Gentoo binhost serves a package with libsystemd.so requirement, that gets installed on openrc systems.

Please be more careful when updating packages! A simple check of the build system diff would have revealed this.
Comment 1 Larry the Git Cow gentoo-dev 2024-12-31 05:59:54 UTC
The bug has been closed via the following commit(s):

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

commit 73a60ab1ebeea720bdbde5c4f5b3ba1a3ed7cf86
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-12-31 00:28:02 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-12-31 05:57:27 +0000

    dev-util/sysprof: fix nastily propagating automagic dep
    
    sysprof 45.0 and on introduce a systemd feature (journald integration)
    which is implemented by depending on libsystemd.so if it is installed at
    the time of building.
    
    https://github.com/GNOME/sysprof/commit/88d0589fea80307fe8d49a9c4f93ef99cb6a5e8b
    
    This dependency was never added during the version bump in ::gentoo. It
    breaks, among other things, binhost caching. Fix by introducing
    USE=systemd support to this package. We use strong blockers to prevent
    systemd from even being installed when src_compile'ing with -systemd,
    since otherwise it genuinely miscompiles. This is probably fine, since
    people using systemd profiles have USE=systemd by default unless they go
    out of their way to unset it, and people with non-systemd profiles
    shouldn't have this USE set at all.
    
    (Note that it's fine to install a binpackage built without systemd
    support, even on a systemd profile.)
    
    Straight to stable, the package nastily breaks on openrc systems and the
    changes are purely to dependency metadata.
    
    Fixes: 29d274e3ecdde94273ddd9f247efa9c5e12dab73
    Fixes: https://github.com/gentoo/gentoo/pull/34771
    Closes: https://bugs.gentoo.org/947256
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-util/sysprof/{sysprof-46.0.ebuild => sysprof-46.0-r1.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)