mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #826] on mac,"cargo build --release" encounter errors #545
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#545
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luckypoem on GitHub (Jul 15, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/826
hi.
on mac.
git clone https://github.com/bluejekyll/trust-dns
cd trust-dns
yudeMacBook-Air:trust-dns brite$ cargo build --release
warning: unused manifest key: package.edition
Updating registry
https://github.com/rust-lang/crates.io-indexUpdating registry
https://github.com/rust-lang/crates.io-indexerror: no matching package named
getrandom_packagefound (required byrand)location searched: registry
https://github.com/rust-lang/crates.io-indexversion required: ^0.1.1
yudeMacBook-Air:trust-dns brite$
how to fix it?tks
@bluejekyll commented on GitHub (Jul 17, 2019):
This is currently working on mac: https://travis-ci.org/bluejekyll/trust-dns/jobs/559842302
Could you try running
cargo update?@luckypoem commented on GitHub (Jul 18, 2019):
same result.
yudeMacBook-Air:trust-dns brite$ cargo update
Updating registry
https://github.com/rust-lang/crates.io-indexerror: no matching package named
getrandom_packagefound (required byrand)location searched: registry
https://github.com/rust-lang/crates.io-indexversion required: ^0.1.1
yudeMacBook-Air:trust-dns brite$ ls
CHANGELOG.md LICENSE-APACHE logo.svg
CODE_OF_CONDUCT.md LICENSE-MIT scripts
Cargo.lock README.md tests
Cargo.toml copyright.txt util
Kjqmt7v.csr crates
yudeMacBook-Air:trust-dns brite$ cargo build --release
warning: unused manifest key: package.edition
Updating registry
https://github.com/rust-lang/crates.io-indexUpdating registry
https://github.com/rust-lang/crates.io-indexerror: no matching package named
getrandom_packagefound (required byrand)location searched: registry
https://github.com/rust-lang/crates.io-indexversion required: ^0.1.1
yudeMacBook-Air:trust-dns brite$
or,can u pls provide the executable file of mac version in the 'releases'?
@luckypoem commented on GitHub (Sep 1, 2019):
i know why.
my cargo version is too low.
cargo version
shows:
cargo 0.26.0-nightly (1d6dfea44 2018-01-26)
rustup update
cargo version
shows:
cargo 1.39.0-nightly (22f7dd049 2019-08-27)
yudeMacBook-Air:trust-dns brite$ sudo cargo build --release
shows:
...
Finished release [optimized] target(s) in 50m 17s
@luckypoem commented on GitHub (Sep 1, 2019):
but where is the example config file named.toml?
@bluejekyll commented on GitHub (Sep 1, 2019):
Ah, yes. We require somewhat current releases.
@bluejekyll commented on GitHub (Sep 1, 2019):
This is the best example config at the moment: https://github.com/bluejekyll/trust-dns/blob/master/crates/server/tests/named_test_configs/example.toml
There are other examples for different configurations in that same path.
@luckypoem commented on GitHub (Dec 27, 2019):
https://github.com/bluejekyll/trust-dns/blob/master/crates/server/tests/named_test_configs/example.toml shows "404",
nothing here?
@Darkspirit commented on GitHub (Dec 27, 2019):
https://github.com/bluejekyll/trust-dns/blob/master/tests/test-data/named_test_configs/example.toml