Opened 14 years ago

Closed 13 years ago

#26113 closed defect (fixed)

policykit-gnome 0.9.2 fails to build

Reported by: rrdrake@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: policykit-gnome

Description

I am encountering a build error when installing policykit-gnome (needed by gnome). I uninstalled everything and started over again with the same error.

% sudo port install policykit-gnome
--->  Computing dependencies for policykit-gnome
--->  Configuring policykit-gnome
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for policykit-gnome is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_policykit-gnome/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attached is the build log. The problem seems to be that configure is looking for a polkit-dbus package:

...
:info:configure checking for DBUS_GLIB... yes
:info:configure checking for POLKIT_DBUS... configure: error: Package requirements (polkit-dbus >= 0.9) were not met:
:info:configure 
:info:configure No package 'polkit-dbus' found
...

Looking in /opt/local/lib/pkgconfig, I don't see a *.pc file of the appropriate name and I can't find a macports port of that name either:

% cd /opt/local/lib/pkgconfig/
% ls polkit*
polkit-agent-1.pc	polkit-backend-1.pc	polkit-gobject-1.pc
% port search polkit
polkit-qt @0.9.3 (kde, kde4, security)
    Qt PolicyKit wrapper

So maybe a package dependency is missing or incorrect? Or can the dependency on polkit-dbus be avoided? I'm stumped.

Thanks,

-rich

Attachments (1)

main.log (74.7 KB) - added by rrdrake@… 14 years ago.
Log file contained in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_policykit-gnome/main.log

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by rrdrake@…

Attachment: main.log added

Log file contained in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_policykit-gnome/main.log

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to devans@…

Remember to Cc port maintainers.

comment:2 Changed 13 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Fixed by update to version 0.96 in r70673.

Note: See TracTickets for help on using tickets.