Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: pwvucontrol #299976

Closed
RAVENz46 opened this issue Mar 29, 2024 · 3 comments
Closed

Build failure: pwvucontrol #299976

RAVENz46 opened this issue Mar 29, 2024 · 3 comments
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR

Comments

@RAVENz46
Copy link
Member

Steps To Reproduce

Steps to reproduce the behavior:

  1. build pwvucontrol

Build log

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/nzz9y0v5rj2dd4w67hrj6icp4mlc4gdz-pwvucontrol-0.2.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/j59swcdi95hq6pys5y53ihjvj0lqmyh9-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
mesonConfigurePhase flags: --prefix=/nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2 --libdir=/nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/lib --libexecdir=/nix/sto>
The Meson build system
Version: 1.3.2
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: pwvucontrol
Project version: 0.1.0
Rust compiler for the host machine: rustc -C linker=gcc (rustc 1.76.0)
Rust linker for the host machine: rustc -C linker=gcc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/nix/store/zwkj99kd2dzccjvnclys91cvs5cg9cib-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
Run-time dependency glib-2.0 found: YES 2.78.4
Run-time dependency gio-2.0 found: YES 2.78.4
Run-time dependency gtk4 found: YES 4.12.5
Program glib-compile-resources found: YES (/nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-resources)
Program glib-compile-schemas found: YES (/nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-schemas)
Program desktop-file-validate found: YES (/nix/store/r7y0jppwxbs5jjbhqbi2i0cwgnmmdmqs-desktop-file-utils-0.27/bin/desktop-file-validate)
Program appstream-util found: NO
Program cargo found: YES (/nix/store/lpkynwgxadmdbqqf69n5lgmiqdancxq9-cargo-1.76.0/bin/cargo)
Dependency gio-2.0 found: YES 2.78.4 (cached)
Program /nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-resources found: YES (/nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-resour>
Configuring com.saivert.pwvucontrol.desktop.in using configuration
Program msgfmt found: YES (/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1/bin/msgfmt)
Configuring com.saivert.pwvucontrol.metainfo.xml.in using configuration
Configuring com.saivert.pwvucontrol.gschema.xml using configuration
Program msginit found: YES (/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1/bin/msginit)
Program msgmerge found: YES (/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1/bin/msgmerge)
Program xgettext found: YES (/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1/bin/xgettext)
Configuring config.rs using configuration
Message: Building in release mode
Dependency gio-2.0 found: YES 2.78.4 (cached)
Program /nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-schemas found: YES (/nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/nix/store/hyjkplbybmw0f6q85sa3xhdrvjvcb2wp-gtk4-4.12.5/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/nix/store/r7y0jppwxbs5jjbhqbi2i0cwgnmmdmqs-desktop-file-utils-0.27/bin/update-desktop-database)
Build targets in project: 11

pwvucontrol 0.1.0

  User defined options
    auto_features: enabled
    bindir       : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/bin
    buildtype    : plain
    includedir   : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/include
    infodir      : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/share/info
    libdir       : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/lib
    libexecdir   : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/libexec
    localedir    : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/share/locale
    mandir       : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/share/man
    prefix       : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2
    sbindir      : /nix/store/f6y75x5yjzm5zawxzp0jhvrnffhfb56q-pwvucontrol-0.2/sbin
    wrap_mode    : nodownload

Found ninja-1.11.1 at /nix/store/sxkp17y5ilj8j2kabc6lh74d6v0mhpgq-ninja-1.11.1/bin/ninja
mesonConfigurePhase: enabled\ parallel\ building
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: -j12
[0/7] Generating data/dev-schema with a custom command
[2/7] Building translation po/nb/LC_MESSAGES/pwvucontrol-nb.mo
[4/7] Generating data/resources/resources_gresource with a custom command
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[4/7] Generating src/cargo-build with a custom command
   Compiling serde v1.0.183
   Compiling hashbrown v0.14.0
   Compiling equivalent v1.0.1
   Compiling winnow v0.5.4
   Compiling target-lexicon v0.12.11
   Compiling smallvec v1.11.0
   Compiling heck v0.4.1
   Compiling pkg-config v0.3.27
   Compiling version-compare v0.1.1
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling syn v1.0.109
   Compiling libc v0.2.147
   Compiling autocfg v1.1.0
   Compiling memchr v2.5.0
   Compiling version_check v0.9.4
   Compiling glob v0.3.1
   Compiling futures-core v0.3.28
   Compiling indexmap v2.0.0
   Compiling pin-utils v0.1.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling clang-sys v1.6.1
   Compiling cfg-expr v0.15.4
   Compiling quote v1.0.32
   Compiling slab v0.4.8
   Compiling syn v2.0.28
   Compiling regex-syntax v0.7.4
   Compiling minimal-lexical v0.2.1
   Compiling cc v1.0.82
   Compiling futures-task v0.3.28
   Compiling futures-channel v0.3.28
   Compiling nom v7.1.3
   Compiling proc-macro-error v1.0.4
   Compiling futures-sink v0.3.28
   Compiling bindgen v0.64.0
   Compiling futures-util v0.3.28
   Compiling futures-io v0.3.28
   Compiling bitflags v1.3.2
   Compiling once_cell v1.18.0
   Compiling lazy_static v1.4.0
   Compiling pin-project-lite v0.2.12
   Compiling peeking_take_while v0.1.2
   Compiling rustc-hash v1.1.0
   Compiling shlex v1.1.0
   Compiling lazycell v1.3.0
   Compiling thiserror v1.0.44
   Compiling bitflags v2.3.3
   Compiling log v0.4.19
   Compiling semver v1.0.18
   Compiling gio v0.18.1
   Compiling anyhow v1.0.72
   Compiling memoffset v0.9.0
   Compiling memoffset v0.7.1
   Compiling typenum v1.16.0
   Compiling aho-corasick v1.0.3
   Compiling temp-dir v0.1.11
   Compiling rustc_version v0.4.0
   Compiling gettext-sys v0.21.3
   Compiling unicode-segmentation v1.10.1
   Compiling regex-automata v0.3.6
   Compiling field-offset v0.3.6
   Compiling cexpr v0.6.0
   Compiling cfg-if v1.0.0
   Compiling static_assertions v1.1.0
   Compiling nix v0.26.2
   Compiling toml_datetime v0.6.3
   Compiling serde_spanned v0.6.3
   Compiling toml_edit v0.19.14
   Compiling convert_case v0.6.0
   Compiling bitmaps v2.1.0
   Compiling wireplumber v0.1.0 (https://github.com/saivert/wireplumber.rs.git?branch=use_pipewire_from_git#8dbf383c)
   Compiling im-rc v15.1.0
   Compiling rand_core v0.6.4
   Compiling cookie-factory v0.3.2
   Compiling regex v1.9.3
   Compiling rand_xoshiro v0.6.0
   Compiling sized-chunks v0.6.5
   Compiling toml v0.7.6
   Compiling system-deps v6.1.1
   Compiling futures-macro v0.3.28
   Compiling thiserror-impl v1.0.44
   Compiling proc-macro-crate v1.3.1
   Compiling glib-sys v0.18.1
   Compiling gobject-sys v0.18.0
   Compiling gio-sys v0.18.1
   Compiling glib-macros v0.18.0
   Compiling cairo-sys-rs v0.18.0
   Compiling pango-sys v0.18.0
   Compiling gdk-pixbuf-sys v0.18.0
   Compiling gdk4-sys v0.7.1
   Compiling graphene-sys v0.18.1
   Compiling gsk4-sys v0.7.0
   Compiling gtk4-sys v0.7.0
   Compiling libspa v0.6.0 (https://gitlab.freedesktop.org/saivert/pipewire-rs?branch=misc_fixes#46bfbd8b)
   Compiling libadwaita-sys v0.5.2
   Compiling wireplumber-sys v0.1.0 (https://github.com/saivert/wireplumber.rs.git?branch=use_pipewire_from_git#8dbf383c)
   Compiling gtk4-macros v0.7.1
   Compiling futures-executor v0.3.28
   Compiling locale_config v0.3.0
   Compiling futures v0.3.28
   Compiling gettext-rs v0.7.0
   Compiling libspa-sys v0.6.0 (https://gitlab.freedesktop.org/saivert/pipewire-rs?branch=misc_fixes#46bfbd8b)
   Compiling pipewire-sys v0.6.0 (https://gitlab.freedesktop.org/saivert/pipewire-rs?branch=misc_fixes#46bfbd8b)
   Compiling glib v0.18.1
   Compiling cairo-rs v0.18.0
   Compiling graphene-rs v0.18.1
The following warnings were emitted during compilation:

warning: wireplumber-sys@0.1.0: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_PATH="/nix/store/jj89brz1yhzc64lkwcgv6f7qll13jjv5-gtk4-4.12.5-dev/lib/pkgconfig:/nix/store/fpn5fjysjlllm2j4hk3y>

error: failed to run custom build command for `wireplumber-sys v0.1.0 (https://github.com/saivert/wireplumber.rs.git?branch=use_pipewire_from_git#8dbf383c)`

Caused by:
  process didn't exit successfully: `/build/source/build/src/release/build/wireplumber-sys-24b153c138ff1e76/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=WIREPLUMBER_0.4_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:warning=`PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_PATH="/nix/store/jj89brz1yhzc64lkwcgv6f7qll13jjv5-gtk4-4.12.5-dev/lib/pkgconfig:/nix/store/fpn5fjysjlllm2j4hk3yx7vr064m6lyv-cai>
  error: could not find system library 'wireplumber-0.4' required by the 'wireplumber-sys' crate

  --- stderr
  Package wireplumber-0.4 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `wireplumber-0.4.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'wireplumber-0.4' found
  Package wireplumber-0.4 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `wireplumber-0.4.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'wireplumber-0.4' found

warning: build failed, waiting for other jobs to finish...
[6/7] Merging translations for data/com.saivert.pwvucontrol.metainfo.xml
FAILED: src/pwvucontrol 
/nix/store/43dnc4h7x0p8ybaq38aaxkhy722kzrx2-coreutils-9.4/bin/env CARGO_HOME=/build/source/build/cargo-home CODEGEN_BUILD_DIR=/build/source/build/src /nix/store/lpkynwgxadmdbqqf69n5lgmiqdanc>
ninja: build stopped: subcommand failed.

Notify maintainers

@figsoda

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.1, NixOS, 24.05 (Uakari), 24.05.20240327.2726f12`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/y45vqv6pa8bhgag1dw86rvi6rk55xhxn-source`

Add a 👍 reaction to issues you find important.

@RAVENz46 RAVENz46 added the 0.kind: build failure A package fails to build label Mar 29, 2024
@alyraffauf
Copy link
Contributor

alyraffauf commented Mar 30, 2024

Looks like it's probably related to the wireplumber update to 0.5.0. Pwvucontrol in nixpkgs is out of date, so I built the latest master branch from their repo manually and it still failed to compile.

  The system library `wireplumber-0.4` required by crate `wireplumber-sys` was not found.
  The file `wireplumber-0.4.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  PKG_CONFIG_PATH_FOR_TARGET contains the following:
      - /nix/store/jj89brz1yhzc64lkwcgv6f7qll13jjv5-gtk4-4.12.5-dev/lib/pkgconfig
      - /nix/store/fpn5fjysjlllm2j4hk3yx7vr064m6lyv-cairo-1.18.0-dev/lib/pkgconfig
      - /nix/store/39hr2fzdxa4l77vl1k7h1wbb1iir2y92-fontconfig-2.15.0-dev/lib/pkgconfig
      - /nix/store/4ndywwxb09cr0dan563jq0s1m933b34h-freetype-2.13.2-dev/lib/pkgconfig
      - /nix/store/6gbq1krsayq346c7lccn2lbpv74ljqwz-zlib-1.3.1-dev/lib/pkgconfig
      - /nix/store/afpmkssdi4j4354v2xngc4iqr8fvdlgy-bzip2-1.0.8-dev/lib/pkgconfig
      - /nix/store/mg0d0qpsqnvjrb2g08cpsr5wc5mibgrj-brotli-1.1.0-dev/lib/pkgconfig
      - /nix/store/bm6sw1h5f7ddy8qjmwzs3wbqppdqglkx-libpng-apng-1.6.43-dev/lib/pkgconfig
      - /nix/store/aldmf9w7jiss99b93dfndd1nsb9s5qn7-pixman-0.43.4/lib/pkgconfig
      - /nix/store/4faf1z4b3g67y7c9hq9zmlq2h0qg88gi-libXext-1.3.6-dev/lib/pkgconfig
      - /nix/store/67n916xpbam6vvwq4wbls5y0lz005wkq-xorgproto-2023.2/share/pkgconfig
      - /nix/store/0h2l5d8rbhdcs4hmimdjjy4dnxf2bjwg-libXau-1.0.11-dev/lib/pkgconfig
      - /nix/store/akb7bpy6qm8s4hgfx6r8d64mhzm6qwzb-libXrender-0.9.11-dev/lib/pkgconfig
      - /nix/store/c122xiygvrcrp90d4hb1fhmx499c89ha-libX11-1.8.7-dev/lib/pkgconfig
      - /nix/store/1fwln3g31q97kj79q6jsa337dwld11dc-libxcb-1.16-dev/lib/pkgconfig
      - /nix/store/f13s3bc6qna2q4qmrgvqg1b4mcr1rzjp-glib-2.78.4-dev/lib/pkgconfig
      - /nix/store/0ysih9086ryzavixvdnprzzsp22ysrpa-libffi-3.4.6-dev/lib/pkgconfig
      - /nix/store/62rk1lcryki539590a8pj9pysp6awvs7-gdk-pixbuf-2.42.10-dev/lib/pkgconfig
      - /nix/store/2rwl36fgg4vqxx4nh345ks4fn9fzafd4-libtiff-4.6.0-dev/lib/pkgconfig
      - /nix/store/6lfbv2p3abhxswg4vh0h1jwrsxmn78bk-libdeflate-1.19/lib/pkgconfig
      - /nix/store/xksns72v3b0g736bz9yfwgxx1wf2501l-libjpeg-turbo-3.0.2-dev/lib/pkgconfig
      - /nix/store/xcmzy20fnvnp4i9qksp33bj24x2fw0r2-xz-5.6.1-dev/lib/pkgconfig
      - /nix/store/kasclbqy0z6619ygvh2169i7ix511da7-graphene-1.10.8-dev/lib/pkgconfig
      - /nix/store/6d6kbxpkdy3yhks07hg6rihyg4aw9bbk-pango-1.51.0-dev/lib/pkgconfig
      - /nix/store/x4qm5fbzchx752fs6sn7h4csx66jr619-harfbuzz-8.3.0-dev/lib/pkgconfig
      - /nix/store/dzpw4hs48xb8lrn6zx9sjf1yb980yfgi-graphite2-1.3.14-dev/lib/pkgconfig
      - /nix/store/467zndmbypjznf7ryvfxs5wb2ag1r5fg-libXft-2.3.8-dev/lib/pkgconfig
      - /nix/store/1902apvlsax7sr5mk3sfji3m0dwb3zva-wayland-1.22.0-dev/lib/pkgconfig
      - /nix/store/zi4yi7s1idx5pqrp9mh7ap30s6nrkzwa-wayland-1.22.0-bin/lib/pkgconfig
      - /nix/store/dww77ywm1zj2q2h2l2xifr40fgsk1k7y-gsettings-desktop-schemas-45.0/share/pkgconfig
      - /nix/store/rp3spl5xxp9y8x6k9z4gb0fc70naa2l1-librsvg-2.57.1-dev/lib/pkgconfig
      - /nix/store/xg930hrhcns0dp39q227dsq6n9wdfm54-libadwaita-1.4.4-dev/lib/pkgconfig
      - /nix/store/grv7769da006da7szp4xnry9vb3zvny4-pipewire-1.0.4-dev/lib/pkgconfig
      - /nix/store/9cfjqfcq0q1yqd2zzyaqiwa27is811lb-wireplumber-0.5.0-dev/lib/pkgconfig

  HINT: you may need to install a package such as wireplumber-0.4, wireplumber-0.4-dev or wireplumber-0.4-devel.

warning: build failed, waiting for other jobs to finish...
FAILED: src/pwvucontrol
/nix/store/43dnc4h7x0p8ybaq38aaxkhy722kzrx2-coreutils-9.4/bin/env CARGO_HOME=/home/aly/pwvucontrol/builder/cargo-home CODEGEN_BUILD_DIR=/home/aly/pwvucontrol/builder/src /nix/store/lpkynwgxadmdbqqf69n5lgmiqdancxq9-cargo-1.76.0/bin/cargo build --manifest-path /home/aly/pwvucontrol/Cargo.toml --target-dir /home/aly/pwvucontrol/builder/src --release && cp src/release/pwvucontrol src/pwvucontrol
ninja: build stopped: subcommand failed.

In that case, this looks like an upstream problem with pwvucontrol or the wireplumber-sys crate they're using having a hard requirement for an out-of-date version of wireplumber.

@lolbinarycat
Copy link
Contributor

checked #278760 and it seems nixpkgs-reviewwas never run, which would have caught this.

@Guanran928
Copy link
Contributor

Duplicate of #297574

@Guanran928 Guanran928 marked this as a duplicate of #297574 Apr 1, 2024
@Guanran928 Guanran928 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
@Guanran928 Guanran928 added the 2.status: duplicate This is a duplicate of another issue or PR label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

4 participants