spacepaste

  1.  
  2. ╭─┤~/build/plotinus├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ole@lapole├──
  3. ╰─> nix-shell --pure -p vala git cmake gtk3 pkgconfig stdenv pcre zsh gcc pth xorg.libxcb xorg.libpthreadstubs xorg.libXdmcp libxkbcommon epoxy at_spi2_core dbus
  4. ^[kthese paths will be fetched (0.08 MiB download, 0.12 MiB unpacked):
  5. /nix/store/c4h8rab42lz9pskn0r3s9fgzz8x9a7ay-dbus-1.10.22-doc
  6. fetching path ‘/nix/store/c4h8rab42lz9pskn0r3s9fgzz8x9a7ay-dbus-1.10.22-doc’...
  7. ^P
  8. *** Downloading ‘https://cache.nixos.org/nar/15d6rviwfjzk3z22qc0bimfmvvh91z5h2q5xw4376yadq1fdq21g.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/c4h8rab42lz9pskn0r3s9fgzz8x9a7ay-dbus-1.10.22-doc’...
  9. % Total % Received % Xferd Average Speed Time Time Time Current
  10. Dload Upload Total Spent Left Speed
  11. 100 85572 100 85572 0 0 85572 0 0:00:01 0:00:01 --:--:-- 83484
  12. [nix-shell:~/build/plotinus]$ rm -rf build && mkdir build && cd build && cmake ..
  13. -- The C compiler identification is GNU 6.4.0
  14. -- Check for working C compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/gcc
  15. -- Check for working C compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/gcc -- works
  16. -- Detecting C compiler ABI info
  17. -- Detecting C compiler ABI info - done
  18. -- Detecting C compile features
  19. -- Detecting C compile features - done
  20. -- Found PkgConfig: /nix/store/7m6a8xznyjkkgvkwa8b9sm3cyxpfjv2k-pkg-config-0.29.2/bin/pkg-config (found version "0.29.2")
  21. -- Checking for module 'gtk+-3.0'
  22. -- Found gtk+-3.0, version 3.22.21
  23. -- Found Vala: /nix/store/yb5yh4rvzly3lyda4ghp9mbd6mgh1fqb-vala-0.34.1/bin/valac
  24. -- checking for Vala version of 0.26
  25. -- found Vala, version 0.34.1
  26. -- GSettings schemas will be installed locally.
  27. -- GSettings shemas will be compiled.
  28. -- GSettings schemas will be installed into /var/empty/local/share/glib-2.0/schemas/
  29. -- Configuring done
  30. -- Generating done
  31. -- Build files have been written to: /home/ole/build/plotinus/build
  32. [nix-shell:~/build/plotinus/build]$ make
  33. [ 4%] Generating src/Command.c;src/CommandExtractor.c;src/CommandList.c;src/InstanceSettings.c;src/Keybinder.c;src/Module.c;src/PopupWindow.c;src/Service.c;src/Utilities.c
  34. /home/ole/build/plotinus/src/Utilities.vala:82.12-82.45: warning: unhandled error `GLib.RegexError'
  35. return /_(?!_)/.replace(label, -1, 0, "").strip();
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. /home/ole/build/plotinus/src/Utilities.vala:48.17-48.97: warning: unhandled error `GLib.RegexError'
  38. var regex = new Regex("(" + string.joinv("|", regex_words) + ")", RegexCompileFlags.CASELESS);
  39. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  40. /home/ole/build/plotinus/src/CommandList.vala:91.19-91.54: warning: unhandled error `GLib.RegexError'
  41. this.filter = /\s{2,}/.replace(filter, -1, 0, " ").strip().casefold();
  42. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  43. /home/ole/build/plotinus/src/Service.vala:152.20-152.48: warning: unhandled error `GLib.IOError'
  44. connection = Bus.get_sync(BusType.SESSION);
  45. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  46. /home/ole/build/plotinus/src/Service.vala:153.17-153.112: warning: unhandled error `GLib.IOError'
  47. service = Bus.get_proxy_sync(BusType.SESSION, "com.worldwidemann.plotinus", "/com/worldwidemann/plotinus");
  48. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  49. /home/ole/build/plotinus/src/Service.vala:92.9-92.57: warning: unhandled error `GLib.IOError'
  50. connection.register_object(command_path, command);
  51. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  52. /home/ole/build/plotinus/src/Service.vala:165.7-165.73: warning: unhandled error `GLib.IOError'
  53. connection.register_object(command_provider_path, command_provider);
  54. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  55. /home/ole/build/plotinus/src/Module.vala:26.27-26.84: warning: unhandled error `GLib.FileError'
  56. var executable_path = FileUtils.read_link("/proc/%u/exe".printf(Posix.getpid()));
  57. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  58. /home/ole/build/plotinus/src/Service.vala:48.49-48.73: warning: unhandled error `GLib.IOError'
  59. CommandProviderProxy command_provider = Bus.get_proxy.end(result);
  60. ^^^^^^^^^^^^^^^^^^^^^^^^^
  61. /home/ole/build/plotinus/src/Service.vala:62.7-62.84: warning: unhandled error `GLib.IOError'
  62. connection.register_object(command_palette_path, new CommandPalette(commands));
  63. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  64. /home/ole/build/plotinus/src/Service.vala:18.25-18.106: warning: unhandled error `GLib.IOError'
  65. (connection) => connection.register_object("/com/worldwidemann/plotinus", new Service(connection)));
  66. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  67. /home/ole/build/plotinus/src/Module.vala:22.3-22.22: warning: method `Plotinus.gtk_module_init' never used
  68. void gtk_module_init([CCode(array_length_pos=0.9)] ref unowned string[] argv) {
  69. ^^^^^^^^^^^^^^^^^^^^
  70. /home/ole/build/plotinus/src/Service.vala:68.5-68.37: warning: method `Plotinus.ServiceProxy.get_commands' never used
  71. public abstract void get_commands(ObjectPath window_path, out string bus_name, out ObjectPath[] command_paths);
  72. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  73. /home/ole/build/plotinus/src/Service.vala:71.5-71.45: warning: method `Plotinus.ServiceProxy.show_command_palette' never used
  74. public abstract void show_command_palette(CommandStruct[] commands,
  75. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  76. /home/ole/build/plotinus/src/Service.vala:134.5-134.21: warning: method `Plotinus.CommandPalette.close' never used
  77. public void close() {
  78. ^^^^^^^^^^^^^^^^^
  79. Scanning dependencies of target dbus_service
  80. [ 9%] Building C object CMakeFiles/dbus_service.dir/src/Command.c.o
  81. [ 13%] Building C object CMakeFiles/dbus_service.dir/src/CommandExtractor.c.o
  82. /home/ole/build/plotinus/src/CommandExtractor.vala: In function '__lambda4_':
  83. /home/ole/build/plotinus/src/CommandExtractor.vala:135:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  84. if (menu_item.submenu == null) {
  85. ^
  86. /home/ole/build/plotinus/src/CommandExtractor.vala:158:12: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  87. foreach (var command in get_menu_shell_commands(menu_item.submenu, submenu_path)) {
  88. ^
  89. [ 18%] Building C object CMakeFiles/dbus_service.dir/src/CommandList.c.o
  90. /home/ole/build/plotinus/src/CommandList.vala: In function '__lambda7_':
  91. /home/ole/build/plotinus/src/CommandList.vala:68:2: warning: 'gtk_style_context_get_background_color' is deprecated: Use 'gtk_render_background' instead [-Wdeprecated-declarations]
  92. var selection_color = style_context.get_background_color(Gtk.StateFlags.SELECTED | Gtk.StateFlags.FOCUSED);
  93. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  94. In file included from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkicontheme.h:27:0,
  95. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtk.h:123,
  96. from /home/ole/build/plotinus/build/src/CommandList.c:17:
  97. /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkstylecontext.h:1201:6: note: declared here
  98. void gtk_style_context_get_background_color (GtkStyleContext *context,
  99. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100. In file included from /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib.h:79:0,
  101. from /home/ole/build/plotinus/build/src/CommandList.c:15:
  102. /nix/store/yb5yh4rvzly3lyda4ghp9mbd6mgh1fqb-vala-0.34.1/share/vala-0.34/vapi/glib-2.0.vapi: In function 'string_strip':
  103. /nix/store/yb5yh4rvzly3lyda4ghp9mbd6mgh1fqb-vala-0.34.1/share/vala-0.34/vapi/glib-2.0.vapi:1209:14: warning: passing argument 1 of 'g_strchug' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  104. result._strip ();
  105. ^
  106. /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib/gstrfuncs.h:180:53: note: in definition of macro 'g_strstrip'
  107. #define g_strstrip( string ) g_strchomp (g_strchug (string))
  108. ^~~~~~
  109. /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib/gstrfuncs.h:175:23: note: expected 'gchar * {aka char *}' but argument is of type 'const gchar * {aka const char *}'
  110. gchar* g_strchug (gchar *string);
  111. ^~~~~~~~~
  112. [ 22%] Building C object CMakeFiles/dbus_service.dir/src/InstanceSettings.c.o
  113. [ 27%] Building C object CMakeFiles/dbus_service.dir/src/Keybinder.c.o
  114. /home/ole/build/plotinus/src/Keybinder.vala: In function 'plotinus_application_keybinder_real_set_keys':
  115. /home/ole/build/plotinus/src/Keybinder.vala:40:100: warning: passing argument 3 of 'gtk_application_set_accels_for_action' from incompatible pointer type [-Wincompatible-pointer-types]
  116. application.set_accels_for_action("app." + ACTION_NAME, keys);
  117. ^
  118. In file included from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkwindow.h:33:0,
  119. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkdialog.h:32,
  120. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
  121. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtk.h:31,
  122. from /home/ole/build/plotinus/build/src/Keybinder.c:19:
  123. /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtkapplication.h:154:18: note: expected 'const gchar * const* {aka const char * const*}' but argument is of type 'gchar ** {aka char **}'
  124. void gtk_application_set_accels_for_action (GtkApplication *application,
  125. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126. [ 31%] Building C object CMakeFiles/dbus_service.dir/src/Module.c.o
  127. /home/ole/build/plotinus/src/Module.vala: In function '__lambda23_':
  128. /home/ole/build/plotinus/src/Module.vala:53:29: warning: passing argument 2 of 'g_list_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
  129. AppInfo.get_all().foreach((app_info) => {
  130. ^~~~~~~~~~~~~~~~~~~~
  131. In file included from /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib/ghash.h:33:0,
  132. from /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib.h:50,
  133. from /home/ole/build/plotinus/build/src/Module.c:15:
  134. /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/glib/glist.h:132:10: note: expected 'GFunc {aka void (*)(void *, void *)}' but argument is of type 'void (*)(const void *, void *)'
  135. void g_list_foreach (GList *list,
  136. ^~~~~~~~~~~~~~
  137. [ 36%] Building C object CMakeFiles/dbus_service.dir/src/PopupWindow.c.o
  138. [ 40%] Building C object CMakeFiles/dbus_service.dir/src/Service.c.o
  139. /home/ole/build/plotinus/src/Service.vala: In function '__lambda29_':
  140. /home/ole/build/plotinus/src/Service.vala:48:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  141. CommandProviderProxy command_provider = Bus.get_proxy.end(result);
  142. ^
  143. /home/ole/build/plotinus/src/Service.vala:48:40: warning: passing argument 1 of 'g_async_initable_new_finish' from incompatible pointer type [-Wincompatible-pointer-types]
  144. CommandProviderProxy command_provider = Bus.get_proxy.end(result);
  145. ^~~~~~
  146. In file included from /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/gio/gio.h:35:0,
  147. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
  148. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gdk/gdk.h:32,
  149. from /nix/store/9xw3c4yk3rwihwwj047iqha364k8f962-gtk+3-3.22.21-dev/include/gtk-3.0/gtk/gtk.h:30,
  150. from /home/ole/build/plotinus/build/src/Service.c:19:
  151. /nix/store/61i1fmxk0dgx93yawafhxr9j75z676ji-glib-2.52.3-dev/include/glib-2.0/gio/gasyncinitable.h:115:10: note: expected 'GAsyncInitable * {aka struct _GAsyncInitable *}' but argument is of type 'PlotinusCommandProviderProxy * {aka struct _PlotinusCommandProviderProxy *}'
  152. GObject *g_async_initable_new_finish (GAsyncInitable *initable,
  153. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  154. /home/ole/build/plotinus/src/Service.vala:48:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  155. CommandProviderProxy command_provider = Bus.get_proxy.end(result);
  156. ^
  157. Service.c: In function '_dbus_plotinus_service_get_commands':
  158. Service.c:1011:39: warning: passing argument 1 of 'plotinus_service_proxy_get_commands' from incompatible pointer type [-Wincompatible-pointer-types]
  159. /home/ole/build/plotinus/build/src/Service.c:287:6: note: expected 'PlotinusServiceProxy * {aka struct _PlotinusServiceProxy *}' but argument is of type 'PlotinusService * {aka struct _PlotinusService *}'
  160. void plotinus_service_proxy_get_commands (PlotinusServiceProxy* self, const char* window_path, gchar** bus_name, char*** command_paths, int* command_paths_length1);
  161. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  162. Service.c: In function '_dbus_plotinus_service_register_window':
  163. Service.c:1055:42: warning: passing argument 1 of 'plotinus_service_proxy_register_window' from incompatible pointer type [-Wincompatible-pointer-types]
  164. /home/ole/build/plotinus/build/src/Service.c:288:6: note: expected 'PlotinusServiceProxy * {aka struct _PlotinusServiceProxy *}' but argument is of type 'PlotinusService * {aka struct _PlotinusService *}'
  165. void plotinus_service_proxy_register_window (PlotinusServiceProxy* self, const char* window_path, const gchar* bus_name, const char* command_provider_path);
  166. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167. Service.c: In function '_dbus_plotinus_service_unregister_window':
  168. Service.c:1081:44: warning: passing argument 1 of 'plotinus_service_proxy_unregister_window' from incompatible pointer type [-Wincompatible-pointer-types]
  169. /home/ole/build/plotinus/build/src/Service.c:289:6: note: expected 'PlotinusServiceProxy * {aka struct _PlotinusServiceProxy *}' but argument is of type 'PlotinusService * {aka struct _PlotinusService *}'
  170. void plotinus_service_proxy_unregister_window (PlotinusServiceProxy* self, const char* window_path);
  171. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  172. Service.c: In function '_dbus_plotinus_service_show_command_palette':
  173. Service.c:1196:47: warning: passing argument 1 of 'plotinus_service_proxy_show_command_palette' from incompatible pointer type [-Wincompatible-pointer-types]
  174. /home/ole/build/plotinus/build/src/Service.c:290:6: note: expected 'PlotinusServiceProxy * {aka struct _PlotinusServiceProxy *}' but argument is of type 'PlotinusService * {aka struct _PlotinusService *}'
  175. void plotinus_service_proxy_show_command_palette (PlotinusServiceProxy* self, PlotinusCommandStruct* commands, int commands_length1, gchar** bus_name, char** command_palette_path);
  176. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177. Service.c: In function 'plotinus_service_proxy_proxy_get_commands':
  178. Service.c:1376:228: error: 'error' undeclared (first use in this function)
  179. Service.c:1376:228: note: each undeclared identifier is reported only once for each function it appears in
  180. Service.c: In function 'plotinus_service_proxy_proxy_register_window':
  181. Service.c:1428:228: error: 'error' undeclared (first use in this function)
  182. Service.c: In function 'plotinus_service_proxy_proxy_unregister_window':
  183. Service.c:1451:228: error: 'error' undeclared (first use in this function)
  184. Service.c: In function 'plotinus_service_proxy_proxy_show_command_palette':
  185. Service.c:1512:228: error: 'error' undeclared (first use in this function)
  186. Service.c: In function '_dbus_plotinus_command_provider_get_commands':
  187. Service.c:2170:48: warning: passing argument 1 of 'plotinus_command_provider_proxy_get_commands' from incompatible pointer type [-Wincompatible-pointer-types]
  188. /home/ole/build/plotinus/build/src/Service.c:265:6: note: expected 'PlotinusCommandProviderProxy * {aka struct _PlotinusCommandProviderProxy *}' but argument is of type 'PlotinusCommandProvider * {aka struct _PlotinusCommandProvider *}'
  189. void plotinus_command_provider_proxy_get_commands (PlotinusCommandProviderProxy* self, gchar** bus_name, char*** command_paths, int* command_paths_length1);
  190. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191. Service.c: In function 'plotinus_command_provider_proxy_proxy_get_commands':
  192. Service.c:2321:228: error: 'error' undeclared (first use in this function)
  193. make[2]: *** [CMakeFiles/dbus_service.dir/build.make:271: CMakeFiles/dbus_service.dir/src/Service.c.o] Error 1
  194. make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/dbus_service.dir/all] Error 2
  195. make: *** [Makefile:130: all] Error 2
  196.