Advertisement
Guest User

gnome-documents build fail

a guest
Oct 17th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 22.30 KB | None | 0 0
  1. PKGBUILD
  2.  
  3. pkgname=gnome-documents-git
  4. _pkgname=gnome-documents
  5. pkgver=3.34.0+36+gb642b43f
  6. pkgrel=1
  7. pkgdesc="A document manager application for GNOME"
  8. url="https://wiki.gnome.org/Apps/Documents"
  9. arch=(x86_64)
  10. license=(GPL)
  11. options=(debug !strip)
  12. depends=('evince' 'gjs' 'gtk3' 'gnome-desktop' 'gnome-online-accounts' 'libgdata'
  13.          'tracker-miners' 'libzapojit' 'webkit2gtk' 'gnome-online-miners' 'librsvg'
  14.          'libgepub' 'gnome-epub-thumbnailer')
  15. makedepends=('gobject-introspection' 'git' 'meson' 'yelp-tools' 'inkscape')
  16. optdepends=('libreoffice-fresh: Support for Libreoffice document types')
  17. provides=('gnome-documents')
  18. conflicts=('gnome-documents')
  19. source=("git+https://gitlab.gnome.org/GNOME/gnome-documents.git"
  20.         "git+https://gitlab.gnome.org/GNOME/libgd.git")
  21. sha512sums=('SKIP'
  22.             'SKIP')
  23.  
  24. pkgver() {
  25.   cd $_pkgname
  26.   git describe --tags | sed 's/-/+/g'
  27. }
  28.  
  29. prepare() {
  30.   cd $_pkgname
  31.  
  32.   git submodule init
  33.   git submodule set-url subprojects/libgd "$srcdir/libgd"
  34.   git submodule update
  35. }
  36.  
  37.  
  38. build() {
  39.   arch-meson $_pkgname build -D getting_started=true
  40.   ninja -C build
  41. }
  42.  
  43. check() {
  44.   meson test -C build --print-errorlogs
  45. }
  46.  
  47. package() {
  48.   DESTDIR="$pkgdir" meson install -C build
  49. }
  50.  
  51. # vim:set ts=2 sw=2 et:
  52.  
  53. Building gnome-documents-git...
  54. ==> Making package: gnome-documents-git 3.34.0+36+gb642b43f-1 (Sun 17 Oct 2021 16:39:32 BST)
  55. ==> Checking runtime dependencies...
  56. ==> Checking buildtime dependencies...
  57. ==> Retrieving sources...
  58.   -> Updating gnome-documents git repo...
  59. Fetching origin
  60.   -> Updating libgd git repo...
  61. Fetching origin
  62. ==> Validating source files with sha512sums...
  63.     gnome-documents ... Skipped
  64.     libgd ... Skipped
  65. ==> Removing existing $srcdir/ directory...
  66. ==> Extracting sources...
  67.   -> Creating working copy of gnome-documents git repo...
  68. Cloning into 'gnome-documents'...
  69. done.
  70.   -> Creating working copy of libgd git repo...
  71. Cloning into 'libgd'...
  72. done.
  73. ==> Starting prepare()...
  74. Submodule 'subprojects/libgd' (https://gitlab.gnome.org/GNOME/libgd.git) registered for path 'subprojects/libgd'
  75. Synchronizing submodule url for 'subprojects/libgd'
  76. Cloning into '/var/tmp/pamac-build-samb/gnome-documents-git/src/gnome-documents/subprojects/libgd'...
  77. done.
  78. Submodule path 'subprojects/libgd': checked out 'c7c7ff4e05d3fe82854219091cf116cce6b19de0'
  79. ==> Starting pkgver()...
  80. ==> Removing existing $pkgdir/ directory...
  81. ==> Starting build()...
  82. + exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gnome-documents build -D getting_started=true
  83.  
  84. Generating targets:   0%|                                                    | 0/26 [00:00<?, ?it/s]
  85.                                                                                                    
  86.  
  87. Writing build.ninja:   0%|                                                   | 0/86 [00:00<?, ?it/s]
  88.                                                                                                    
  89. The Meson build system
  90. Version: 0.59.2
  91. Source dir: /var/tmp/pamac-build-samb/gnome-documents-git/src/gnome-documents
  92. Build dir: /var/tmp/pamac-build-samb/gnome-documents-git/src/build
  93. Build type: native build
  94. Project name: gnome-documents
  95. Project version: 3.34.0
  96. C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
  97. C linker for the host machine: cc ld.bfd 2.36.1
  98. Host machine cpu family: x86_64
  99. Host machine cpu: x86_64
  100. Found pkg-config: /usr/bin/pkg-config (1.8.0)
  101. Run-time dependency gjs-1.0 found: YES 1.68.3
  102. Run-time dependency evince-document-3.0 found: YES 40.4
  103. Run-time dependency evince-view-3.0 found: YES 40.4
  104. Run-time dependency glib-2.0 found: YES 2.70.0
  105. Run-time dependency gnome-desktop-3.0 found: YES 40.4
  106. Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
  107. Run-time dependency gtk+-3.0 found: YES 3.24.30
  108. Run-time dependency libsoup-2.4 found: YES 2.74.0
  109. Run-time dependency tracker-control-2.0 found: YES 2.3.6
  110. Run-time dependency tracker-sparql-2.0 found: YES 2.3.6
  111. Run-time dependency webkit2gtk-4.0 found: YES 2.32.4
  112. Library m found: YES
  113. Run-time dependency libgdata found: YES 0.18.1
  114. Run-time dependency goa-1.0 found: YES 3.40.0
  115. Run-time dependency zapojit-0.0 found: YES 0.0.4
  116. Checking for function "cairo_surface_set_device_scale" with dependencies gjs-1.0, evince-document-3.0, evince-view-3.0, glib-2.0, gnome-desktop-3.0, gobject-introspection-1.0, gtk+-3.0, libsoup-2.4, tracker-control-2.0, tracker-sparql-2.0, webkit2gtk-4.0, -lm: YES
  117.  
  118. Executing subproject libgd
  119.  
  120. libgd| Project name: libgd
  121. libgd| Project version: undefined
  122. libgd| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
  123. libgd| C linker for the host machine: cc ld.bfd 2.36.1
  124. libgd| Dependency gtk+-3.0 found: YES 3.24.30 (cached)
  125. libgd| Library m found: YES
  126. libgd| Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
  127. libgd| Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
  128. libgd| Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
  129. libgd| Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
  130. libgd| Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
  131. libgd| Build targets in project: 5
  132. libgd| Subproject libgd finished.
  133.  
  134. Configuring config.h using configuration
  135. Configuring org.gnome.Documents.service using configuration
  136. Configuring org.gnome.Documents using configuration
  137. Found pkg-config: /usr/bin/pkg-config (1.8.0)
  138. Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
  139. Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
  140. Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
  141. Program appstream-util found: YES (/usr/bin/appstream-util)
  142. Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
  143. Program xsltproc found: YES (/usr/bin/xsltproc)
  144. Program pdfunite found: YES (/usr/bin/pdfunite)
  145. Program inkscape found: YES (/usr/bin/inkscape)
  146. Program meson_post_install.py found: YES (/usr/bin/python /var/tmp/pamac-build-samb/gnome-documents-git/src/gnome-documents/meson_post_install.py)
  147. Message:
  148.         gnome-documents 3.34.0
  149.         ======================
  150.  
  151.         prefix:    /usr
  152.         compiler:  gcc
  153.  
  154. Build targets in project: 26
  155.  
  156. gnome-documents 3.34.0
  157.  
  158.   Subprojects
  159.     libgd: YES
  160.  
  161. Option buildtype is: plain [default: debugoptimized]
  162. Found ninja-1.10.2 at /usr/bin/ninja
  163. ninja: Entering directory `build'
  164. [1/45] Generating org.gnome.Documents.src_gresource with a custom command
  165. [2/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-bookmark.c.o
  166. [3/45] Compiling C object subprojects/libgd/test-tagged-entry.p/test-tagged-entry.c.o
  167. [4/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-main-list-view.c.o
  168. [5/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-main-icon-view.c.o
  169. [6/45] Generating org.gnome.Documents.enums.xml with a custom command (wrapped by meson to capture output)
  170. [7/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-two-lines-renderer.c.o
  171. [8/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-main-view.c.o
  172. [9/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-tagged-entry.c.o
  173. [10/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-types-catalog.c.o
  174. [11/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-toggle-pixbuf-renderer.c.o
  175. [12/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-styled-text-renderer.c.o
  176. [13/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-icon-utils.c.o
  177. [14/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-main-view-generic.c.o
  178. [15/45] Compiling C object subprojects/libgd/test-tagged-entry-2.p/test-tagged-entry-2.c.o
  179. [16/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-bookmarks.c.o
  180. [17/45] Compiling C object subprojects/libgd/libgd/libgd.so.p/gd-notification.c.o
  181. [18/45] Generating org.gnome.Documents.data_gresource with a custom command
  182. [19/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-metadata.c.o
  183. In file included from /usr/include/glib-2.0/glib/glist.h:32,
  184.                 from /usr/include/glib-2.0/glib/ghash.h:33,
  185.                 from /usr/include/glib-2.0/glib.h:50,
  186.                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
  187.                 from /usr/include/glib-2.0/glib-object.h:22,
  188.                 from /usr/include/glib-2.0/gio/gioenums.h:28,
  189.                 from /usr/include/glib-2.0/gio/giotypes.h:28,
  190.                 from /usr/include/glib-2.0/gio/gio.h:26,
  191.                 from ../gnome-documents/src/lib/gd-metadata.c:21:
  192. ../gnome-documents/src/lib/gd-metadata.c: In function ‘gd_metadata_finalize’:
  193. ../gnome-documents/src/lib/gd-metadata.c:53:38: warning: function called through a non-compatible type
  194.   53 |   g_clear_pointer (&metadata->items, (GDestroyNotify) g_hash_table_unref);
  195. /usr/include/glib-2.0/glib/gmem.h:123:8: note: in definition of macro ‘g_clear_pointer’
  196.  123 |       (destroy) (_ptr);                                  \
  197.      |        ^~~~~~~
  198. [20/45] Generating gnome-documents.1 with a custom command
  199. [21/45] Generating landing with a custom command
  200. FAILED: getting-started/landing.pdf
  201. /usr/bin/inkscape -z -A getting-started/landing.pdf ../gnome-documents/getting-started/C/landing.svg
  202. Warning: Option --without-gui= is deprecated
  203. Unknown option -A
  204. [22/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-pdf-loader.c.o
  205. ../gnome-documents/src/lib/gd-pdf-loader.c: In function ‘pdf_load_job_complete_error’:
  206. ../gnome-documents/src/lib/gd-pdf-loader.c:84:5: warning: ‘g_simple_async_result_take_error’ is deprecated [-Wdeprecated-declarations]
  207.   84 |     g_simple_async_result_take_error (job->result, error);
  208.      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  209. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  210.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  211.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  212. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
  213.  116 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
  214.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215. ../gnome-documents/src/lib/gd-pdf-loader.c:85:5: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations]
  216.   85 |     g_simple_async_result_complete_in_idle (job->result);
  217.      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  219.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  220.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  221. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here
  222.  106 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
  223.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  224. ../gnome-documents/src/lib/gd-pdf-loader.c: In function ‘pdf_load_job_complete_success’:
  225. ../gnome-documents/src/lib/gd-pdf-loader.c:95:3: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations]
  226.   95 |   g_simple_async_result_set_op_res_gpointer (job->result, doc_model, NULL);
  227.      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  228. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  229.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  230.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  231. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:75:21: note: declared here
  232.   75 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
  233.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234. ../gnome-documents/src/lib/gd-pdf-loader.c:96:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations]
  235.   96 |   g_simple_async_result_complete_in_idle (job->result);
  236.      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  237. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  238.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  239.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  240. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here
  241.  106 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
  242.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  243. ../gnome-documents/src/lib/gd-pdf-loader.c: In function ‘gd_pdf_loader_load_uri_async’:
  244. ../gnome-documents/src/lib/gd-pdf-loader.c:229:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations]
  245.  229 |   result = g_simple_async_result_new (NULL, callback, user_data,
  246.      |   ^~~~~~
  247. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  248.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  249.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  250. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:51:21: note: declared here
  251.   51 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
  252.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
  253. ../gnome-documents/src/lib/gd-pdf-loader.c: In function ‘gd_pdf_loader_load_uri_finish’:
  254. ../gnome-documents/src/lib/gd-pdf-loader.c:252:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations]
  255.  252 |   if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
  256.      |   ^~
  257. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  258.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  259.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  260. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
  261.  119 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
  262.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  263. ../gnome-documents/src/lib/gd-pdf-loader.c:255:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations]
  264.  255 |   retval = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
  265.      |   ^~~~~~
  266. In file included from /usr/include/glib-2.0/gio/gio.h:137,
  267.                 from ../gnome-documents/src/lib/gd-pdf-loader.h:26,
  268.                 from ../gnome-documents/src/lib/gd-pdf-loader.c:22:
  269. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:79:21: note: declared here
  270.   79 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
  271.      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  272. [23/45] Generating goa with a custom command
  273. FAILED: getting-started/goa.pdf
  274. /usr/bin/inkscape -z -A getting-started/goa.pdf ../gnome-documents/getting-started/C/goa.svg
  275. Warning: Option --without-gui= is deprecated
  276. Unknown option -A
  277. [24/45] Generating bookmarking with a custom command
  278. FAILED: getting-started/bookmarking.pdf
  279. /usr/bin/inkscape -z -A getting-started/bookmarking.pdf ../gnome-documents/getting-started/C/bookmarking.svg
  280. Warning: Option --without-gui= is deprecated
  281. Unknown option -A
  282. [25/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-places-page.c.o
  283. [26/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-nav-bar.c.o
  284. ../gnome-documents/src/lib/gd-nav-bar.c: In function ‘gd_nav_bar_class_init’:
  285. ../gnome-documents/src/lib/gd-nav-bar.c:847:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  286.  847 |         g_type_class_add_private (oclass, sizeof (GdNavBarPrivate));
  287.      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  288. In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
  289.                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
  290.                 from /usr/include/glib-2.0/glib-object.h:22,
  291.                 from /usr/include/glib-2.0/gio/gioenums.h:28,
  292.                 from /usr/include/glib-2.0/gio/giotypes.h:28,
  293.                 from /usr/include/glib-2.0/gio/gio.h:26,
  294.                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
  295.                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
  296.                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
  297.                 from ../gnome-documents/src/lib/gd-nav-bar.h:23,
  298.                 from ../gnome-documents/src/lib/gd-nav-bar.c:24:
  299. /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here
  300. 1346 | void     g_type_class_add_private       (gpointer                    g_class,
  301.      |          ^~~~~~~~~~~~~~~~~~~~~~~~
  302. ../gnome-documents/src/lib/gd-nav-bar.c: In function ‘gd_nav_bar_init’:
  303. ../gnome-documents/src/lib/gd-nav-bar.c:1044:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  304. 1044 |         self->priv = GD_NAV_BAR_GET_PRIVATE (self);
  305.      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
  306. [27/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-display-preview.c.o
  307. ../gnome-documents/src/lib/gd-display-preview.c: In function ‘gd_display_preview_draw’:
  308. ../gnome-documents/src/lib/gd-display-preview.c:62:18: warning: unused variable ‘active’ [-Wunused-variable]
  309.   62 |         gboolean active;
  310.      |                  ^~~~~~
  311. [28/45] Generating scrubbing with a custom command
  312. FAILED: getting-started/scrubbing.pdf
  313. /usr/bin/inkscape -z -A getting-started/scrubbing.pdf ../gnome-documents/getting-started/C/scrubbing.svg
  314. Warning: Option --without-gui= is deprecated
  315. Unknown option -A
  316. [29/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-utils.c.o
  317. ../gnome-documents/src/lib/gd-utils.c: In function ‘gd_iso8601_from_timestamp’:
  318. ../gnome-documents/src/lib/gd-utils.c:169:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  319.  169 |   GTimeVal tv;
  320.      |   ^~~~~~~~
  321. In file included from /usr/include/glib-2.0/glib/galloca.h:32,
  322.                 from /usr/include/glib-2.0/glib.h:30,
  323.                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
  324.                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
  325.                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
  326.                 from ../gnome-documents/src/lib/gd-utils.h:25,
  327.                 from ../gnome-documents/src/lib/gd-utils.c:23:
  328. /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  329.  547 | struct _GTimeVal
  330.      |        ^~~~~~~~~
  331. ../gnome-documents/src/lib/gd-utils.c:173:3: warning: ‘g_time_val_to_iso8601’ is deprecated: Use 'g_date_time_format' instead [-Wdeprecated-declarations]
  332.  173 |   return g_time_val_to_iso8601 (&tv);
  333.      |   ^~~~~~
  334. In file included from /usr/include/glib-2.0/glib.h:89,
  335.                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
  336.                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
  337.                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
  338.                 from ../gnome-documents/src/lib/gd-utils.h:25,
  339.                 from ../gnome-documents/src/lib/gd-utils.c:23:
  340. /usr/include/glib-2.0/glib/gtimer.h:73:10: note: declared here
  341.   73 | gchar*   g_time_val_to_iso8601   (GTimeVal    *time_) G_GNUC_MALLOC;
  342.      |          ^~~~~~~~~~~~~~~~~~~~~
  343. [30/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-places-links.c.o
  344. ../gnome-documents/src/lib/gd-places-links.c: In function ‘gd_places_links_init’:
  345. ../gnome-documents/src/lib/gd-places-links.c:512:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  346.  512 |         self->priv = GD_PLACES_LINKS_GET_PRIVATE (self);
  347.      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
  348. ../gnome-documents/src/lib/gd-places-links.c: In function ‘gd_places_links_class_init’:
  349. ../gnome-documents/src/lib/gd-places-links.c:547:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  350.  547 |         g_type_class_add_private (oclass, sizeof (GdPlacesLinksPrivate));
  351.      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  352. In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
  353.                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
  354.                 from /usr/include/glib-2.0/glib-object.h:22,
  355.                 from /usr/include/glib-2.0/gio/gioenums.h:28,
  356.                 from /usr/include/glib-2.0/gio/giotypes.h:28,
  357.                 from /usr/include/glib-2.0/gio/gio.h:26,
  358.                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
  359.                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
  360.                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
  361.                 from ../gnome-documents/src/lib/gd-places-links.c:28:
  362. /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here
  363. 1346 | void     g_type_class_add_private       (gpointer                    g_class,
  364.      |          ^~~~~~~~~~~~~~~~~~~~~~~~
  365. [31/45] Generating org.gnome.Documents.appdata.xml_data_merge with a custom command
  366. [32/45] Generating org.gnome.Documents.desktop_data_merge with a custom command
  367. [33/45] Compiling C object src/libgdprivate-1.0.so.p/lib_gd-places-bookmarks.c.o
  368. ../gnome-documents/src/lib/gd-places-bookmarks.c: In function ‘gd_places_bookmarks_init’:
  369. ../gnome-documents/src/lib/gd-places-bookmarks.c:654:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  370.  654 |                                                   GdPlacesBookmarksPrivate);
  371.      |             ^                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~
  372. ../gnome-documents/src/lib/gd-places-bookmarks.c: In function ‘gd_places_bookmarks_class_init’:
  373. ../gnome-documents/src/lib/gd-places-bookmarks.c:690:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  374.  690 |         g_type_class_add_private (oclass, sizeof (GdPlacesBookmarksPrivate));
  375.      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  376. In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
  377.                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
  378.                 from /usr/include/glib-2.0/glib-object.h:22,
  379.                 from /usr/include/evince/3.0/libdocument/ev-annotation.h:29,
  380.                 from /usr/include/evince/3.0/evince-document.h:24,
  381.                 from ../gnome-documents/src/lib/gd-places-bookmarks.c:25:
  382. /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here
  383. 1346 | void     g_type_class_add_private       (gpointer                    g_class,
  384.      |          ^~~~~~~~~~~~~~~~~~~~~~~~
  385. [34/45] Linking target subprojects/libgd/libgd/libgd.so
  386. ninja: build stopped: subcommand failed.
  387. ==> ERROR: A failure occurred in build().
  388.    Aborting...
  389.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement