Opened 2 years ago

Last modified 6 months ago

#65970 assigned defect

gnome-settings-daemon @3.26.2_6 build failure with current glib2

Reported by: ensismoebius (André Furlan) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: ensismoebius@…, mascguy (Christopher Nielsen), cooljeanius (Eric Gallager)
Port: gnome-settings-daemon

Description

sudo port install gnome-settings-daemon

Fails, probably by the 404 error on download source

Attachments (1)

main.log (1.3 MB) - added by ensismoebius (André Furlan) 2 years ago.
Log files with the errors

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by ensismoebius (André Furlan)

Attachment: main.log added

Log files with the errors

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: mascguy added
Keywords: gnome-settings-daemon removed
Owner: set to dbevans
Port: gnome-settings-daemon added
Priority: HighNormal
Status: newassigned
Summary: Fail to install gnome-settings-daemongnome-settings-daemon @3.26.2_6 build failure with current glib2
:info:build gsd-disk-space.c:1020:9: error: too few arguments to function call, expected 2, have 1
:info:build         g_clear_pointer (&notification, notify_notification_close);
:info:build         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gmem.h:123:22: note: expanded from macro 'g_clear_pointer'
:info:build       (destroy) (_ptr);                                  \
:info:build       ~~~~~~~~~      ^
:info:build /opt/local/include/libnotify/notification.h:184:21: note: 'notify_notification_close' declared here
:info:build gboolean            notify_notification_close                 (NotifyNotification *notification,
:info:build                     ^

comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 6 months ago by barracuda156

For me it fails here:

FAILED: plugins/print-notifications/gsd-print-notifications 
/usr/bin/gcc-4.2  -o plugins/print-notifications/gsd-print-notifications plugins/print-notifications/gsd-print-notifications.p/gsd-print-notifications-manager.c.o plugins/print-notifications/gsd-print-notifications.p/main.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc -Wl,-rpath,@loader_path/../../gnome-settings-daemon gnome-settings-daemon/libgsd.dylib -weak_framework Kerberos -framework CoreFoundation -framework Security -lpthread -framework SystemConfiguration -framework CoreFoundation -lcups -lz -lresolv /opt/local/lib/libgtk-3.dylib /opt/local/lib/libgdk-3.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libharfbuzz.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libcairo-gobject.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libnotify.dylib
Undefined symbols:
  "_cupsSetPasswordCB2", referenced from:
      _gsd_print_notifications_manager_start_idle in gsd-print-notifications-manager.c.o
ld: symbol(s) not found
Note: See TracTickets for help on using tickets.