[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Need help to build libchewing with Rust dependency



Hi,

I am working on libchewing 0.8.1 [0] which uses Rust as dependencies.
However, despite having librust-env-logger-dev as Build-Depends, the
build still cannot get `env_logger` as a dependency. Please help to
check how to fix the issue.

The following is error log:

    [  7%] Built target testhelper
    warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
    warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
    error: failed to get `env_logger` as a dependency of package `chewing_capi v0.8.1 (/build/libchewing-0.8.1/capi)`
    
    Caused by:
      failed to query replaced source registry `crates-io`
    
    Caused by:
      download of config.json failed
    
    Caused by:
      failed to download from `https://index.crates.io/config.json`
    
    Caused by:
      [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
    make[3]: *** [CMakeFiles/_cargo-build_chewing-cli.dir/build.make:73: CMakeFiles/_cargo-build_chewing-cli] Error 101
    make[3]: Leaving directory '/build/libchewing-0.8.1/obj-x86_64-linux-gnu'
        Updating crates.io index
    make[2]: *** [CMakeFiles/Makefile2:519: CMakeFiles/_cargo-build_chewing-cli.dir/all] Error 2
    make[2]: *** Waiting for unfinished jobs....
    warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
    warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
    warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)


[0] https://salsa.debian.org/input-method-team/libchewing/-/tree/feature/0.8.1


-- 
ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
Key fingerprint = BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B

Attachment: signature.asc
Description: PGP signature


Reply to: