NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.05k stars 14.09k forks source link

Build failure: `authenticator-4.1.6` #216020

Closed paveloom closed 1 year ago

paveloom commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build authenticator-4.1.6.

Build log

[user@system:~]$ sudo nixos-rebuild switch -v --flake .
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.vPTCvC/nixos-rebuild .#nixosConfigurations."laptop".config.system.build.nixos-rebuild -v
warning: Git tree '/home/paveloom/Repositories/paveloom/dotfiles' is dirty
$ exec /nix/store/wlq4dgqspz9n5xcdm5sx45g2119hyxc3-nixos-rebuild/bin/nixos-rebuild switch -v --flake .
building the system configuration...
Building in flake mode.
$ nix --extra-experimental-features nix-command flakes build .#nixosConfigurations."laptop".config.system.build.toplevel -v --out-link /tmp/nixos-rebuild.0EiDuK/result
warning: Git tree '/home/paveloom/Repositories/paveloom/dotfiles' is dirty
these 10 derivations will be built:
  /nix/store/6ggp7ahwjnkl6py03llck786qjilbwih-authenticator-4.1.6.drv
  /nix/store/yx2kfdxrqwg7ap5c3pgy4k8xh1wxd9lx-home-manager-path.drv
  /nix/store/nbddnqf1b8lxzrdyq5k5mp7xfw90whmb-hm_fontconfigconf.d10hmfonts.conf.drv
  /nix/store/ggl3b004vr35q55kj743gfw256b550dq-home-manager-files.drv
  /nix/store/cwqm2af38qd8jyag1saliia87qgd7gr9-home-manager-generation.drv
  /nix/store/y3bf6x9g0a2zby2m06l2c7r16l2rd0nc-unit-home-manager-paveloom.service.drv
  /nix/store/7gj77gd8ar25ihmq3f5qlv549win354l-system-units.drv
  /nix/store/k21mg3q7p5vm9adh6hf35m00hv9ihlww-user-environment.drv
  /nix/store/hpyl5gdi3frg5zjqazlwrx177kf2hb5s-etc.drv
  /nix/store/cp44g7v4fjmbqwjiagfpxzmwy4698vn8-nixos-system-laptop-23.05.20230203.0699920.drv
