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

Bug 239573

Summary: sys-auth/policykit-0.9 build error (_pk_debug function not defined)
Product: Gentoo Linux Reporter: virdiq <virdiq>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: ginsu.squirrel
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=17904
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
Patch to rename use of _pk_debug function to polkit_debug

Description virdiq 2008-10-04 17:15:35 UTC
sys-auth/policykit-0.9 from the Gnome 2.24 overlay fails to build for me due to the use of an undefined _pk_debug function in src/polkit/polkit-authorization-db-dummy.c

It appears that they've renamed _pk_debug to polkit_debug, and one instance has been missed during the renaming.

I'm attaching a build log, emerge --info and a proposed patch that appears to work fine (so far) on my system.
Comment 1 virdiq 2008-10-04 17:16:07 UTC
Created attachment 167193 [details]
emerge --info
Comment 2 virdiq 2008-10-04 17:21:50 UTC
Created attachment 167195 [details]
build.log
Comment 3 virdiq 2008-10-04 17:23:09 UTC
Created attachment 167197 [details, diff]
Patch to rename use of _pk_debug function to polkit_debug
Comment 4 virdiq 2008-10-04 17:30:11 UTC
Upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=17904
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-27 21:40:15 UTC
in overlay as 0.9-r1, thanks for reporting.
Comment 6 Walter Meinl 2008-11-29 20:36:15 UTC
(In reply to comment #5)
> in overlay as 0.9-r1, thanks for reporting.
> 

The implementation of the new patches and the updated Manifest for 0.9-r1 are missing:
These are the packages that would be merged, in order:

Calculating dependencies \ * Missing digest for '/usr/local/portage/layman/gnome/sys-auth/policykit/policykit-0.9-r1.ebuild'
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-29 22:09:16 UTC
yes, sorry I forgot to push it :)