Skip to content

pkgsCross.*.rav1e is broken #225356

@ghost

Description

I have a fix; working on minimizing it.

Describe the bug

nix@moore:/git/nixpkgs$ git rev-parse HEAD
3b538277d6bf06cbb31aac741493a61d5da8ad41
nix@moore:/git/nixpkgs$ nix build -f . -L pkgsCross.aarch64-multiplatform.rav1e
...
rav1e-aarch64-unknown-linux-gnu>   cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
rav1e-aarch64-unknown-linux-gnu>   exit status: 1
rav1e-aarch64-unknown-linux-gnu>   --- stderr
rav1e-aarch64-unknown-linux-gnu>   error occurred: Command "aarch64-unknown-linux-gnu-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/build/rav1e-0.6.3.tar.gz/target/release/build/libgit2-sys-d53296c124f7150c/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/build/rav1e-0.6.3.tar.gz/target/release/build/libgit2-sys-d53296c124f7150c/out/build/libgit2/src/libgit2/annotated_commit.o" "-c" "libgit2/src/libgit2/annotated_commit.c" with args "aarch64-unknown-linux-gnu-gcc" did not execute successfully (status code exit status: 1).
rav1e-aarch64-unknown-linux-gnu> warning: build failed, waiting for other jobs to finish...
rav1e-aarch64-unknown-linux-gnu> Error: CliError { error: Some(1 job failed), exit_code: 101 }
rav1e-aarch64-unknown-linux-gnu> /nix/store/qrlkfljbp2hdals8wa101b5sg2k21514-stdenv-linux/setup: line 136: pop_var_context: head of shell_variables not a function context
error: build of '/nix/store/qwsyf065wj7hy8s6jyy0v7yfd3gahl1w-rav1e-aarch64-unknown-linux-gnu-0.6.3.drv' on 'ssh://root@192.168.22.102' failed: builder for '/nix/store/qwsyf065wj7hy8s6jyy0v7yfd3gahl1w-rav1e-aarch64-unknown-linux-gnu-0.6.3.drv' failed with exit code 1
error: builder for '/nix/store/qwsyf065wj7hy8s6jyy0v7yfd3gahl1w-rav1e-aarch64-unknown-linux-gnu-0.6.3.drv' failed with exit code 1;
       last 10 log lines:
       >
       >   --- stderr
       >
       >
       >   error occurred: Command "aarch64-unknown-linux-gnu-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/build/rav1e-0.6.3.tar.gz/target/release/build/libgit2-sys-d53296c124f7150c/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/build/rav1e-0.6.3.tar.gz/target/release/build/libgit2-sys-d53296c124f7150c/out/build/libgit2/src/libgit2/annotated_commit.o" "-c" "libgit2/src/libgit2/annotated_commit.c" with args "aarch64-unknown-linux-gnu-gcc" did not execute successfully (status code exit status: 1).
       >
       >
       > warning: build failed, waiting for other jobs to finish...
       > Error: CliError { error: Some(1 job failed), exit_code: 101 }
       > /nix/store/qrlkfljbp2hdals8wa101b5sg2k21514-stdenv-linux/setup: line 136: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/qwsyf065wj7hy8s6jyy0v7yfd3gahl1w-rav1e-aarch64-unknown-linux-gnu-0.6.3.drv'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions