{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/83","labels_url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/83/comments","events_url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/83/events","html_url":"https://github.com/mate-desktop/mate-session-manager/issues/83","id":74671554,"number":83,"title":"mate-session-manager-1.10 build breaks with upower-0.9.17","user":{"login":"willysr","id":240100,"avatar_url":"https://avatars.githubusercontent.com/u/240100?v=3","gravatar_id":"","url":"https://api.github.com/users/willysr","html_url":"https://github.com/willysr","followers_url":"https://api.github.com/users/willysr/followers","following_url":"https://api.github.com/users/willysr/following{/other_user}","gists_url":"https://api.github.com/users/willysr/gists{/gist_id}","starred_url":"https://api.github.com/users/willysr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willysr/subscriptions","organizations_url":"https://api.github.com/users/willysr/orgs","repos_url":"https://api.github.com/users/willysr/repos","events_url":"https://api.github.com/users/willysr/events{/privacy}","received_events_url":"https://api.github.com/users/willysr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-09T13:19:35Z","updated_at":"2015-05-10T17:03:21Z","closed_at":"2015-05-10T17:03:21Z","body":"Hi,\r\n\r\nI'm trying to build mate-session-manager-1.10 for Slackware that comes with upower-0.9.17 and it failed\r\n\r\nIn file included from gsm-logout-dialog.c:31:0:\r\n/usr/include/libupower-glib/upower.h:1:1: warning: null character(s) ignored [enabled by default]\r\ngsm-logout-dialog.c:62:9: error: unknown type name 'UpClient'\r\n         UpClient            *up_client;\r\n         ^\r\ngsm-logout-dialog.c: In function 'gsm_logout_dialog_init':\r\ngsm-logout-dialog.c:160:9: warning: implicit declaration of function 'up_client_new' [-Wimplicit-function-declaration]\r\n         logout_dialog->priv->up_client = up_client_new ();\r\n         ^\r\ngsm-logout-dialog.c:160:9: warning: nested extern declaration of 'up_client_new' [-Wnested-externs]\r\ngsm-logout-dialog.c:160:40: warning: assignment makes pointer from integer without a cast [enabled by default]\r\n         logout_dialog->priv->up_client = up_client_new ();\r\n                                        ^\r\ngsm-logout-dialog.c: In function 'gsm_logout_supports_system_suspend':\r\ngsm-logout-dialog.c:222:9: warning: implicit declaration of function 'up_client_get_can_suspend' [-Wimplicit-function-declaration]\r\n         ret = up_client_get_can_suspend (logout_dialog->priv->up_client);\r\n         ^\r\ngsm-logout-dialog.c:222:9: warning: nested extern declaration of 'up_client_get_can_suspend' [-Wnested-externs]\r\ngsm-logout-dialog.c: In function 'gsm_logout_supports_system_hibernate':\r\ngsm-logout-dialog.c:240:9: warning: implicit declaration of function 'up_client_get_can_hibernate' [-Wimplicit-function-declaration]\r\n         ret = up_client_get_can_hibernate (logout_dialog->priv->up_client);\r\n         ^\r\ngsm-logout-dialog.c:240:9: warning: nested extern declaration of 'up_client_get_can_hibernate' [-Wnested-externs]\r\nmake[3]: *** [mate_session-gsm-logout-dialog.o] Error 1\r\nmake[3]: *** Waiting for unfinished jobs....\r\nmake[3]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\nmake[2]: *** [all] Error 2\r\nmake[2]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0'\r\nmake: *** [all] Error 2\r\nmake  all-recursive\r\nmake[1]: Entering directory `/tmp/msb/mate-session-manager-1.10.0'\r\nMaking all in egg\r\nmake[2]: Entering directory `/tmp/msb/mate-session-manager-1.10.0/egg'\r\nmake[2]: Nothing to be done for `all'.\r\nmake[2]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0/egg'\r\nMaking all in mate-session\r\nmake[2]: Entering directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\nmake  all-am\r\nmake[3]: Entering directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\n  CCLD     libgsmutil.la\r\n  CC       mate_session-gsm-logout-dialog.o\r\nIn file included from gsm-logout-dialog.c:31:0:\r\n/usr/include/libupower-glib/upower.h:1:1: warning: null character(s) ignored [enabled by default]\r\ngsm-logout-dialog.c:62:9: error: unknown type name 'UpClient'\r\n         UpClient            *up_client;\r\n         ^\r\ngsm-logout-dialog.c: In function 'gsm_logout_dialog_init':\r\ngsm-logout-dialog.c:160:9: warning: implicit declaration of function 'up_client_new' [-Wimplicit-function-declaration]\r\n         logout_dialog->priv->up_client = up_client_new ();\r\n         ^\r\ngsm-logout-dialog.c:160:9: warning: nested extern declaration of 'up_client_new' [-Wnested-externs]\r\ngsm-logout-dialog.c:160:40: warning: assignment makes pointer from integer without a cast [enabled by default]\r\n         logout_dialog->priv->up_client = up_client_new ();\r\n                                        ^\r\ngsm-logout-dialog.c: In function 'gsm_logout_supports_system_suspend':\r\ngsm-logout-dialog.c:222:9: warning: implicit declaration of function 'up_client_get_can_suspend' [-Wimplicit-function-declaration]\r\n         ret = up_client_get_can_suspend (logout_dialog->priv->up_client);\r\n         ^\r\ngsm-logout-dialog.c:222:9: warning: nested extern declaration of 'up_client_get_can_suspend' [-Wnested-externs]\r\ngsm-logout-dialog.c: In function 'gsm_logout_supports_system_hibernate':\r\ngsm-logout-dialog.c:240:9: warning: implicit declaration of function 'up_client_get_can_hibernate' [-Wimplicit-function-declaration]\r\n         ret = up_client_get_can_hibernate (logout_dialog->priv->up_client);\r\n         ^\r\ngsm-logout-dialog.c:240:9: warning: nested extern declaration of 'up_client_get_can_hibernate' [-Wnested-externs]\r\nmake[3]: *** [mate_session-gsm-logout-dialog.o] Error 1\r\nmake[3]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\nmake[2]: *** [all] Error 2\r\nmake[2]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0/mate-session'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/tmp/msb/mate-session-manager-1.10.0'\r\nmake: *** [all] Error 2\r\n\r\ni can use --disable-upower, but it will create another problem when building mate-power-manager"},"comment":{"url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/comments/100668627","html_url":"https://github.com/mate-desktop/mate-session-manager/issues/83#issuecomment-100668627","issue_url":"https://api.github.com/repos/mate-desktop/mate-session-manager/issues/83","id":100668627,"user":{"login":"willysr","id":240100,"avatar_url":"https://avatars.githubusercontent.com/u/240100?v=3","gravatar_id":"","url":"https://api.github.com/users/willysr","html_url":"https://github.com/willysr","followers_url":"https://api.github.com/users/willysr/followers","following_url":"https://api.github.com/users/willysr/following{/other_user}","gists_url":"https://api.github.com/users/willysr/gists{/gist_id}","starred_url":"https://api.github.com/users/willysr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willysr/subscriptions","organizations_url":"https://api.github.com/users/willysr/orgs","repos_url":"https://api.github.com/users/willysr/repos","events_url":"https://api.github.com/users/willysr/events{/privacy}","received_events_url":"https://api.github.com/users/willysr/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T17:03:21Z","updated_at":"2015-05-10T17:03:21Z","body":"turns out to be a corrupted header file.."}}