SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a feeling these issues are all related, like the session manager or the settings daemon hasn't been started. @clod89 can you provide detail on the system -- -current or 14.0, which architecture, how you are starting MATE (from startx or KDM), is this a full install, etc.?
It's a full install of slackware64 14.0 and I'm starting mate with startx, I'm not quite sure what other details to provide so just ask me and I'll post them
Actually, I'm mostly on 14.0 x86_64 but I can confirm that I also get the list of browsers and can select any of them as my default browser. clod89 - can you list all the mate packages you have installed? ls /var/log/packages/*_msb - and also check "Startup Applications" and see what items are checked and what are unchecked.
Actually, I'm mostly on 14.0 x86_64 but I can confirm that I also get the list of browsers and can select any of them as my default browser. clod89 - can you list all the mate packages you have installed? ls /var/log/packages/*_msb - and also check "Startup Applications" and see what items are checked and what are unchecked.
And this is a list of the startup applications: (some of course I've added them myself)
Blueman Applet
Cairo-dock
Certificate and Key Storage (the mate one)
Fusion-icon
GPG Password Agent (the mate one)
Gsettings Data COnversion
HP System Tray Service
Mate Settings Daemon
Network
PolicyKit Authentication Agent (the mate one)
Power Manager (the mate one)
Print Queue Applet
SSH Key Agent (the mate one)
Screensaver (both, I guess I should leave just the mate one)
Secret Storage Service (the mate one)
Wicd Network Manager Tray
XFCE Volume Daemon (I guess I missed it, didn't want it to start)
EDIT:
that list was only of the checked options,the only unchecked application (besides the alternatives to the mate ones, which are the gnome equivalent) is Xfsettingsd but I don't it matters.
clod89 - for the preferred applications thing - try logging out, backing up your ~/.local so there is no .local (it will be created), and then log in and check the preferred applications app.
clod89 - for the preferred applications thing - try logging out, backing up your ~/.local so there is no .local (it will be created), and then log in and check the preferred applications app.
Nope it didn't work, there's still the same issue.
i would go with backing up .local, .config, and .cache and delete those directories
I've tried that too for good measure, I'm trying to solve the issue with chess via email not to clog the thread, if a solution is found I'll make sure to post it.
If you have any ideas please PM me I'll give you my email address. :-)
I'm running Slackware64-current on my box. I updated my box to gcc-4.8.0 yesterday and tried to build mate using Chess' build scripts. The build stops at libunique, throwing the following errors:
Code:
make[3]: Entering directory `/tmp/msb/libunique-1.1.6/unique'
Making all in bacon
make[4]: Entering directory `/tmp/msb/libunique-1.1.6/unique/bacon'
CC libunique_bacon_la-uniquebackend-bacon.lo
CC libunique_bacon_la-uniquefactory-bacon.lo
CC libunique_bacon_la-uniquemessage-bacon.lo
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/glib/gprintf.h:23,
from /usr/include/glib-2.0/glib/gstdio.h:24,
from uniquefactory-bacon.c:38:
uniquefactory-bacon.c: In function 'unique_factory_bacon_get_type':
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/glib/gprintf.h:23,
from /usr/include/glib-2.0/glib/gstdio.h:24,
from uniquebackend-bacon.c:41:
uniquebackend-bacon.c: In function 'unique_backend_bacon_get_type':
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:234:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquefactory-bacon.c:47:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueFactoryBacon, unique_factory_bacon, G_TYPE_OBJECT);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_1' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/glib/gthread.h:236:7: note: in expansion of macro 'g_atomic_pointer_get'
(!g_atomic_pointer_get (location) && \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquefactory-bacon.c:47:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueFactoryBacon, unique_factory_bacon, G_TYPE_OBJECT);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_2' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:241:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1477:7: note: in expansion of macro 'g_once_init_leave'
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:117: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_END'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquefactory-bacon.c:47:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueFactoryBacon, unique_factory_bacon, G_TYPE_OBJECT);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:234:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_1' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/glib/gthread.h:236:7: note: in expansion of macro 'g_atomic_pointer_get'
(!g_atomic_pointer_get (location) && \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_2' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:241:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1477:7: note: in expansion of macro 'g_once_init_leave'
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:117: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_END'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
cc1: all warnings being treated as errors
make[4]: *** [libunique_bacon_la-uniquefactory-bacon.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[4]: *** [libunique_bacon_la-uniquebackend-bacon.lo] Error 1
make[4]: Leaving directory `/tmp/msb/libunique-1.1.6/unique/bacon'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/msb/libunique-1.1.6/unique'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/msb/libunique-1.1.6/unique'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/msb/libunique-1.1.6'
make: *** [all] Error 2
make all-recursive
make[1]: Entering directory `/tmp/msb/libunique-1.1.6'
Making all in build
make[2]: Entering directory `/tmp/msb/libunique-1.1.6/build'
Making all in autotools
make[3]: Entering directory `/tmp/msb/libunique-1.1.6/build/autotools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/msb/libunique-1.1.6/build/autotools'
make[3]: Entering directory `/tmp/msb/libunique-1.1.6/build'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/msb/libunique-1.1.6/build'
make[2]: Leaving directory `/tmp/msb/libunique-1.1.6/build'
Making all in unique
make[2]: Entering directory `/tmp/msb/libunique-1.1.6/unique'
make all-recursive
make[3]: Entering directory `/tmp/msb/libunique-1.1.6/unique'
Making all in bacon
make[4]: Entering directory `/tmp/msb/libunique-1.1.6/unique/bacon'
CC libunique_bacon_la-uniquebackend-bacon.lo
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/glib/gprintf.h:23,
from /usr/include/glib-2.0/glib/gstdio.h:24,
from uniquebackend-bacon.c:41:
uniquebackend-bacon.c: In function 'unique_backend_bacon_get_type':
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:234:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_1' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/glib/gthread.h:236:7: note: in expansion of macro 'g_atomic_pointer_get'
(!g_atomic_pointer_get (location) && \
^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
if (g_once_init_enter (&g_define_type_id__volatile)) \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_2' locally defined but not used [-Werror=unused-local-typedefs]
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
^
/usr/include/glib-2.0/glib/gthread.h:241:5: note: in expansion of macro 'G_STATIC_ASSERT'
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
^
/usr/include/glib-2.0/gobject/gtype.h:1477:7: note: in expansion of macro 'g_once_init_leave'
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
^
/usr/include/glib-2.0/gobject/gtype.h:1387:117: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_END'
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
^
uniquebackend-bacon.c:72:1: note: in expansion of macro 'G_DEFINE_TYPE'
G_DEFINE_TYPE (UniqueBackendBacon, unique_backend_bacon, UNIQUE_TYPE_BACKEND);
^
cc1: all warnings being treated as errors
make[4]: *** [libunique_bacon_la-uniquebackend-bacon.lo] Error 1
make[4]: Leaving directory `/tmp/msb/libunique-1.1.6/unique/bacon'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/msb/libunique-1.1.6/unique'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/msb/libunique-1.1.6/unique'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/msb/libunique-1.1.6'
make: *** [all] Error 2
I did a search on the phrase "error: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Werror=unused-local-typedefs]" using our "friend Google." It turns out that gcc-4.8.0 breaks some stuff involving glib-2.0, as there are reports in Debian's bug tracker about this issue, though involving a different package (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701458). Perhaps the Slack-current glib-2.0 package may need to be rebuilt against gcc-4.8.0? Just wondering...
Running slack64-current (March 28) here with gcc 4.8.0 multilib (thanks Alien Bob) and I have the same issue compiling libunique. I've tried looking at Arch and Gentoo to see if they have a patch but to no avail.
I have recompiled glib2-2.34.3 with gcc 4.8.0 here but it doesn't seem to help the situation. Luckily I have an older libunique that I compiled last weekend, so I can still build MATE desktop with it.
Running slack64-current (March 28) here with gcc 4.8.0 multilib (thanks Alien Bob) and I have the same issue compiling libunique. I've tried looking at Arch and Gentoo to see if they have a patch but to no avail.
I have recompiled glib2-2.34.3 with gcc 4.8.0 here but it doesn't seem to help the situation. Luckily I have an older libunique that I compiled last weekend, so I can still build MATE desktop with it.
I grabbed glib-2.36.0 from the GNOME ftp site and built it against slack64-current and gcc-4.8.0. libunique built correctly against gcc-4.8.0 using glib2-2.36.0. Maybe it's time for Patrick to bump glib2 to version 2.36.0? ;-)
Edit: Yep, that seems to fix the issue(s) introduced with the upgrade to gcc 4.8.0. Now if I can just figure out why I keep getting "../unique/.libs/libunique-1.0.so: undefined reference to `unique_backend_gdbus_get_type'" when the symbol definitely exists in the shared library it's trying to link...
Thanks - I'm going to check this out. The MATE scripts are building and working fine on my current install but I have not yet pulled in the updates from the other day. I'll do that and try the build too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.