Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596276 - net-misc/connman[policykit]: broken sys-auth/polkit detection
Summary: net-misc/connman[policykit]: broken sys-auth/polkit detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nvinson234
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 16:49 UTC by Coacher
Modified: 2016-10-11 12:37 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 Coacher 2016-10-05 16:49:20 UTC
Hello.

connman runs '$PKG_CONFIG --variable=actiondir polkit' to find the installed polkit[1]. sys-auth/polkit doesn't provide this .pc file and neither does upstream[2]. Thus I see the following message during configure even though polkit is installed:

Package polkit was not found in the pkg-config search path.
Perhaps you should add the directory containing `polkit.pc'
to the PKG_CONFIG_PATH environment variable
No package 'polkit' found

connman should probe polkit-gobject-1 instead. Solution:

sed -i -e '/actiondir/s/polkit/polkit-gobject-1/' configure.ac || die

Please fix.

P.S. You have virtual/pkgconfig missing from DEPEND.


[1]: https://git.kernel.org/cgit/network/connman/connman.git/tree/configure.ac#n309
[2]: https://cgit.freedesktop.org/polkit/tree/data
Comment 1 Yixun Lan archtester gentoo-dev 2016-10-11 08:07:07 UTC
hi, coacher, your point make sense here!

I assume @nvinson234 will fix this along with bug 596270, let's give him a few time...