Skip to content

Missing dependecy on Ubuntu 24.04 LTS #24

@Notnaton

Description

@Notnaton

anton@desktop:~$ uv tool install whisperbox
Resolved 46 packages in 1.45s
Built pyaudio==0.2.14
Built pycairo==1.27.0 × Failed to build pygobject==3.52.2
├─▶ The build backend returned an error
╰─▶ Call to mesonpy.build_wheel failed (exit status: 1)

  [stdout]
  + meson setup
  /home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src
  /home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src/.mesonpy-xldvqq39
  -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
  -Dtests=false -Dwheel=true --wrap-mode=nofallback
  --native-file=/home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src/.mesonpy-xldvqq39/meson-python-native-file.ini
  The Meson build system
  Version: 1.7.0
  Source dir:
  /home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src
  Build dir:
  /home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src/.mesonpy-xldvqq39
  Build type: native build
  Project name: pygobject
  Project version: 3.52.2
  C compiler for the host machine: cc (gcc 13.3.0 "cc (Ubuntu
  13.3.0-6ubuntu2~24.04) 13.3.0")
  C linker for the host machine: cc ld.bfd 2.42
  Host machine cpu family: x86_64
  Host machine cpu: x86_64
  Program python3 found: YES
  (/home/anton/.cache/uv/builds-v0/.tmpm2xjeg/bin/python)
  Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
  Run-time dependency python found: YES 3.12
  Found CMake: /usr/bin/cmake (3.31.5)
  Run-time dependency girepository-2.0 found: NO (tried pkgconfig and
  cmake)
  Not looking for a fallback subproject for the dependency
  girepository-2.0 because:
  Use of fallback dependencies is disabled.

  ../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required
  but not found.

  A full log can be found at
  /home/anton/.cache/uv/sdists-v6/pypi/pygobject/3.52.2/--lYAsJa2NHAwfQg4abDk/src/.mesonpy-xldvqq39/meson-logs/meson-log.txt

  hint: This usually indicates a problem with the package or the build
  environment.

help: pygobject (v3.52.2) was included because whisperbox (v1.0.7)
depends on toga (v0.5.0) which depends on toga-gtk (v0.5.0)
which depends on pygobject

Had to install: sudo apt install libgirepository-2.0-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions