When I run ./jb configure it errors out with the following messages:

Bug #1634701 reported by Robert Weir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mail Notification
New
Undecided
Unassigned

Bug Description

The following occurs when I try to run ./jb configure ---->
me@ACER mail-notification-5.4]$ ./jb configure
building jb...
jbsrc/lib/src/core/jb-main.c: In function ‘jb_main’:
jbsrc/lib/src/core/jb-main.c:164:3: error: ‘g_type_init’ is deprecated [-Werror=deprecated-declarations]
   g_type_init();
   ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from jbsrc/lib/src/core/jb-variable.h:26,
                 from jbsrc/lib/src/core/jb-main.c:25:
/usr/include/glib-2.0/gobject/gtype.h:681:23: note: declared here
 void g_type_init (void);
                       ^~~~~~~~~~~
cc1: all warnings being treated as errors
jbsrc/lib/src/core/jb-util.c: In function ‘print_warning_or_error’:
jbsrc/lib/src/core/jb-util.c:225:3: error: function might be possible candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
   message = g_strdup_vprintf(format, args);
   ^~~~~~~
cc1: all warnings being treated as errors
ERROR: cannot build jb
[me@ACER mail-notification-5.4]$
    <-----

Robert Weir (robertweir)
summary: - When I run ./jb configure it errors out with the following
- messages:me@ACER mail-notification-5.4]$ ./jb configure building jb...
- jbsrc/lib/src/core/jb-main.c: In function ‘jb_main’:
- jbsrc/lib/src/core/jb-main.c:164:3: error: ‘g_type_init’ is deprecated
- [-Werror=deprecated-declarations] g_type_init(); ^~~~~~~~~~~ In
- file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
- from /usr/include/glib-2.0/gobject/gbinding.h:29, from
- /usr/include/glib-2.0/glib-object.h:23, from
- jbsrc/lib/src/core/jb-variable.h:26, from
- jbsrc/lib/src/core/jb-main.c:25:
- /usr/include/glib-2.0/gobject/gtype.h:681:23: note: declared here void
- g_type_init (void);
- ^~~~~~~~~~~ cc1: all warnings being treated as errors
- jbsrc/lib/src/core/jb-util.c: In function ‘print_warning_or_error’:
- jbsrc/lib/src/core/jb-util.c:225:3: error: function might be possible
- candidate for ‘gnu_printf’ format attribute [-Werror=suggest-
- attribute=format] message = g_strdup_vprintf(format, args);
- ^~~~~~~ cc1: all warnings being treated as errors ERROR: cannot build jb
- [me@ACER mail-notification-5.4]$
+ When I run ./jb configure it errors out with the following messages:
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.