Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created February 18, 2018 13:35
Show Gist options
  • Save anonymous/13c4f0a76e37003c22947a46077b3674 to your computer and use it in GitHub Desktop.
Save anonymous/13c4f0a76e37003c22947a46077b3674 to your computer and use it in GitHub Desktop.
current directory: /Library/Ruby/Gems/2.3.0/gems/glib2-3.2.1/ext/glib2
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180218-9309-1ii3qv4.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... yes
checking for -Wunsafe-loop-optimizations option to compiler... no
checking for -Wwrite-strings option to compiler... yes
checking for Windows... no
checking for gobject-2.0 version (>= 2.12.0)... yes
checking for gthread-2.0... yes
checking for unistd.h... yes
checking for io.h... no
checking for g_spawn_close_pid() in glib.h... no
checking for g_thread_init() in glib.h... no
checking for g_main_depth() in glib.h... no
checking for g_listenv() in glib.h... no
checking for rb_check_array_type() in ruby.h... yes
checking for rb_check_hash_type() in ruby.h... yes
checking for rb_exec_recursive() in ruby.h... yes
checking for rb_errinfo() in ruby.h... yes
checking for rb_thread_call_without_gvl() in ruby.h... yes
checking for ruby_native_thread_p() in ruby.h... yes
checking for rb_thread_call_with_gvl() in ruby.h... yes
checking for rb_gc_register_mark_object() in ruby.h... yes
checking for rb_exc_new_str() in ruby.h... yes
checking for rb_enc_str_new_static() in ruby.h... yes
checking for curr_thread in ruby.h,node.h... no
checking for rb_curr_thread in ruby.h,node.h... no
creating ruby-glib2.pc
creating glib-enum-types.c
creating glib-enum-types.h
creating Makefile
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/glib2-3.2.1/mkmf.log
current directory: /Library/Ruby/Gems/2.3.0/gems/glib2-3.2.1/ext/glib2
make "DESTDIR=" clean
current directory: /Library/Ruby/Gems/2.3.0/gems/glib2-3.2.1/ext/glib2
make "DESTDIR="
compiling rbgobj_signal.c
rbgobj_signal.c:413:5: warning: 'g_value_array_append' is deprecated [-Wdeprecated-declarations]
g_value_array_append(arg->instance_and_params, &param);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:79:1: note: 'g_value_array_append' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:424:13: warning: 'g_value_array_append' is deprecated [-Wdeprecated-declarations]
g_value_array_append(arg->instance_and_params, &param);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:79:1: note: 'g_value_array_append' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:454:5: warning: 'g_value_array_free' is deprecated [-Wdeprecated-declarations]
g_value_array_free(arg->instance_and_params);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:69:1: note: 'g_value_array_free' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:486:31: warning: 'g_value_array_new' is deprecated [-Wdeprecated-declarations]
arg.instance_and_params = g_value_array_new(1 + arg.query.n_params);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:66:1: note: 'g_value_array_new' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:642:31: warning: 'g_value_array_new' is deprecated [-Wdeprecated-declarations]
arg.instance_and_params = g_value_array_new(1 + argc);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:66:1: note: 'g_value_array_new' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
5 warnings generated.
In file included from rbgobj_signal.c:23:
In file included from ./rbgprivate.h:24:
In file included from ./rbgobject.h:26:
In file included from /usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib-object.h:23:
In file included from /usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gbinding.h:28:
In file included from /usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib.h:30:
In file included from /usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/galloca.h:32:
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gtypes.h:423:3: error: '_GStaticAssertCompileTimeAssertion_0' declared as an array with a negative size
G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:232:103: note: expanded from macro 'G_STATIC_ASSERT'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^~~~~~~~~~~~~~~
rbgobj_signal.c:413:5: warning: 'g_value_array_append' is deprecated [-Wdeprecated-declarations]
g_value_array_append(arg->instance_and_params, &param);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:79:1: note: 'g_value_array_append' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:424:13: warning: 'g_value_array_append' is deprecated [-Wdeprecated-declarations]
g_value_array_append(arg->instance_and_params, &param);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:79:1: note: 'g_value_array_append' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:454:5: warning: 'g_value_array_free' is deprecated [-Wdeprecated-declarations]
g_value_array_free(arg->instance_and_params);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:69:1: note: 'g_value_array_free' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:486:31: warning: 'g_value_array_new' is deprecated [-Wdeprecated-declarations]
arg.instance_and_params = g_value_array_new(1 + arg.query.n_params);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:66:1: note: 'g_value_array_new' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
rbgobj_signal.c:642:31: warning: 'g_value_array_new' is deprecated [-Wdeprecated-declarations]
arg.instance_and_params = g_value_array_new(1 + argc);
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/gobject/gvaluearray.h:66:1: note: 'g_value_array_new' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_32_FOR(GArray)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gversionmacros.h:323:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32_FOR'
# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:423:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:396:29: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) G_DEPRECATED
^
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:384:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
5 warnings and 1 error generated.
make: *** [rbgobj_signal.o] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment