Bug 48623

Summary: instrospection: compile polkitagent against local polkit-gobject
Product: PolicyKit Reporter: Alban Browaeys <prahal>
Component: libpolkitAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED MOVED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: instrospection: compile polkitagent against local polkit-gobject

Description Alban Browaeys 2012-04-12 14:59:27 UTC
Created attachment 59876 [details] [review]
instrospection: compile polkitagent against local polkit-gobject

polkitagent gir compilation fails with:

  GISCAN PolkitAgent-1.0.gir
./.libs/libpolkit-agent-1.so: undefined reference to `polkit_authority_register_authentication_agent_with_options_sync'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/prahal/checkout/gnome/polkit/src/polkitagent/tmp-introspectwLciY4/PolkitAgent-1.0', '-export-dynamic', '-O0', '-g', '-Wall', '-Wchar-subscripts', '-Wmissing-declarations', '-Wnested-externs', '-Wpointer-arith', '-Wcast-align', '-Wsign-compare', '-Wformat', '-Wformat-security', '-Wl,--as-needed', '-L/opt/gnome/lib64', '-L/opt/gnome/lib64', '/home/prahal/checkout/gnome/polkit/src/polkitagent/tmp-introspectwLciY4/PolkitAgent-1.0.o', '-L.', 'libpolkit-agent-1.la', '-pthread', '-Wl,--export-dynamic', '-L/opt/gnome/lib64', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']' returned non-zero exit status 1

Attached patch fixes this by adding polkit-gobject to the gir libs.
Comment 1 GitLab Migration User 2018-08-20 21:37:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/40.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.