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

pkgsCross.*.rav1e is broken #225356

Closed
ghost opened this issue Apr 9, 2023 · 0 comments · Fixed by #225360
Closed

pkgsCross.*.rav1e is broken #225356

ghost opened this issue Apr 9, 2023 · 0 comments · Fixed by #225360
Labels
0.kind: bug Something is broken

Comments

@ghost
Copy link

ghost commented Apr 9, 2023

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'.
@ghost ghost added the 0.kind: bug Something is broken label Apr 9, 2023
@ghost ghost self-assigned this Apr 9, 2023
This was referenced Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants