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

foot: build failure #472

Open
jf-uu opened this issue Mar 6, 2025 · 2 comments
Open

foot: build failure #472

jf-uu opened this issue Mar 6, 2025 · 2 comments

Comments

@jf-uu
Copy link

jf-uu commented Mar 6, 2025

$ nix build github:nix-community/nixpkgs-wayland/4cc0916083bdccf7ef04621fbf8fb4fe7c65ea5e#foot
this derivation will be built:
  /nix/store/v4hjm23jhdl61rqzslllxbh5d6kfxmsk-foot-605694bc938ace9a7501d6730c1865ea531870df.drv
building '/nix/store/v4hjm23jhdl61rqzslllxbh5d6kfxmsk-foot-605694bc938ace9a7501d6730c1865ea531870df.drv'...
foot> Running phase: unpackPhase
foot> unpacking source archive /nix/store/na2xrbc0bz8rnbiwzb26zz178m7mki26-source
foot> source root is source
foot> Running phase: patchPhase
foot> Running phase: updateAutotoolsGnuConfigScriptsPhase
foot> Running phase: configurePhase
foot> mesonConfigurePhase flags: --prefix=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df --libdir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/lib --libexecdir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/libexec --bindir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/bin --sbindir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/sbin --includedir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/include --mandir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/share/man --infodir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/share/info --localedir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=release -Db_lto=true -Dterminfo=enabled -Ddefault-terminfo=foot -Dcustom-terminfo-install-location=/nix/store/54zn9awwsd255818qhc0jhmfmvvlh91c-foot-605694bc938ace9a7501d6730c1865ea531870df-terminfo/share/terminfo -Dsystemd-units-dir=/nix/store/7zivzz67l1b1944mbb9458w0bqk0m0nn-foot-605694bc938ace9a7501d6730c1865ea531870df/lib/systemd/user -Dwerror=false
foot> The Meson build system
foot> Version: 1.7.0
foot> Source dir: /build/source
foot> Build dir: /build/source/build
foot> Build type: native build
foot> Project name: foot
foot> Project version: 1.20.2
foot> C compiler for the host machine: gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20241116")
foot> C linker for the host machine: gcc ld.bfd 2.43.1
foot> Host machine cpu family: x86_64
foot> Host machine cpu: x86_64
foot> Checking for function "memfd_create" : YES
foot> Checking for function "execvpe" : YES
foot> Compiler for C supports arguments -fno-asynchronous-unwind-tables: YES
foot> Compiler for C supports arguments -pedantic: YES
foot> Compiler for C supports arguments -fstrict-aliasing: YES
foot> Compiler for C supports arguments -Wstrict-aliasing: YES
foot> Compiler for C supports arguments -fmacro-prefix-map=/foo=: YES
foot> Library m found: YES
foot> Run-time dependency threads found: YES
foot> Library stdthreads found: NO
foot> Found pkg-config: YES (/nix/store/601zbsyxn1zqx22yrif9yxa1x450qfc8-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
foot> Did not find CMake 'cmake'
foot> Found CMake: NO
foot> Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
foot> Run-time dependency pixman-1 found: YES 0.44.2
foot> Run-time dependency wayland-protocols found: YES 1.40
foot> Run-time dependency wayland-client found: YES 1.23.1
foot> Run-time dependency wayland-cursor found: YES 1.23.1
foot> Run-time dependency xkbcommon found: YES 1.7.0
foot> Run-time dependency fontconfig found: YES 2.16.0
foot> Run-time dependency libutf8proc found: YES 2.10.0
foot> Run-time dependency tllist found: YES 1.1.0
foot> Dependency fcft found: NO. Found 3.1.10 but need: '>=3.2.0' ; matched: '<4.0.0'
foot> Run-time dependency fcft found: NO (tried pkgconfig and cmake)
foot> Looking for a fallback subproject for the dependency fcft
foot> meson.build:149:7: ERROR: Automatic wrap-based subproject downloading is disabled
foot> A full log can be found at /build/source/build/meson-logs/meson-log.txt
error: builder for '/nix/store/v4hjm23jhdl61rqzslllxbh5d6kfxmsk-foot-605694bc938ace9a7501d6730c1865ea531870df.drv' failed with exit code 1;
       last 25 log lines:
       > Compiler for C supports arguments -fstrict-aliasing: YES
       > Compiler for C supports arguments -Wstrict-aliasing: YES
       > Compiler for C supports arguments -fmacro-prefix-map=/foo=: YES
       > Library m found: YES
       > Run-time dependency threads found: YES
       > Library stdthreads found: NO
       > Found pkg-config: YES (/nix/store/601zbsyxn1zqx22yrif9yxa1x450qfc8-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
       > Did not find CMake 'cmake'
       > Found CMake: NO
       > Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
       > Run-time dependency pixman-1 found: YES 0.44.2
       > Run-time dependency wayland-protocols found: YES 1.40
       > Run-time dependency wayland-client found: YES 1.23.1
       > Run-time dependency wayland-cursor found: YES 1.23.1
       > Run-time dependency xkbcommon found: YES 1.7.0
       > Run-time dependency fontconfig found: YES 2.16.0
       > Run-time dependency libutf8proc found: YES 2.10.0
       > Run-time dependency tllist found: YES 1.1.0
       > Dependency fcft found: NO. Found 3.1.10 but need: '>=3.2.0' ; matched: '<4.0.0'
       > Run-time dependency fcft found: NO (tried pkgconfig and cmake)
       > Looking for a fallback subproject for the dependency fcft
       >
       > meson.build:149:7: ERROR: Automatic wrap-based subproject downloading is disabled
       >
       > A full log can be found at /build/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/v4hjm23jhdl61rqzslllxbh5d6kfxmsk-foot-605694bc938ace9a7501d6730c1865ea531870df.drv'.
@jf-uu
Copy link
Author

jf-uu commented Mar 6, 2025

I guess something like 82fcd9d needs adding again (or we wait for NixOS/nixpkgs#387461).

@mcsimw
Copy link

mcsimw commented Mar 18, 2025

I guess something like 82fcd9d needs adding again (or we wait for NixOS/nixpkgs#387461).

Now we have to wait for this NixOS/nixpkgs#390648.

by the time NixOS/nixpkgs#390648 is merged, I have a feeling a new version of fcft might be released and required for foot. @dnkl is just way too fast for nixpkgs😂, he has released 3.3.0 and 3.3.1 in the last week.

Maybe something like this 82fcd9d is gonna be required if we want foot to work in the foreseeable future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants