Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: failed to run custom build command for `neqo-crypto v0.9.2 #2185

@mxinden

Description

@mxinden

CI is currently failing with:

2024-10-17T12:43:37.9020958Z �[1m�[31merror�[0m�[1m:�[0m failed to run custom build command for `neqo-crypto v0.9.2 (/home/runner/work/neqo/neqo/neqo-crypto)`
2024-10-17T12:43:37.9023657Z note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
2024-10-17T12:43:37.9025414Z 
2024-10-17T12:43:37.9025675Z Caused by:
2024-10-17T12:43:37.9028539Z   process didn't exit successfully: `/home/runner/work/neqo/neqo/target/debug/build/neqo-crypto-9c0c0cd99d65ea5d/build-script-build` (exit status: 101)
2024-10-17T12:43:37.9030242Z   --- stdout
2024-10-17T12:43:37.9030776Z   cargo:rustc-check-cfg=cfg(nss_nodb)
2024-10-17T12:43:37.9031454Z   cargo:rerun-if-env-changed=NSS_DIR
2024-10-17T12:43:37.9032147Z   cargo:rerun-if-env-changed=NSS_TARGET
2024-10-17T12:43:37.9033040Z   cargo:include=/home/runner/work/neqo/neqo/dist/Release/include/nspr
2024-10-17T12:43:37.9033997Z   cargo:include=/home/runner/work/neqo/neqo/dist/public/nss
2024-10-17T12:43:37.9035137Z   cargo:rustc-link-search=native=/home/runner/work/neqo/neqo/dist/Release/lib
2024-10-17T12:43:37.9036165Z   cargo:rustc-link-lib=static=certdb
2024-10-17T12:43:37.9036816Z   cargo:rustc-link-lib=static=certhi
2024-10-17T12:43:37.9037494Z   cargo:rustc-link-lib=static=cryptohi
2024-10-17T12:43:37.9038174Z   cargo:rustc-link-lib=static=freebl
2024-10-17T12:43:37.9038862Z   cargo:rustc-link-lib=static=nss_static
2024-10-17T12:43:37.9039512Z   cargo:rustc-link-lib=static=nssb
2024-10-17T12:43:37.9040136Z   cargo:rustc-link-lib=static=nssdev
2024-10-17T12:43:37.9040797Z   cargo:rustc-link-lib=static=nsspki
2024-10-17T12:43:37.9041478Z   cargo:rustc-link-lib=static=nssutil
2024-10-17T12:43:37.9042167Z   cargo:rustc-link-lib=static=pk11wrap
2024-10-17T12:43:37.9042847Z   cargo:rustc-link-lib=static=pkcs12
2024-10-17T12:43:37.9043518Z   cargo:rustc-link-lib=static=pkcs7
2024-10-17T12:43:37.9044182Z   cargo:rustc-link-lib=static=smime
2024-10-17T12:43:37.9044873Z   cargo:rustc-link-lib=static=softokn_static
2024-10-17T12:43:37.9045577Z   cargo:rustc-link-lib=static=ssl
2024-10-17T12:43:37.9046224Z   cargo:rustc-link-lib=static=sqlite
2024-10-17T12:43:37.9046873Z   cargo:rustc-link-lib=dylib=plds4
2024-10-17T12:43:37.9047510Z   cargo:rustc-link-lib=dylib=plc4
2024-10-17T12:43:37.9048141Z   cargo:rustc-link-lib=dylib=nspr4
2024-10-17T12:43:37.9048812Z   cargo:rustc-link-lib=dylib=pthread
2024-10-17T12:43:37.9049463Z   cargo:rustc-link-lib=dylib=dl
2024-10-17T12:43:37.9050072Z   cargo:rustc-link-lib=dylib=c
2024-10-17T12:43:37.9050647Z   cargo:rustc-link-lib=dylib=z
2024-10-17T12:43:37.9051334Z   cargo:rerun-if-changed=bindings/bindings.toml
2024-10-17T12:43:37.9052127Z   cargo:rerun-if-changed=bindings/nspr_time.h
2024-10-17T12:43:37.9052575Z 
2024-10-17T12:43:37.9052791Z   --- stderr
2024-10-17T12:43:37.9053200Z   Ubuntu clang version 15.0.7
2024-10-17T12:43:37.9054087Z   Target: x86_64-pc-linux-gnu
2024-10-17T12:43:37.9054592Z   Thread model: posix
2024-10-17T12:43:37.9055033Z   InstalledDir: 
2024-10-17T12:43:37.9055801Z   Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/10
2024-10-17T12:43:37.9056907Z   Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/11
2024-10-17T12:43:37.9058007Z   Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/12
2024-10-17T12:43:37.9059098Z   Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/9
2024-10-17T12:43:37.9060606Z   Selected GCC installation: /../lib/gcc/x86_64-linux-gnu/12
2024-10-17T12:43:37.9061342Z   Candidate multilib: .;@m64
2024-10-17T12:43:37.9061854Z   Selected multilib: .;@m64
2024-10-17T12:43:37.9063024Z   ignoring nonexistent directory "/home/runner/work/neqo/neqo/dist/Release/include/nspr"
2024-10-17T12:43:37.9064264Z   ignoring nonexistent directory "/home/runner/work/neqo/neqo/dist/public/nss"
2024-10-17T12:43:37.9065723Z   ignoring nonexistent directory "/../lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include"
2024-10-17T12:43:37.9066788Z   ignoring nonexistent directory "/include"
2024-10-17T12:43:37.9067487Z   ignoring duplicate directory "/usr/local/include"
2024-10-17T12:43:37.9068457Z   ignoring duplicate directory "/usr/include/x86_64-linux-gnu"
2024-10-17T12:43:37.9069249Z   ignoring duplicate directory "/usr/include"
2024-10-17T12:43:37.9069888Z   #include "..." search starts here:
2024-10-17T12:43:37.9070461Z   #include <...> search starts here:
2024-10-17T12:43:37.9071171Z    /usr/lib/llvm-14/lib/clang/14.0.0/include
2024-10-17T12:43:37.9071758Z    /usr/local/include
2024-10-17T12:43:37.9072279Z    /usr/include/x86_64-linux-gnu
2024-10-17T12:43:37.9072775Z    /usr/include
2024-10-17T12:43:37.9073197Z    /usr/include/clang/15.0.7/include
2024-10-17T12:43:37.9073748Z   End of search list.
2024-10-17T12:43:37.9074560Z   bindings/nspr_time.h:7:10: fatal error: 'prtime.h' file not found
2024-10-17T12:43:37.9075587Z   thread 'main' panicked at neqo-crypto/build.rs:257:39:
2024-10-17T12:43:37.9077052Z   unable to generate bindings: ClangDiagnostic("bindings/nspr_time.h:7:10: fatal error: 'prtime.h' file not found\n")
2024-10-17T12:43:37.9078204Z   stack backtrace:
2024-10-17T12:43:37.9078629Z      0: rust_begin_unwind
2024-10-17T12:43:37.9079502Z                at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5
2024-10-17T12:43:37.9096636Z      1: core::panicking::panic_fmt
2024-10-17T12:43:37.9097644Z                at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14
2024-10-17T12:43:37.9098652Z      2: core::result::unwrap_failed
2024-10-17T12:43:37.9099603Z                at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1679:5
2024-10-17T12:43:37.9100585Z      3: build_script_build::main
2024-10-17T12:43:37.9101472Z   note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

See for example failures in https://github.com/mozilla/neqo/actions/runs/11385161925/job/31674401709 and https://github.com/mozilla/neqo/actions/runs/11383652833/job/31669741428?pr=2184.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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