genodelabs / genode-world

Collection of community-maintained components for Genode
Other
45 stars 47 forks source link

glib: update for qemu support #380

Closed alex-ab closed 1 month ago

alex-ab commented 1 month ago

The current supported version is too old for a Qemu port, some glib function signatures are not available.

alex-ab commented 1 month ago

I upgraded the port just to the point as it was feasible before mayor changes to the build system of glib happened. Newer versions use meson, which we maybe can address with goa as soon as it supports meson.

chelmuth commented 1 month ago

@alex-ab is the following error related to the glib update?

/data/depot/checker/src/libmbim/2024-10-01/src/lib/libmbim/src/libmbim-glib/mbim-device.c: In function ‘get_descriptors_filepath’:
/data/depot/checker/src/libmbim/2024-10-01/src/lib/libmbim/src/libmbim-glib/mbim-device.c:938:46: error: ‘G_DIR_SEPARATOR_S’ undeclared (first use in this function); did you mean ‘G_IS_DIR_SE
  938 |             descriptors_path = g_build_path (G_DIR_SEPARATOR_S, dirname, "descriptors", NULL);
      |                                              ^~~~~~~~~~~~~~~~~
      |                                              G_IS_DIR_SEPARATOR
/data/depot/checker/src/libmbim/2024-10-01/src/lib/libmbim/src/libmbim-glib/mbim-device.c:938:46: note: each undeclared identifier is reported only once for each function it appears in
make[6]: *** [/data/genode/repos/base/mk/generic.mk:68: mbim-device.o] Error 1
make[6]: Target 'all' not remade because of errors.
make[5]: *** [var/libdeps:212: libmbim.lib.so] Error 2
make[5]: Target 'all' not remade because of errors.
make[4]: *** [Makefile:351: gen_deps_and_build_targets] Error 2
make[4]: Failed to remake makefile 'Makefile'.
make[4]: Target '_all' not remade because of errors.
make[3]: *** [/data/genode/tool/depot/mk/build_bin_archive:213: /data/depot/checker/bin/x86_32/libmbim/2024-10-01.build/bin] Error 1
make[3]: Target 'libmbim/2024-10-01' not remade because of errors.
make[2]: *** [/data/depot/var/build.mk:16: checker/bin/x86_32/libmbim/2024-10-01] Error 2
make[2]: Target 'all' not remade because of errors.
make[1]: *** [/data/genode/tool/depot/build:159: execute_generated_build_mk_file] Error 2
make[1]: Target 'checker/bin/x86_32/libmbim/2024-10-01' not remade because of errors.
make: *** [/data/genode/tool/depot/create:59: build] Error 2
make: Target 'checker/bin/x86_32/libmbim' not remade because of errors.
alex-ab commented 1 month ago

Yes, it is related. Please add the fixup commit.