building '/nix/store/6ggp7ahwjnkl6py03llck786qjilbwih-authenticator-4.1.6.drv'...
error: builder for '/nix/store/6ggp7ahwjnkl6py03llck786qjilbwih-authenticator-4.1.6.drv' failed with exit code 1;
       last 10 log lines:
       >     |                    --------------------------------------------- similarly named constant `PW_KEY_NODE_NAME` defined here
       >
       >    Compiling image v0.23.14
       > For more information about this error, try `rustc --explain E0425`.
       > error: could not compile `pipewire` due to previous error
       > warning: build failed, waiting for other jobs to finish...
       > [43/44] Generating data/com.belmoussaoui.Authenticator.metainfo.xml with a custom command
       > FAILED: src/authenticator
       > /nix/store/lljkbrqh1nkayprky3lrigj0fbxj35rv-coreutils-9.1/bin/env CARGO_HOME=/build/source/build/cargo-home /nix/store/yga9pp0ir4g74p6fv37500pi1jif9gkb-cargo-1.66.1/bin/cargo build --manifest-path /build/source/Cargo.toml --target-dir /build/source/build/src --release && cp src/release/authenticator src/authenticator
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/6ggp7ahwjnkl6py03llck786qjilbwih-authenticator-4.1.6.drv'.
error: 1 dependencies of derivation '/nix/store/yx2kfdxrqwg7ap5c3pgy4k8xh1wxd9lx-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cwqm2af38qd8jyag1saliia87qgd7gr9-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k21mg3q7p5vm9adh6hf35m00hv9ihlww-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hpyl5gdi3frg5zjqazlwrx177kf2hb5s-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cp44g7v4fjmbqwjiagfpxzmwy4698vn8-nixos-system-laptop-23.05.20230203.0699920.drv' failed to build
[user@system:~]$ nix log /nix/store/6ggp7ahwjnkl6py03llck786qjilbwih-authenticator-4.1.6.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/hpcy8rs8cz2x00z0pkdq767yw7q16962-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/hhwga803dngm9b40di6s6lqc87346aia-authenticator-4.1.6-vendor.tar.gz
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/authenticator-4.1.6-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/lib --libexecdir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/libexec         --bindir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/bin --sbindir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/sbin         --includedir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/include         --mandir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/share/man --infodir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/share/info         --localedir=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6/share/locale         -Dauto_features=enabled         -Dwrap_mode=nodownload         --prefix=/nix/store/3m0v13hwv4640rhmxhlmzqlxrx0m85fr-authenticator-4.1.6
The Meson build system
Version: 0.64.1
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: authenticator
Project version: 4.1.6
Rust compiler for the host machine: rustc -C linker=gcc (rustc 1.66.1)
Rust linker for the host machine: rustc -C linker=gcc ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /nix/store/v73ppkjk196bwsjm6yy9yv80bdq7q68v-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.74.3
Run-time dependency gio-2.0 found: YES 2.74.3
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10
Run-time dependency gtk4 found: YES 4.8.3
Run-time dependency libadwaita-1 found: YES 1.2.1
Run-time dependency zbar found: YES 0.23.91
Run-time dependency gstreamer-1.0 found: YES 1.20.3
Run-time dependency gstreamer-base-1.0 found: YES 1.20.3
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.20.3
Run-time dependency gstreamer-plugins-bad-1.0 found: YES 1.20.3
Program cargo found: YES (/nix/store/yga9pp0ir4g74p6fv37500pi1jif9gkb-cargo-1.66.1/bin/cargo)
Program glib-compile-schemas found: YES (/nix/store/24m8ipf4xxb9jwymppgzj9ksgaknkz4n-glib-2.74.3-dev/bin/glib-compile-schemas)
Program glib-compile-resources found: YES (/nix/store/24m8ipf4xxb9jwymppgzj9ksgaknkz4n-glib-2.74.3-dev/bin/glib-compile-resources)
Program msgfmt found: YES (/nix/store/b7fmxwwy243r6iakqcpr2kxqh8aslnxd-gettext-0.21/bin/msgfmt)
Program msginit found: YES (/nix/store/b7fmxwwy243r6iakqcpr2kxqh8aslnxd-gettext-0.21/bin/msginit)
Program msgmerge found: YES (/nix/store/b7fmxwwy243r6iakqcpr2kxqh8aslnxd-gettext-0.21/bin/msgmerge)
Program xgettext found: YES (/nix/store/b7fmxwwy243r6iakqcpr2kxqh8aslnxd-gettext-0.21/bin/xgettext)
Found pkg-config: /nix/store/v73ppkjk196bwsjm6yy9yv80bdq7q68v-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Program glib-compile-resources found: YES (/nix/store/24m8ipf4xxb9jwymppgzj9ksgaknkz4n-glib-2.74.3-dev/bin/glib-compile-resources)
Configuring com.belmoussaoui.Authenticator.gschema.xml using configuration
Configuring com.belmoussaoui.Authenticator.desktop.in using configuration
Program desktop-file-validate found: YES (/nix/store/h0hgwa1s9lmap22vnj648zja6yijblcy-desktop-file-utils-0.26/bin/desktop-file-validate)
Configuring com.belmoussaoui.Authenticator.metainfo.xml.in using configuration
Program appstream-util found: YES (/nix/store/pbkmaxmj0nay4ib2dnirw0g146x5hn4q-appstream-glib-0.8.2-dev/bin/appstream-util)
Configuring com.belmoussaoui.Authenticator.SearchProvider.service using configuration
Configuring com.belmoussaoui.Authenticator.search-provider.ini using configuration
Configuring config.rs using configuration
Message: Building in release mode
Dependency gio-2.0 found: YES 2.74.3 (cached)
Program glib-compile-schemas found: YES (/nix/store/24m8ipf4xxb9jwymppgzj9ksgaknkz4n-glib-2.74.3-dev/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/nix/store/n1k0lx3r6s30w4qmijsifna8p3jlkrxk-gtk4-4.8.3/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/nix/store/h0hgwa1s9lmap22vnj648zja6yijblcy-desktop-file-utils-0.26/bin/update-desktop-database)
Build targets in project: 47

authenticator 4.1.6

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

