build_log.txt

on kitten's pastes | raw

expires: 11 Mar, 2024

  1/home/meow/src/muon/tests/project/modules/gnome/meson.build
  2/home/meow/src/muon/tests/project/modules/gnome/meson.build:52:1: warning unused variable gmod
  3 52 | gmod = dependency('gmodule-2.0')
  4      ^
  5/home/meow/src/muon/tests/project/modules/gnome/meson.build:64:1: warning unused variable glib_static
  6 64 | glib_static = dependency('glib-2.0', static : true)
  7      ^
  8
  9modules/gnome.meson
 10modules/gnome.meson:102:5: warning dead code
 11102 |     if sources == []
 12          ^
 13modules/gnome.meson:103:9: warning dead code
 14103 |         error('sources required')
 15              ^
 16modules/gnome.meson:106:5: warning dead code
 17106 |     cmd = [
 18          ^
 19modules/gnome.meson:107:21: warning dead code
 20107 |         find_program('glib-genmarshal'),
 21                          ^
 22modules/gnome.meson:114:5: warning dead code
 23114 |     known_kwargs = {
 24          ^
 25modules/gnome.meson:122:5: warning dead code
 26122 |     foreach kwarg, value : known_kwargs
 27          ^
 28modules/gnome.meson:123:9: warning dead code
 29123 |         if value
 30              ^
 31modules/gnome.meson:124:13: warning dead code
 32124 |             cmd += ['--' + kwarg]
 33                  ^
 34modules/gnome.meson:128:5: warning dead code
 35128 |     header_file = name + '.h'
 36          ^
 37modules/gnome.meson:130:5: warning dead code
 38130 |     header = custom_target(
 39          ^
 40modules/gnome.meson:130:27: warning dead code
 41130 |     header = custom_target(
 42                                ^
 43modules/gnome.meson:145:5: warning dead code
 44145 |     body = custom_target(
 45          ^
 46modules/gnome.meson:145:25: warning dead code
 47145 |     body = custom_target(
 48                              ^
 49modules/gnome.meson:160:5: warning dead code
 50160 |     return [body, header]
 51          ^
 52modules/gnome.meson:185:9: warning dead code
 53185 |         error('sources required')
 54              ^
 55modules/gnome.meson:263:9: warning dead code
 56263 |         error('autocleanup must be one of default, all, none, objects')
 57              ^
 58modules/gnome.meson:311:9: warning dead code
 59311 |         outputs = []
 60              ^
 61modules/gnome.meson:312:9: warning dead code
 62312 |         foreach xml : xml_files
 63              ^
 64modules/gnome.meson:313:13: warning dead code
 65313 |             outputs += '@0@.@1@'.format(docbook, files(f))
 66                  ^
 67modules/gnome.meson:313:55: warning dead code
 68313 |             outputs += '@0@.@1@'.format(docbook, files(f))
 69                                                            ^
 70modules/gnome.meson:316:9: warning dead code
 71316 |         dbus_src += custom_target(
 72              ^
 73modules/gnome.meson:316:34: warning dead code
 74316 |         dbus_src += custom_target(
 75                                       ^
 76modules/gnome.meson:355:5: warning dead code
 77355 |     return false
 78          ^
 79
 80/home/meow/src/muon/tests/project/modules/gnome/resources/meson.build
 81/home/meow/src/muon/tests/project/modules/gnome/resources/meson.build:30:34: error expected type int, got str
 82 30 | if not pretend_glib_old and glib.version() >= '2.52.0'
 83                                       ^
 84/home/meow/src/muon/tests/project/modules/gnome/resources/meson.build:49:3: warning unused variable ct_resources
 85 49 |   ct_resources = gnome.compile_resources(
 86        ^
 87/home/meow/src/muon/tests/project/modules/gnome/resources/meson.build:57:3: warning unused variable cti_resources
 88 57 |   cti_resources = gnome.compile_resources(
 89        ^
 90
 91modules/gnome.meson
 92modules/gnome.meson:12:5: warning unused variable dependencies
 93 12 |     dependencies: [],
 94          ^
 95modules/gnome.meson:184:19: error expected type str, got list
 96184 |     if sources == []
 97                        ^
 98modules/gnome.meson:203:13: warning unused variable kwarg
 99203 |     foreach kwarg, value : known_kwargs
100                  ^
101modules/gnome.meson:219:27: error expected type file, got str
102219 |             h_template == '' ? [] : ['--template', files(h_template)],
103                                ^
104modules/gnome.meson:219:58: error expected type str, got file
105219 |             h_template == '' ? [] : ['--template', files(h_template)],
106                                                               ^
107modules/gnome.meson:251:5: warning unused variable extra_args
108251 |     extra_args: [],
109          ^
110
111modules/gnome.meson
112modules/gnome.meson:12:5: warning unused variable dependencies
113 12 |     dependencies: [],
114          ^
115modules/gnome.meson:17:5: warning unused variable install_header
116 17 |     install_header: false,
117          ^
118
119modules/gnome.meson
120modules/gnome.meson:12:5: warning unused variable dependencies
121 12 |     dependencies: [],
122          ^
123
124/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build
125/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build:39:1: error method generate_gir not found on module
126 39 | gnome.generate_gir(
127      ^
128/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build:55:30: error method outdir not found on build_tgt
129 55 | gir_paths = ':'.join([girlib.outdir(), dep1lib.outdir(), dep2lib.outdir(), dep3lib.outdir()])
130                                   ^
131/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build:55:48: error method outdir not found on build_tgt
132 55 | gir_paths = ':'.join([girlib.outdir(), dep1lib.outdir(), dep2lib.outdir(), dep3lib.outdir()])
133                                                     ^
134/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build:55:66: error method outdir not found on build_tgt
135 55 | gir_paths = ':'.join([girlib.outdir(), dep1lib.outdir(), dep2lib.outdir(), dep3lib.outdir()])
136                                                                       ^
137/home/meow/src/muon/tests/project/modules/gnome/gir/meson.build:55:84: error method outdir not found on build_tgt
138 55 | gir_paths = ':'.join([girlib.outdir(), dep1lib.outdir(), dep2lib.outdir(), dep3lib.outdir()])
139                                                                                         ^
140
141/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/meson.build
142/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/meson.build:16:17: error method generate_gir not found on module
143 16 | dep1gir = gnome.generate_gir(
144                      ^
145
146/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/dep2/meson.build
147/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/dep2/meson.build:10:17: error method generate_gir not found on module
148 10 | dep2gir = gnome.generate_gir(
149                      ^
150
151/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/dep3/meson.build
152/home/meow/src/muon/tests/project/modules/gnome/gir/dep1/dep3/meson.build:10:17: error method generate_gir not found on module
153 10 | dep3gir = gnome.generate_gir(
154                      ^
155
156/home/meow/src/muon/tests/project/modules/gnome/schemas/meson.build
157/home/meow/src/muon/tests/project/modules/gnome/schemas/meson.build:2:1: warning unused variable compiled
158  2 | compiled = gnome.compile_schemas(build_by_default: true)
159      ^
160
161/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build
162/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:11:1: warning unused variable gdbus_src2
163 11 | gdbus_src2 = gnome.gdbus_codegen(
164      ^
165/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:39:1: error assigning variable to null
166 39 | gdbus_src = gnome.gdbus_codegen('generated-gdbus',
167      ^
168/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:39:19: error in function
169 39 | gdbus_src = gnome.gdbus_codegen('generated-gdbus',
170                        ^
171/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:40:3: error unexpected kwarg before required arguments (signature: 2 positional, 11 keyword)
172 40 |   sources : files('data/com.example.Sample.xml'),
173        ^
174/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:40:18: warning dead code
175 40 |   sources : files('data/com.example.Sample.xml'),
176                       ^
177/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:49:27: warning dead code
178 49 |   install_dir : get_option('includedir')
179                                ^
180/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:67:1: warning unused variable gdbus_src_ct
181 67 | gdbus_src_ct = gnome.gdbus_codegen(
182      ^
183/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:74:1: warning unused variable gdbus_src_cti
184 74 | gdbus_src_cti = gnome.gdbus_codegen(
185      ^
186/home/meow/src/muon/tests/project/modules/gnome/gdbus/meson.build:82:1: warning unused variable gdbus_src_gen
187 82 | gdbus_src_gen = gnome.gdbus_codegen(
188      ^
189
190/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build
191/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:121:16: error method mkenums_simple not found on module
192121 | enums4 = gnome.mkenums_simple('enums4', sources : files('meson-sample.h'),
193                     ^
194/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:123:1: warning unused variable enumexe4
195123 | enumexe4 = executable('enumprog4', 'main4.c', enums4, dependencies : gobj)
196      ^
197/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:125:16: error method mkenums_simple not found on module
198125 | enums5 = gnome.mkenums_simple('enums5', sources : 'meson-sample.h',
199                     ^
200/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:137:1: warning unused variable enumexe5
201137 | enumexe5 = executable('enumprog5', main, enums5, dependencies : gobj)
202      ^
203/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:148:18: error in function
204148 | enums_h6 = gnome.mkenums('enums6',
205                       ^
206/home/meow/src/muon/tests/project/modules/gnome/mkenums/meson.build:169:16: error method mkenums_simple not found on module
207169 | enums7 = gnome.mkenums_simple('enums7', sources: ['meson-sample.h', h2, h3])
208                     ^
209
210/home/meow/src/muon/tests/project/modules/gnome/genmarshal/meson.build
211/home/meow/src/muon/tests/project/modules/gnome/genmarshal/meson.build:14:23: error in function
212 14 |   marshallers = gnome.genmarshal('marshaller-@0@'.format(idx), sources : mlist,
213                            ^
214
215modules/gnome.meson
216modules/gnome.meson:21:5: warning dead code
217 21 |     resources = []
218          ^
219modules/gnome.meson:22:5: warning dead code
220 22 |     source_dirs = []
221          ^
222modules/gnome.meson:24:5: warning dead code
223 24 |     message(source_dir)
224          ^
225modules/gnome.meson:25:5: warning dead code
226 25 |     foreach sd : [source_dir]
227          ^
228modules/gnome.meson:26:9: warning dead code
229 26 |         message(sd)
230              ^
231modules/gnome.meson:27:9: warning dead code
232 27 |         source_dirs += meson.current_build_dir() / sd
233              ^
234modules/gnome.meson:30:5: warning dead code
235 30 |     cmd = [
236          ^
237modules/gnome.meson:31:21: warning dead code
238 31 |         find_program('glib-compile-resources'),
239                          ^
240modules/gnome.meson:41:5: warning dead code
241 41 |     foreach sd : source_dirs
242          ^
243modules/gnome.meson:42:9: warning dead code
244 42 |         cmd += ['--sourcedir', sd]
245              ^
246modules/gnome.meson:45:5: warning dead code
247 45 |     output = gresource_bundle ? name + '.gresource' : name + '.c'
248          ^
249modules/gnome.meson:47:5: warning dead code
250 47 |     resources += custom_target(
251          ^
252modules/gnome.meson:47:31: warning dead code
253 47 |     resources += custom_target(
254                                    ^
255modules/gnome.meson:63:5: warning dead code
256 63 |     if gresource_bundle
257          ^
258modules/gnome.meson:64:9: warning dead code
259 64 |         return resources
260              ^
261modules/gnome.meson:67:5: warning dead code
262 67 |     resources += custom_target(
263          ^
264modules/gnome.meson:67:31: warning dead code
265 67 |     resources += custom_target(
266                                    ^
267modules/gnome.meson:81:5: warning dead code
268 81 |     return resources
269          ^
270modules/gnome.meson:124:13: warning dead code
271124 |             cmd += ['--' + kwarg]
272                  ^
273modules/gnome.meson:182:5: warning dead code
274182 |     enums = []
275          ^
276modules/gnome.meson:184:5: warning dead code
277184 |     if sources == []
278          ^
279modules/gnome.meson:185:9: warning dead code
280185 |         error('sources required')
281              ^
282modules/gnome.meson:188:5: warning dead code
283188 |     cmd = [find_program('glib-mkenums')]
284          ^
285modules/gnome.meson:188:24: warning dead code
286188 |     cmd = [find_program('glib-mkenums')]
287                             ^
288modules/gnome.meson:190:5: warning dead code
289190 |     known_kwargs = {
290          ^
291modules/gnome.meson:203:5: warning dead code
292203 |     foreach kwarg, value : known_kwargs
293          ^
294modules/gnome.meson:204:9: warning dead code
295204 |         if value != ''
296              ^
297modules/gnome.meson:205:13: warning dead code
298205 |             cmd += ['--' + kwarg, value]
299                  ^
300modules/gnome.meson:209:5: warning dead code
301209 |     enums += custom_target(
302          ^
303modules/gnome.meson:209:27: warning dead code
304209 |     enums += custom_target(
305                                ^
306modules/gnome.meson:219:57: warning dead code
307219 |             h_template == '' ? [] : ['--template', files(h_template)],
308                                                              ^
309modules/gnome.meson:224:5: warning dead code
310224 |     enums += custom_target(
311          ^
312modules/gnome.meson:224:27: warning dead code
313224 |     enums += custom_target(
314                                ^
315modules/gnome.meson:234:57: warning dead code
316234 |             c_template == '' ? [] : ['--template', files(c_template)],
317                                                              ^
318modules/gnome.meson:239:5: warning dead code
319239 |     return enums
320          ^
321modules/gnome.meson:260:5: warning dead code
322260 |     dbus_src = []
323          ^
324modules/gnome.meson:262:5: warning dead code
325262 |     if autocleanup not in ['default', 'all', 'none', 'objects']
326          ^
327modules/gnome.meson:263:9: warning dead code
328263 |         error('autocleanup must be one of default, all, none, objects')
329              ^
330modules/gnome.meson:266:5: warning dead code
331266 |     cmd = [
332          ^
333modules/gnome.meson:267:21: warning dead code
334267 |         find_program('gdbus-codegen'),
335                          ^
336modules/gnome.meson:275:5: warning dead code
337275 |     xml_files = [input, sources]
338          ^
339modules/gnome.meson:277:5: warning dead code
340277 |     foreach annot : annotations
341          ^
342modules/gnome.meson:278:9: warning dead code
343278 |         cmd += ['--annotate', annot]
344              ^
345modules/gnome.meson:281:5: warning dead code
346281 |     dbus_src += custom_target(
347          ^
348modules/gnome.meson:281:30: warning dead code
349281 |     dbus_src += custom_target(
350                                   ^
351modules/gnome.meson:296:5: warning dead code
352296 |     dbus_src += custom_target(
353          ^
354modules/gnome.meson:296:30: warning dead code
355296 |     dbus_src += custom_target(
356                                   ^
357modules/gnome.meson:310:5: warning dead code
358310 |     if docbook != ''
359          ^
360modules/gnome.meson:311:9: warning dead code
361311 |         outputs = []
362              ^
363modules/gnome.meson:312:9: warning dead code
364312 |         foreach xml : xml_files
365              ^
366modules/gnome.meson:313:13: warning dead code
367313 |             outputs += '@0@.@1@'.format(docbook, files(f))
368                  ^
369modules/gnome.meson:313:55: warning dead code
370313 |             outputs += '@0@.@1@'.format(docbook, files(f))
371                                                            ^
372modules/gnome.meson:316:9: warning dead code
373316 |         dbus_src += custom_target(
374              ^
375modules/gnome.meson:316:34: warning dead code
376316 |         dbus_src += custom_target(
377                                       ^
378modules/gnome.meson:330:5: warning dead code
379330 |     return dbus_src
380          ^
381modules/gnome.meson:336:5: warning dead code
382336 |     return custom_target(
383          ^
384modules/gnome.meson:336:25: warning dead code
385336 |     return custom_target(
386                              ^
387modules/gnome.meson:342:25: warning dead code
388342 |             find_program('glib-compile-schemas'),
389                              ^
390modules/gnome.meson:355:5: warning dead code
391355 |     return false
392          ^
393
394modules/gnome.meson
395modules/gnome.meson:102:19: error expected type file, got list
396102 |     if sources == []
397                        ^
398modules/gnome.meson:102:19: error expected type str, got list
399102 |     if sources == []
400                        ^
401modules/gnome.meson:122:13: warning unused variable kwarg
402122 |     foreach kwarg, value : known_kwargs
403                  ^