-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
emerging of sys-apps/usbredir fails with ERROR: Dependency "glib-2.0" not found, tried pkgconfig and cmake
>>> Emerging (10 of 22) sys-apps/usbredir-0.13.0::core-kit * usbredir-usbredir-0.13.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking usbredir-usbredir-0.13.0.tar.gz to /var/tmp/portage/sys-apps/usbredir-0.13.0/work >>> Source unpacked in /var/tmp/portage/sys-apps/usbredir-0.13.0/work >>> Preparing source in /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0 ... meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0 /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-0.13.0-build The Meson build system Version: 1.4.0 Source dir: /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0 Build dir: /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-0.13.0-build Build type: native build Project name: usbredir Project version: 0.13.0 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.3.0 "x86_64-pc-linux-gnu-gcc (Funtoo 12.3.0) 12.3.0") C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.40 Host machine cpu family: x86_64 Host machine cpu: x86_64 WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments -D_FORTIFY_SOURCE=2: YES Compiler for C supports arguments -fstack-protector: YES Checking if "visibility check" compiles: YES Has header "inttypes.h" : YES Has header "stdint.h" : YES Has header "stdlib.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/stat.h" : YES Has header "sys/types.h" : YES Has header "unistd.h" : YES Configuring config.h using configuration Compiler for C supports link arguments -Wl,--version-script=/var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0/usbredirparser/usbredirparser.map: YES Compiler for C supports link arguments -Wl,--no-undefined: YES Compiler for C supports link arguments -Wl,-dead_strip: NO Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 1.5.4 Compiler for C supports link arguments -Wl,--version-script=/var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0/usbredirhost/usbredirhost.map: YES Compiler for C supports link arguments -Wl,--no-undefined: YES (cached) Compiler for C supports link arguments -Wl,-dead_strip: NO (cached) Run-time dependency libusb-1.0 found: YES 1.0.27 Found CMake: /usr/bin/cmake (3.24.1) Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake) tools/meson.build:17:24: ERROR: Dependency "glib-2.0" not found, tried pkgconfig and cmake A full log can be found at /var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-0.13.0-build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. * ERROR: sys-apps/usbredir-0.13.0::core-kit failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2760: Called meson_src_configure * environment, line 1874: Called die * The specific snippet of code: * tc-env_build "$@" || die * * If you need support, post the output of `emerge --info '=sys-apps/usbredir-0.13.0::core-kit'`, * the complete build log and the output of `emerge -pqv '=sys-apps/usbredir-0.13.0::core-kit'`. * The complete build log is located at '/var/tmp/portage/sys-apps/usbredir-0.13.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/usbredir-0.13.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0' * S: '/var/tmp/portage/sys-apps/usbredir-0.13.0/work/usbredir-usbredir-0.13.0'