Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922490 - dev-cpp/sdbus-c++: wrong Require in pc file for sys-auth/elogind breaking using sdbus-c++ through pkgconfig
Summary: dev-cpp/sdbus-c++: wrong Require in pc file for sys-auth/elogind breaking usi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-19 12:02 UTC by Alfred Wingate
Modified: 2024-01-30 23:22 UTC (History)
2 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 Alfred Wingate 2024-01-19 12:02:26 UTC
sys-auth/elogind installs libelogind.pc while sdbus-c++ now expects elogind.pc.

https://github.com/Kistler-Group/sdbus-cpp/commit/1e2d13a04a988afac00929d837354bd4bcc2a450

$ pkg-config --libs sdbus-c++
Package elogind was not found in the pkg-config search path.
Perhaps you should add the directory containing `elogind.pc'
to the PKG_CONFIG_PATH environment variable
Package 'elogind', required by 'sdbus-c++', not found
Comment 1 Alfred Wingate 2024-01-19 12:19:42 UTC
Upstream change appears to an assumption that https://github.com/systemd/systemd/commit/d30d9bf0acbd8dce97299b7485691f6309810da6 was applied to elogind as well.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-30 23:22:09 UTC
The bug has been closed via the following commit(s):

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

commit af4fdba984fe0b5fe9384fed31fcf87a40f7e539
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-01-19 12:43:40 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-01-30 23:20:52 +0000

    dev-cpp/sdbus-c++: fix pkgconfig file
    
    Closes: https://bugs.gentoo.org/922490
    Bug: https://bugs.gentoo.org/917678
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34898
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../files/sdbus-c++-1.4.0-fix-pkgconfig.patch      | 94 ++++++++++++++++++++++
 ...-c++-1.4.0.ebuild => sdbus-c++-1.4.0-r1.ebuild} |  1 +
 2 files changed, 95 insertions(+)