* Package: x11-wm/subtle-0.11.3244-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 test userland_GNU xft xrandr xtest * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... * Running unpack phase for all >>> Unpacking subtle-0.11.3244.tar.gz to /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/all >>> Source unpacked in /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work >>> Preparing source in /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work ... * Running configure phase for ruby27 checking for stdio.h... yes checking for stdlib.h... yes checking for stdarg.h... yes checking for string.h... yes checking for unistd.h... yes checking for signal.h... yes checking for errno.h... yes checking for assert.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/inotify.h... yes checking for wordexp.h... yes checking for execinfo.h... yes checking for X11/Xlib.h... yes checking for X11/Xft/Xft.h... yes checking for X11/extensions/Xrandr.h... yes checking for X11/extensions/XTest.h... yes checking for select()... yes checking for rb_enc_set_default_internal()... yes Creating config.yml creating config.h subtle 0.11.3224 ----------------- Binaries............: /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/image//usr/bin Configuration.......: /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/image/etc/xdg/subtle Extension...........: /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/image//usr/lib64/ruby/site_ruby/2.7.0/subtle Xpm support.........: no Xft support.........: yes Xinerama support....: no XRandR support......: yes XTest support.......: yes Debugging messages..: no >>> Source configured. '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/temp/clang16-errors.log' -> '/var/tmp/clang/x11-wm/subtle-0.11.3244-r1/clang16-errors.log' '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/temp/clang16-safe.log' -> '/var/tmp/clang/x11-wm/subtle-0.11.3244-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work ... * Running compile phase for ruby27 clang -o build/subtle/shared.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/shared/shared.c clang -o build/subtle/array.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/array.c clang -o build/subtle/client.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/client.c clang -o build/subtle/display.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/display.c clang -o build/subtle/event.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/event.c src/subtle/event.c:1078:25: warning: address of array 'ev->data.b' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ev->data.b) ~~ ~~~~~~~~~^ src/subtle/event.c:1161:25: warning: address of array 'ev->data.b' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ev->data.b) ~~ ~~~~~~~~~^ src/subtle/event.c:1217:25: warning: address of array 'ev->data.b' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ev->data.b) ~~ ~~~~~~~~~^ src/subtle/event.c:1261:25: warning: address of array 'ev->data.b' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ev->data.b && (v = subViewNew(ev->data.b, NULL))) ~~~~~~~~~^ ~~ src/subtle/event.c:1291:25: warning: address of array 'ev->data.b' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ev->data.b) ~~ ~~~~~~~~~^ 5 warnings generated. clang -o build/subtle/ewmh.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/ewmh.c clang -o build/subtle/grab.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/grab.c clang -o build/subtle/gravity.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/gravity.c clang -o build/subtle/hook.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/hook.c clang -o build/subtle/panel.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/panel.c src/subtle/panel.c:265:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] SubStyle s = { -1, .flags = SUB_TYPE_STYLE, .border = { -1 }, ^~~~~~~~~~~~~~ src/subtle/subtle.h:177:39: note: expanded from macro 'SUB_TYPE_STYLE' #define SUB_TYPE_STYLE (1L << 6) ///< Style ^~~~~~~~~ src/subtle/panel.c:265:28: note: previous initialization is here SubStyle s = { -1, .flags = SUB_TYPE_STYLE, .border = { -1 }, ^~ src/subtle/panel.c:412:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] SubStyle s = { -1, .flags = SUB_TYPE_STYLE, .border = { -1 }, ^~~~~~~~~~~~~~ src/subtle/subtle.h:177:39: note: expanded from macro 'SUB_TYPE_STYLE' #define SUB_TYPE_STYLE (1L << 6) ///< Style ^~~~~~~~~ src/subtle/panel.c:412:28: note: previous initialization is here SubStyle s = { -1, .flags = SUB_TYPE_STYLE, .border = { -1 }, ^~ 2 warnings generated. clang -o build/subtle/ruby.o -c -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -DSUBTLE -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-2.7.0 -idirafter/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/freetype2 src/subtle/ruby.c src/subtle/ruby.c:68:66: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] backtrace = rb_funcall(lasterr, rb_intern("backtrace"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:97:59: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] receiver = rb_funcall(meth, rb_intern("receiver"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:255:54: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] bitmap = rb_funcall(icon, rb_intern("bitmap?"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:1302:59: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] regex = rb_funcall(value, rb_intern("source"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:1551:71: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] receiver = rb_funcall(rargs[1], rb_intern("receiver"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:1553:18: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] 0, NULL)); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:717:32: note: expanded from macro 'FIX2INT' #define FIX2INT(x) RB_FIX2INT(x) ^ /usr/include/ruby-2.7.0/ruby/ruby.h:693:48: note: expanded from macro 'RB_FIX2INT' #define RB_FIX2INT(x) ((int)rb_fix2int((VALUE)(x))) ^ src/subtle/ruby.c:2178:57: warning: implicit conversion from 'long' to 'int' changes value from 2147483648 to -2147483648 [-Wconstant-conversion] else if(CHAR2SYM("dialog") == value) flags = SUB_CLIENT_TYPE_DIALOG; ~ ^~~~~~~~~~~~~~~~~~~~~~ src/subtle/subtle.h:242:43: note: expanded from macro 'SUB_CLIENT_TYPE_DIALOG' #define SUB_CLIENT_TYPE_DIALOG (1L << 31) ///< D... ~~~^~~~~ src/subtle/ruby.c:2339:67: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] match = rb_funcall(match, rb_intern("source"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ src/subtle/ruby.c:3309:24: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] 0, NULL)); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:717:32: note: expanded from macro 'FIX2INT' #define FIX2INT(x) RB_FIX2INT(x) ^ /usr/include/ruby-2.7.0/ruby/ruby.h:693:48: note: expanded from macro 'RB_FIX2INT' #define RB_FIX2INT(x) ((int)rb_fix2int((VALUE)(x))) ^ src/subtle/ruby.c:3529:3: warning: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_method(options, "initialize", RubyOptionsInit, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro 'rb_define_method' ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... ^~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter 'func' here RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... ^ /usr/include/ruby-2.7.0/ruby/intern.h:1074:71: note: expanded from macro 'RB_METHOD_DEFINITION_DECL' RB_METHOD_DEFINITION_DECL_1(def,nonnull,def##0 ,0 ,decl,vars,(VALUE)) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ RB_METHOD_DEFINITION_DECL_1' RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro 'RB_METHOD_DEFINITION_DECL_C' ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... ^ src/subtle/ruby.c:3563:3: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_method(sublet, "hide", RubySubletHide, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro 'rb_define_method' ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... ^~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter 'func' here RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... ^ /usr/include/ruby-2.7.0/ruby/intern.h:1073:42: note: expanded from macro 'RB_METHOD_DEFINITION_DECL' RB_METHOD_DEFINITION_DECL_CXX_BEGIN(def) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ RB_METHOD_DEFINITION_DECL_1' RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro 'RB_METHOD_DEFINITION_DECL_C' ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... ^ src/subtle/ruby.c:3617:60: error: incompatible pointer to integer conversion initializing 'const VALUE' (aka 'const unsigned long') with an expression of type 'void *' [-Wint-conversion] config_instance = rb_funcall(klass, rb_intern("new"), 0, NULL); ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2688:35: note: expanded from macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ 3 warnings and 9 errors generated. rake aborted! Compiler failed with status 1 /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244/Rakefile:203:in `block in compile' /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244/Rakefile:138:in `silent_sh' /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244/Rakefile:201:in `compile' /var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244/Rakefile:753:in `block (2 levels) in ' Tasks: TOP => build => subtle => build/subtle/ruby.o (See full trace by running task with --trace) * ERROR: x11-wm/subtle-0.11.3244-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 2055: Called ruby-ng_src_compile * environment, line 1786: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 488: Called _ruby_invoke_environment 'ruby27' 'each_ruby_compile' * environment, line 617: Called each_ruby_compile * environment, line 749: Called die * The specific snippet of code: * ${RUBY} -S rake -v build || die * * If you need support, post the output of `emerge --info '=x11-wm/subtle-0.11.3244-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-wm/subtle-0.11.3244-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-wm:subtle-0.11.3244-r1:20221109-084908.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244' * S: '/var/tmp/portage/x11-wm/subtle-0.11.3244-r1/work/ruby27/subtle-0.11.3244'