Found ninja-1.11.1 at /nix/store/gdfxcgs196s73k3gldf48haazr6vvxbi-ninja-1.11.1/bin/ninja
meson: enabled parallel building
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j16
[1/44] Generating po/ca/LC_MESSAGES/authenticator-ca.mo with a custom command
[2/44] Generating po/da/LC_MESSAGES/authenticator-da.mo with a custom command
[3/44] Generating po/el/LC_MESSAGES/authenticator-el.mo with a custom command
[4/44] Generating po/gl/LC_MESSAGES/authenticator-gl.mo with a custom command
[5/44] Generating po/ar/LC_MESSAGES/authenticator-ar.mo with a custom command
[6/44] Generating po/cs/LC_MESSAGES/authenticator-cs.mo with a custom command
[7/44] Generating po/de/LC_MESSAGES/authenticator-de.mo with a custom command
[8/44] Generating po/en_GB/LC_MESSAGES/authenticator-en_GB.mo with a custom command
[9/44] Generating po/es/LC_MESSAGES/authenticator-es.mo with a custom command
[10/44] Generating po/eu/LC_MESSAGES/authenticator-eu.mo with a custom command
[11/44] Generating po/fi/LC_MESSAGES/authenticator-fi.mo with a custom command
[12/44] Generating po/fur/LC_MESSAGES/authenticator-fur.mo with a custom command
[13/44] Generating po/he/LC_MESSAGES/authenticator-he.mo with a custom command
[14/44] Generating po/hr/LC_MESSAGES/authenticator-hr.mo with a custom command
[15/44] Generating po/hu/LC_MESSAGES/authenticator-hu.mo with a custom command
[16/44] Generating po/fr/LC_MESSAGES/authenticator-fr.mo with a custom command
[17/44] Generating po/id/LC_MESSAGES/authenticator-id.mo with a custom command
[18/44] Generating po/ja/LC_MESSAGES/authenticator-ja.mo with a custom command
[19/44] Generating po/ko/LC_MESSAGES/authenticator-ko.mo with a custom command
[20/44] Generating po/it/LC_MESSAGES/authenticator-it.mo with a custom command
[21/44] Generating po/ms/LC_MESSAGES/authenticator-ms.mo with a custom command
[22/44] Generating po/oc/LC_MESSAGES/authenticator-oc.mo with a custom command
[23/44] Generating po/nb/LC_MESSAGES/authenticator-nb.mo with a custom command
[24/44] Generating po/nl/LC_MESSAGES/authenticator-nl.mo with a custom command
[25/44] Generating po/nn/LC_MESSAGES/authenticator-nn.mo with a custom command
[26/44] Generating po/pa/LC_MESSAGES/authenticator-pa.mo with a custom command
[27/44] Generating po/pl/LC_MESSAGES/authenticator-pl.mo with a custom command
[28/44] Generating po/pt/LC_MESSAGES/authenticator-pt.mo with a custom command
[29/44] Generating po/sk/LC_MESSAGES/authenticator-sk.mo with a custom command
[30/44] Generating po/ro/LC_MESSAGES/authenticator-ro.mo with a custom command
[31/44] Generating po/ru/LC_MESSAGES/authenticator-ru.mo with a custom command
[32/44] Generating po/sl/LC_MESSAGES/authenticator-sl.mo with a custom command
[33/44] Generating po/sr/LC_MESSAGES/authenticator-sr.mo with a custom command
[34/44] Generating po/pt_BR/LC_MESSAGES/authenticator-pt_BR.mo with a custom command
[35/44] Generating po/sr@latin/LC_MESSAGES/authenticator-sr@latin.mo with a custom command
[36/44] Generating po/sv/LC_MESSAGES/authenticator-sv.mo with a custom command
[37/44] Generating po/tr/LC_MESSAGES/authenticator-tr.mo with a custom command
[38/44] Generating po/uk/LC_MESSAGES/authenticator-uk.mo with a custom command
[39/44] Generating po/zh_CN/LC_MESSAGES/authenticator-zh_CN.mo with a custom command
[40/44] Generating po/zh_TW/LC_MESSAGES/authenticator-zh_TW.mo with a custom command
[41/44] Generating data/authenticator_gresource with a custom command
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[41/44] Generating src/cargo-build with a custom command
   Compiling pkg-config v0.3.25
   Compiling libc v0.2.126
   Compiling proc-macro2 v1.0.39
   Compiling serde v1.0.137
   Compiling unicode-ident v1.0.0
   Compiling autocfg v1.1.0
   Compiling heck v0.4.0
   Compiling smallvec v1.8.0
   Compiling syn v1.0.96
   Compiling version-compare v0.1.0
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling version_check v0.9.4
   Compiling log v0.4.17
   Compiling futures-core v0.3.21
   Compiling pin-project-lite v0.2.9
   Compiling once_cell v1.12.0
   Compiling bitflags v1.3.2
   Compiling futures-io v0.3.21
   Compiling cfg-expr v0.10.3
   Compiling futures-sink v0.3.21
   Compiling futures-channel v0.3.21
   Compiling futures-task v0.3.21
   Compiling slab v0.4.6
   Compiling futures-util v0.3.21
   Compiling pin-utils v0.1.0
   Compiling typenum v1.15.0
   Compiling anyhow v1.0.57
   Compiling generic-array v0.14.5
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling cc v1.0.73
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling lazy_static v1.4.0
   Compiling quote v1.0.18
   Compiling aho-corasick v0.7.18
   Compiling regex-syntax v0.6.26
   Compiling either v1.6.1
   Compiling serde_derive v1.0.137
   Compiling glob v0.3.0
   Compiling bytes v1.1.0
   Compiling lock_api v0.4.7
   Compiling scopeguard v1.1.0
   Compiling byteorder v1.4.3
   Compiling minimal-lexical v0.2.1
   Compiling clang-sys v1.3.3
   Compiling atty v0.2.14
   Compiling unicode-width v0.1.9
   Compiling nom v7.1.1
   Compiling getrandom v0.2.6
   Compiling socket2 v0.4.4
   Compiling textwrap v0.11.0
   Compiling num_cpus v1.13.1
   Compiling rand_core v0.6.3
   Compiling mio v0.8.3
   Compiling libloading v0.7.3
   Compiling ansi_term v0.12.1
   Compiling vec_map v0.8.2
   Compiling bindgen v0.59.2
   Compiling termcolor v1.1.3
   Compiling strsim v0.8.0
   Compiling humantime v2.1.0
   Compiling parking_lot_core v0.8.5
   Compiling subtle v2.4.1
   Compiling clap v2.34.0
   Compiling crypto-common v0.1.3
   Compiling which v4.2.5
   Compiling memoffset v0.6.5
   Compiling num-bigint v0.4.3
   Compiling regex v1.5.6
   Compiling instant v0.1.12
   Compiling peeking_take_while v0.1.2
   Compiling shlex v1.1.0
   Compiling lazycell v1.3.0
   Compiling gio v0.15.11
   Compiling rustc-hash v1.1.0
   Compiling ucd-trie v0.1.3
   Compiling openssl-sys v0.9.74
   Compiling tracing-core v0.1.26
   Compiling pest v2.1.3
   Compiling num-rational v0.4.0
   Compiling parking_lot v0.11.2
   Compiling cpufeatures v0.2.2
   Compiling itoa v1.0.2
   Compiling num-iter v0.1.43
   Compiling parking_lot_core v0.9.3
   Compiling cache-padded v1.2.0
   Compiling concurrent-queue v1.2.2
   Compiling cexpr v0.6.0
   Compiling env_logger v0.9.0
   Compiling semver-parser v0.10.2
   Compiling block-buffer v0.10.2
   Compiling block-padding v0.3.2
   Compiling toml v0.5.9
   Compiling indexmap v1.8.2
   Compiling fastrand v1.7.0
   Compiling semver v0.11.0
   Compiling parking v2.0.0
   Compiling foreign-types-shared v0.1.1
   Compiling waker-fn v1.1.0
   Compiling fnv v1.0.7
   Compiling event-listener v2.5.2
   Compiling openssl v0.10.40
   Compiling http v0.2.7
   Compiling futures-lite v1.12.0
   Compiling rustc_version v0.3.3
   Compiling foreign-types v0.3.2
   Compiling inout v0.1.3
   Compiling digest v0.10.3
   Compiling ppv-lite86 v0.2.16
   Compiling hashbrown v0.11.2
   Compiling httparse v1.7.1
   Compiling field-offset v0.3.4
   Compiling system-deps v6.0.2
   Compiling static_assertions v1.1.0
   Compiling native-tls v0.2.10
   Compiling tinyvec_macros v0.1.0
   Compiling matches v0.1.9
   Compiling async-trait v0.1.56
   Compiling tinyvec v1.6.0
   Compiling rand_chacha v0.3.1
   Compiling parking_lot v0.12.1
   Compiling cipher v0.4.3
   Compiling polling v2.2.0
   Compiling quick-xml v0.22.0
   Compiling libsqlite3-sys v0.22.2
   Compiling openssl-probe v0.1.5
   Compiling glib-sys v0.15.10
   Compiling gobject-sys v0.15.10
   Compiling gio-sys v0.15.10
   Compiling gdk-pixbuf-sys v0.15.10
   Compiling cairo-sys-rs v0.15.1
   Compiling pango-sys v0.15.10
   Compiling gdk4-sys v0.4.8
   Compiling graphene-sys v0.15.10
   Compiling gsk4-sys v0.4.8
   Compiling gtk4-sys v0.4.8
   Compiling gstreamer-sys v0.18.0
   Compiling gstreamer-base-sys v0.18.0
   Compiling sha1_smol v1.0.0
   Compiling paste v1.0.7
   Compiling percent-encoding v2.1.0
   Compiling easy-parallel v3.2.0
   Compiling async-task v4.2.0
   Compiling try-lock v0.2.3
   Compiling crc32fast v1.3.2
   Compiling nix v0.14.1
   Compiling want v0.3.0
   Compiling async-executor v1.4.1
   Compiling async-broadcast v0.4.0
   Compiling form_urlencoded v1.0.1
   Compiling sha1 v0.6.1
   Compiling unicode-normalization v0.1.19
   Compiling gdk4-x11-sys v0.4.8
   Compiling gstreamer-video-sys v0.18.3
   Compiling option-operations v0.4.0
   Compiling libspa v0.5.0
   Compiling gdk4-wayland-sys v0.4.8
   Compiling async-io v1.7.0
   Compiling rand v0.8.5
   Compiling scheduled-thread-pool v0.2.6
   Compiling http-body v0.4.5
   Compiling hmac v0.12.1
   Compiling async-channel v1.6.1
   Compiling async-lock v2.5.0
   Compiling chrono v0.4.19
   Compiling nix v0.23.1
   Compiling num-rational v0.3.2
   Compiling ordered-stream v0.0.1
   Compiling bytemuck v1.9.1
   Compiling pretty-hex v0.3.0
   Compiling cfg-if v0.1.10
   Compiling void v1.0.2
   Compiling adler32 v1.2.0
   Compiling adler v1.0.2
   Compiling muldiv v1.0.0
   Compiling tower-service v0.3.1
   Compiling httpdate v1.0.2
   Compiling opaque-debug v0.3.0
   Compiling doc-comment v0.3.3
   Compiling unicode-bidi v0.3.8
   Compiling thiserror-impl v1.0.31
   Compiling futures-macro v0.3.21
   Compiling tokio-macros v1.8.0
   Compiling tracing-attributes v0.1.21
   Compiling enumflags2_derive v0.7.4
   Compiling diesel_derives v1.4.1
   Compiling openssl-macros v0.1.0
   Compiling tokio v1.19.1
   Compiling derivative v2.2.0
   Compiling async-recursion v0.3.2
   Compiling serde_repr v0.1.8
   Compiling thiserror v1.0.31
   Compiling proc-macro-crate v1.1.3
   Compiling unicode-xid v0.2.3
   Compiling color_quant v1.1.0
   Compiling glib-macros v0.15.11
   Compiling tracing v0.1.34
   Compiling libspa-sys v0.5.0
   Compiling zvariant_derive v3.2.1
   Compiling pipewire-sys v0.5.0
   Compiling gtk4-macros v0.4.8
   Compiling zbus_macros v2.2.0
   Compiling base64ct v1.5.0
   Compiling temp-dir v0.1.11
   Compiling ryu v1.0.10
   Compiling encoding_rs v0.8.31
   Compiling gettext-sys v0.21.3
   Compiling password-hash v0.4.1
   Compiling synstructure v0.12.6
   Compiling gst-plugin-version-helper v0.7.3
   Compiling futures-executor v0.3.21
   Compiling idna v0.2.3
   Compiling futures v0.3.21
   Compiling tokio-util v0.7.3
   Compiling glib v0.15.11
   Compiling tokio-native-tls v0.3.0
   Compiling miniz_oxide v0.5.3
   Compiling h2 v0.3.13
   Compiling deflate v1.0.0
   Compiling diesel v1.4.8
   Compiling r2d2 v0.8.9
   Compiling libadwaita-sys v0.1.0
   Compiling sha2 v0.10.2
   Compiling universal-hash v0.4.1
   Compiling cipher v0.3.0
   Compiling errno v0.2.8
   Compiling crossbeam-utils v0.8.8
   Compiling base64 v0.13.0
   Compiling xmlparser v0.13.3
   Compiling cookie-factory v0.3.2
   Compiling roxmltree v0.13.1
   Compiling polyval v0.5.3
   Compiling pbkdf2 v0.11.0
   Compiling png v0.17.5
   Compiling enumflags2 v0.7.5
   Compiling hex v0.4.3
   Compiling zvariant v3.2.1
   Compiling hyper v0.14.19
   Compiling serde_urlencoded v0.7.1
   Compiling signal v0.7.0
   Compiling migrations_internals v1.4.1
   Compiling url v2.2.2
   Compiling zeroize_derive v1.3.2
   Compiling gst-plugin-gtk4 v0.1.1
   Compiling zbus_names v2.1.0
   Compiling pango v0.15.10
   Compiling cairo-rs v0.15.11
   Compiling graphene-rs v0.15.1
   Compiling zbus v2.2.0
   Compiling gstreamer v0.18.8
   Compiling hyper-tls v0.5.0
   Compiling ring v0.16.20
   Compiling num-complex v0.4.1
   Compiling dirs-sys v0.3.7
   Compiling itertools v0.10.3
   Compiling zbar-rust v0.0.19
   Compiling unicase v2.6.0
   Compiling mime v0.3.16
   Compiling serde_json v1.0.81
   Compiling arrayvec v0.7.2
   Compiling constant_time_eq v0.1.5
   Compiling arrayref v0.3.6
   Compiling ipnet v2.5.0
   Compiling blake2b_simd v1.0.0
   Compiling num v0.4.0
   Compiling reqwest v0.11.10
   Compiling prost-derive v0.10.1
   Compiling dirs v4.0.0
   Compiling enum-ordinalize v3.1.11
   Compiling zeroize v1.5.5
   Compiling svg_metadata v0.4.2
   Compiling pipewire v0.5.0
   Compiling migrations_macros v1.4.2
