nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
510 stars 47 forks source link

request: blue-recorder #350

Closed colemickens closed 2 years ago

colemickens commented 2 years ago

https://github.com/xlmnxp/blue-recorder

colemickens commented 2 years ago

wip start here: https://github.com/colemickens/nixpkgs-wayland/tree/blue-recorder

colemickens commented 2 years ago
these 2 derivations will be built:
  /nix/store/8px9f766ld283jfrr4dyrhx59m29rgs1-blue-recorder-9b4ec9bb05f794043c38c7a9ef5de0203948288b.drv
  /nix/store/8glahvyjsr07a4nfdhpj2jkz3m3mx782-nixpkgs-wayland-pkgs.drv
building '/nix/store/8px9f766ld283jfrr4dyrhx59m29rgs1-blue-recorder-9b4ec9bb05f794043c38c7a9ef5de0203948288b.drv'...
blue-recorder> unpacking sources
blue-recorder> unpacking source archive /nix/store/byc66561mwrwiq3ika0pb2smb4l199sy-source
blue-recorder> source root is source
blue-recorder> Executing cargoSetupPostUnpackHook
blue-recorder> unpacking source archive /nix/store/rlhixkdl6vscc70f6zr5yls7jvdw3njq-blue-recorder-9b4ec9bb05f794043c38c7a9ef5de0203948288b-vendor.tar.gz
blue-recorder> Finished cargoSetupPostUnpackHook
blue-recorder> patching sources
blue-recorder> Executing cargoSetupPostPatchHook
blue-recorder> Validating consistency between /build/source//Cargo.lock and /build/blue-recorder-9b4ec9bb05f794043c38c7a9ef5de0203948288b-vendor.tar.gz/Cargo.lock
blue-recorder> Finished cargoSetupPostPatchHook
blue-recorder> configuring
blue-recorder> building
blue-recorder> Executing cargoBuildHook
blue-recorder> ++ env CC_x86_64-unknown-linux-gnu=/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/c++ cargo build -j 12 --target x86_64-unknown-linux-gnu --frozen --release
blue-recorder>    Compiling proc-macro2 v1.0.28
blue-recorder>    Compiling unicode-xid v0.2.2
blue-recorder>    Compiling syn v1.0.74
blue-recorder>    Compiling serde v1.0.127
blue-recorder>    Compiling serde_derive v1.0.127
blue-recorder>    Compiling unicode-segmentation v1.8.0
blue-recorder>    Compiling libc v0.2.99
blue-recorder>    Compiling pkg-config v0.3.19
blue-recorder>    Compiling version-compare v0.0.10
blue-recorder>    Compiling strum v0.18.0
blue-recorder>    Compiling memchr v2.4.0
blue-recorder>    Compiling autocfg v1.0.1
blue-recorder>    Compiling bitflags v1.2.1
blue-recorder>    Compiling futures-core v0.3.16
blue-recorder>    Compiling proc-macro-hack v0.5.19
blue-recorder>    Compiling version_check v0.9.3
blue-recorder>    Compiling futures-io v0.3.16
blue-recorder>    Compiling pin-project-lite v0.2.7
blue-recorder>    Compiling proc-macro-nested v0.1.7
blue-recorder>    Compiling futures-channel v0.3.16
blue-recorder>    Compiling futures-task v0.3.16
blue-recorder>    Compiling futures-sink v0.3.16
blue-recorder>    Compiling slab v0.4.4
blue-recorder>    Compiling cc v1.0.69
blue-recorder>    Compiling pin-utils v0.1.0
blue-recorder>    Compiling cfg-if v1.0.0
blue-recorder>    Compiling log v0.4.14
blue-recorder>    Compiling anyhow v1.0.42
blue-recorder>    Compiling once_cell v1.8.0
blue-recorder>    Compiling either v1.6.1
blue-recorder>    Compiling version_check v0.1.5
blue-recorder>    Compiling glob v0.3.0
blue-recorder>    Compiling unicode-width v0.1.8
blue-recorder>    Compiling regex-syntax v0.6.25
blue-recorder>    Compiling quick-error v1.2.3
blue-recorder>    Compiling vec_map v0.8.2
blue-recorder>    Compiling termcolor v1.1.2
blue-recorder>    Compiling strsim v0.8.0
blue-recorder>    Compiling ansi_term v0.11.0
blue-recorder>    Compiling bindgen v0.52.0
blue-recorder>    Compiling gio v0.9.1
blue-recorder>    Compiling cairo-rs v0.9.1
blue-recorder>    Compiling gdk-pixbuf v0.9.0
blue-recorder>    Compiling pango v0.9.1
blue-recorder>    Compiling peeking_take_while v0.1.2
blue-recorder>    Compiling rustc-hash v1.1.0
blue-recorder>    Compiling lazy_static v1.4.0
blue-recorder>    Compiling cfg-if v0.1.10
blue-recorder>    Compiling shlex v0.1.1
blue-recorder>    Compiling ppv-lite86 v0.2.10
blue-recorder>    Compiling lazycell v1.3.0
blue-recorder>    Compiling gdk v0.13.2
blue-recorder>    Compiling temp-dir v0.1.11
blue-recorder>    Compiling atk v0.9.0
blue-recorder>    Compiling fastrand v1.5.0
blue-recorder>    Compiling waker-fn v1.1.0
blue-recorder>    Compiling parking v2.0.0
blue-recorder>    Compiling cache-padded v1.1.1
blue-recorder>    Compiling ahash v0.4.7
blue-recorder>    Compiling static_assertions v1.1.0
blue-recorder>    Compiling byteorder v1.4.3
blue-recorder>    Compiling scoped-tls v1.0.0
blue-recorder>    Compiling heck v0.3.3
blue-recorder>    Compiling futures-macro v0.3.16
blue-recorder>    Compiling futures-util v0.3.16
blue-recorder>    Compiling num-traits v0.2.14
blue-recorder>    Compiling memoffset v0.6.4
blue-recorder>    Compiling num-integer v0.1.44
blue-recorder>    Compiling itertools v0.9.0
blue-recorder>    Compiling textwrap v0.11.0
blue-recorder>    Compiling gtk v0.9.2
blue-recorder>    Compiling humantime v1.3.0
blue-recorder>    Compiling proc-macro-error-attr v1.0.4
blue-recorder>    Compiling proc-macro-error v1.0.4
blue-recorder>    Compiling nom v4.2.3
blue-recorder>    Compiling concurrent-queue v1.2.2
blue-recorder>    Compiling clang-sys v0.28.1
blue-recorder>    Compiling hashbrown v0.9.1
blue-recorder>    Compiling libloading v0.5.2
blue-recorder>    Compiling gettext-sys v0.21.2
blue-recorder>    Compiling quote v1.0.9
blue-recorder>    Compiling aho-corasick v0.7.18
blue-recorder>    Compiling futures-lite v1.12.0
blue-recorder>    Compiling regex v1.5.4
blue-recorder>    Compiling getrandom v0.2.3
blue-recorder>    Compiling socket2 v0.4.1
blue-recorder>    Compiling polling v2.1.0
blue-recorder>    Compiling nix v0.20.2
blue-recorder>    Compiling time v0.1.44
blue-recorder>    Compiling subprocess v0.2.7
blue-recorder>    Compiling atty v0.2.14
blue-recorder>    Compiling which v3.1.1
blue-recorder>    Compiling cexpr v0.3.6
blue-recorder>    Compiling rand_core v0.6.3
blue-recorder>    Compiling nb-connect v1.2.0
blue-recorder>    Compiling async-io v1.6.0
blue-recorder>    Compiling clap v2.33.3
blue-recorder>    Compiling locale_config v0.3.0
blue-recorder>    Compiling chrono v0.4.19
blue-recorder>    Compiling rand_chacha v0.3.1
blue-recorder>    Compiling env_logger v0.7.1
blue-recorder>    Compiling rand v0.8.4
blue-recorder>    Compiling dlv-list v0.2.3
blue-recorder>    Compiling ordered-multimap v0.3.1
blue-recorder>    Compiling rust-ini v0.16.1
blue-recorder>    Compiling thiserror-impl v1.0.26
blue-recorder>    Compiling strum_macros v0.18.0
blue-recorder>    Compiling enumflags2_derive v0.6.4
blue-recorder>    Compiling derivative v2.2.0
blue-recorder>    Compiling serde_repr v0.1.7
blue-recorder>    Compiling thiserror v1.0.26
blue-recorder>    Compiling libappindicator-sys v0.5.0
blue-recorder>    Compiling futures-executor v0.3.16
blue-recorder>    Compiling futures v0.3.16
blue-recorder>    Compiling toml v0.5.8
blue-recorder>    Compiling enumflags2 v0.6.4
blue-recorder>    Compiling system-deps v1.3.2
blue-recorder>    Compiling proc-macro-crate v0.1.5
blue-recorder>    Compiling proc-macro-crate v1.0.0
blue-recorder>    Compiling glib-macros v0.10.1
blue-recorder>    Compiling zvariant_derive v2.10.0
blue-recorder>    Compiling zbus_macros v1.9.2
blue-recorder>    Compiling glib-sys v0.10.1
blue-recorder>    Compiling gobject-sys v0.10.0
blue-recorder>    Compiling gio-sys v0.10.1
blue-recorder>    Compiling gdk-pixbuf-sys v0.10.0
blue-recorder>    Compiling cairo-sys-rs v0.10.0
blue-recorder>    Compiling pango-sys v0.10.0
blue-recorder>    Compiling gdk-sys v0.10.0
blue-recorder>    Compiling atk-sys v0.10.0
blue-recorder>    Compiling gtk-sys v0.10.0
blue-recorder> error: failed to run custom build command for `libappindicator-sys v0.5.0`
blue-recorder> Caused by:
blue-recorder>   process didn't exit successfully: `/build/source/target/release/build/libappindicator-sys-cabbe39211aa7366/build-script-build` (exit status: 101)
blue-recorder>   --- stdout
blue-recorder>   cargo:rustc-link-lib=appindicator3
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_NO_PKG_CONFIG
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_STATIC
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_NO_PKG_CONFIG
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_STATIC
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=SYSROOT
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_STATIC
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
blue-recorder>   cargo:rustc-link-search=native=/nix/store/xjsngws1xq2d2579w3l5w10ycsajzq4x-glib-2.72.3/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/13a494yrpwn70rra8q4wfsjq5204bq56-cairo-1.16.0/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/h1lsc49hyjyajg9wq0xa86hgsfmzmlrj-pango-1.50.8/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/4sjg2pkv93qrfjxvx3q8alncwabanflx-harfbuzz-5.1.0/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/c903acgzl42rvqmzh2rr8lzdwgrp8xhm-atk-2.38.0/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/7wb0cghx910ii59b5q2if5w2wjq358b8-gdk-pixbuf-2.42.8/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/3p09iraivlnyzslz4azfyh0cx1i1fjwn-gtk+3-3.24.34/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/ninfsbqsn5gvnd31xwpblybkhb9737w1-libappindicator-gtk3-12.10.1+20.10.20200706.1/lib
blue-recorder>   cargo:rustc-link-search=native=/nix/store/rjdngqnrlnjmwvi8wh31nim6k1qhf01q-libdbusmenu-gtk3-16.04.0/lib
blue-recorder>   cargo:rustc-link-lib=appindicator3
blue-recorder>   cargo:rustc-link-lib=dbusmenu-glib
blue-recorder>   cargo:rustc-link-lib=gtk-3
blue-recorder>   cargo:rustc-link-lib=gdk-3
blue-recorder>   cargo:rustc-link-lib=z
blue-recorder>   cargo:rustc-link-lib=pangocairo-1.0
blue-recorder>   cargo:rustc-link-lib=pango-1.0
blue-recorder>   cargo:rustc-link-lib=harfbuzz
blue-recorder>   cargo:rustc-link-lib=atk-1.0
blue-recorder>   cargo:rustc-link-lib=cairo-gobject
blue-recorder>   cargo:rustc-link-lib=cairo
blue-recorder>   cargo:rustc-link-lib=gdk_pixbuf-2.0
blue-recorder>   cargo:rustc-link-lib=gio-2.0
blue-recorder>   cargo:rustc-link-lib=gobject-2.0
blue-recorder>   cargo:rustc-link-lib=glib-2.0
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_STATIC
blue-recorder>   cargo:rerun-if-env-changed=APPINDICATOR3_0.1_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
blue-recorder>   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
blue-recorder>   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
blue-recorder>   --- stderr
blue-recorder>   /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0/glib/gmacros.h:38:10: fatal error: 'stddef.h' file not found
blue-recorder>   /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0/glib/gmacros.h:38:10: fatal error: 'stddef.h' file not found, err: true
blue-recorder>   thread 'main' panicked at 'Unable to generate bindings: ()', /build/blue-recorder-9b4ec9bb05f794043c38c7a9ef5de0203948288b-vendor.tar.gz/libappindicator-sys/build.rs:21:44
blue-recorder>   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
blue-recorder> warning: build failed, waiting for other jobs to finish...
error: interrupted by the user
colemickens commented 2 years ago

yeah, so literally the first line of code of blue-recorder forces GDK_BACKEND to x11 so, I'm deleting this branch.