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

Re: Need help to build libchewing with Rust dependency



On Sun, May 19, 2024 at 12:27:38AM +0800, ChangZhuo Chen (陳昌倬) wrote:
> 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:
> 
>     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
> 

$ host index.crates.io
index.crates.io is an alias for d16zogpfyuwazr.cloudfront.net.
d16zogpfyuwazr.cloudfront.net has address 18.239.94.79
d16zogpfyuwazr.cloudfront.net has address 18.239.94.101
d16zogpfyuwazr.cloudfront.net has address 18.239.94.7
d16zogpfyuwazr.cloudfront.net has address 18.239.94.68
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:2c00:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:f600:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:2200:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:b600:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:d400:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:4600:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:6e00:1f:a9f5:69c0:93a1
d16zogpfyuwazr.cloudfront.net has IPv6 address 2600:9000:25e8:e600:1f:a9f5:69c0:93a1
$


Groeten
Geert Stappers
-- 
Silence is hard to parse

Attachment: signature.asc
Description: PGP signature


Reply to: