Bug 48623 - instrospection: compile polkitagent against local polkit-gobject
Summary: instrospection: compile polkitagent against local polkit-gobject
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 14:59 UTC by Alban Browaeys
Modified: 2018-08-20 21:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
instrospection: compile polkitagent against local polkit-gobject (936 bytes, patch)
2012-04-12 14:59 UTC, Alban Browaeys
Details | Splinter Review

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.