error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys`
   --> /build/authenticator-4.1.6-vendor.tar.gz/pipewire/src/auto/keys.rs:164:28
    |
164 | key_constant!(NODE_TARGET, PW_KEY_NODE_TARGET,
    |                            ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `PW_KEY_NODE_NAME`
    |
   ::: /build/source/build/src/release/build/pipewire-sys-3fcd844848841886/out/bindings.rs:5:8276
    |
5   | ... b"node.id\0" ; pub const PW_KEY_NODE_NAME : & [u8 ; 10usize] = b"node.name\0" ; pub const PW_KEY_NODE_NICK : & [u8 ; 10usize] = b"nod...
    |                    --------------------------------------------- similarly named constant `PW_KEY_NODE_NAME` defined here

   Compiling image v0.23.14
For more information about this error, try `rustc --explain E0425`.
error: could not compile `pipewire` due to previous error
warning: build failed, waiting for other jobs to finish...
[43/44] Generating data/com.belmoussaoui.Authenticator.metainfo.xml with a custom command
FAILED: src/authenticator
/nix/store/lljkbrqh1nkayprky3lrigj0fbxj35rv-coreutils-9.1/bin/env CARGO_HOME=/build/source/build/cargo-home /nix/store/yga9pp0ir4g74p6fv37500pi1jif9gkb-cargo-1.66.1/bin/cargo build --manifest-path /build/source/Cargo.toml --target-dir /build/source/build/src --release && cp src/release/authenticator src/authenticator
ninja: build stopped: subcommand failed.

Additional context

I presume this issue was fixed in https://github.com/NixOS/nixpkgs/pull/212003, but it is back now.

Upstream issue: https://gitlab.gnome.org/World/Authenticator/-/issues/362

Notify maintainers

@austinbutler

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.9, NixOS, 23.05 (Stoat), 23.05.20230203.0699920`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.2`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
MaxHearnden commented 1 year ago

This is fixed by #214387

paveloom commented 1 year ago

Right. Redirecting this issue to #211610 since the problem is common.

iclanzan commented 1 year ago

Authenticator now builds successfully again but crashes when launching:

thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute.', /build/authenticator-4.1.6-vendor.tar.gz/gtk4/src/subclass/widget.rs:1305:17

austinbutler commented 1 year ago

@iclanzan can you open a new issue with the channel and such as the template asks you?

paveloom commented 1 year ago

Created an issue for that: https://github.com/NixOS/nixpkgs/issues/216770.