We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the newly updated Dockerfile and respective built image I got an error while cross-compiling dua-cli.
Here is the Dockerfile: https://gist.github.com/omac777/1f231073f4b313e20376c386f48c6dc3#file-dockerfile-L49
Here are the steps to cross-compile dua-cli:
sudo service docker restart sudo service docker status docker image ls docker rmi -f 2089c03a47ca docker build --network host -t playxwinimg . docker container ls --all git clone https://github.com/Byron/dua-cli sudo chmod -R 777 dua-cli docker run --rm --network host -v /home/loongson/tryredox/playxwin/dua-cli:/srv/dua-cli -i -t playxwinimg:latest /bin/bash cd /srv/dua-cli cargo build --target x86_64-pc-windows-msvc --release
Here is the build error output:
loongson@righteous 2021-08-26_08:16:51_EDT : ~/tryredox/playxwin $ docker run --rm --network host -v /home/loongson/tryredox/playxwin/dua-cli:/srv/dua-cli -i -t playxwinimg:latest /bin/bash WARNING: Support for the legacy ~/.dockercfg configuration file and file-format is deprecated and will be removed in an upcoming release root@righteous:/# cd /srv/dua-cli cd /srv/dua-cli root@righteous:/srv/dua-cli# cargo build --target x86_64-pc-windows-msvc --release cargo build --target x86_64-pc-windows-msvc --release Updating crates.io index Downloaded trash v2.0.1 Downloaded anyhow v1.0.42 Downloaded unicode-width v0.1.8 Downloaded atty v0.2.14 Downloaded cfg-if v1.0.0 Downloaded crossbeam-utils v0.8.5 Downloaded bitflags v1.2.1 Downloaded percent-encoding v2.1.0 Downloaded log v0.4.14 Downloaded clap_derive v3.0.0-beta.4 Downloaded crossbeam v0.8.1 Downloaded heck v0.3.3 Downloaded form_urlencoded v1.0.1 Downloaded crossbeam-deque v0.8.1 Downloaded fixedbitset v0.4.0 Downloaded filesize v0.2.0 Downloaded crossterm_winapi v0.8.0 Downloaded byte-unit v4.0.12 Downloaded const-sha1 v0.2.0 Downloaded chrono v0.4.19 Downloaded lock_api v0.4.4 Downloaded jwalk v0.6.0 Downloaded lazy_static v1.4.0 Downloaded instant v0.1.10 Downloaded clap v3.0.0-beta.4 Downloaded vec_map v0.8.2 Downloaded num-integer v0.1.44 Downloaded mio v0.7.13 Downloaded quote v1.0.9 Downloaded proc-macro-error v1.0.4 Downloaded strsim v0.10.0 Downloaded smallvec v1.6.1 Downloaded tinyvec_macros v0.1.0 Downloaded winapi-util v0.1.5 Downloaded url v2.2.2 Downloaded unicode-normalization v0.1.19 Downloaded either v1.6.1 Downloaded unicode-segmentation v1.8.0 Downloaded tui-react v0.16.0 Downloaded windows_macros v0.8.0 Downloaded num-traits v0.2.14 Downloaded indexmap v1.7.0 Downloaded hashbrown v0.11.2 Downloaded num_cpus v1.13.0 Downloaded miow v0.3.7 Downloaded signal-hook-registry v1.4.0 Downloaded signal-hook-mio v0.2.1 Downloaded pathdiff v0.2.0 Downloaded rayon v1.5.1 Downloaded parking_lot v0.11.1 Downloaded scopeguard v1.1.0 Downloaded os_str_bytes v3.1.0 Downloaded crossterm v0.20.0 Downloaded glob v0.3.0 Downloaded itertools v0.10.1 Downloaded crosstermion v0.8.1 Downloaded crossbeam-queue v0.3.2 Downloaded cassowary v0.3.0 Downloaded windows v0.8.0 Downloaded wild v2.0.4 Downloaded utf8-width v0.1.5 Downloaded unicode-bidi v0.3.5 Downloaded tui v0.16.0 Downloaded tinyvec v1.3.1 Downloaded textwrap v0.14.2 Downloaded syn v1.0.74 Downloaded rayon-core v1.9.1 Downloaded petgraph v0.6.0 Downloaded open v2.0.0 Downloaded ntapi v0.3.6 Downloaded colored v2.0.0 Downloaded memoffset v0.6.4 Downloaded matches v0.1.8 Downloaded crossbeam-channel v0.5.1 Downloaded crossbeam-epoch v0.9.5 Downloaded autocfg v1.0.1 Downloaded version_check v0.9.3 Downloaded unicode-xid v0.2.2 Downloaded time v0.1.44 Downloaded termcolor v1.1.2 Downloaded signal-hook v0.3.9 Downloaded proc-macro2 v1.0.28 Downloaded parking_lot_core v0.8.3 Downloaded proc-macro-error-attr v1.0.4 Downloaded idna v0.2.3 Downloaded winapi v0.3.9 Downloaded libc v0.2.98 Downloaded windows_gen v0.8.0 Downloaded 88 crates (11.1 MB) in 1.60s (largest was `windows_gen` at 5.8 MB) Compiling trash v2.0.1 error: couldn't read /srv/dua-cli/target/x86_64-pc-windows-msvc/release/build/trash-3399c06387deef86/out/windows.rs: No such file or directory (os error 2) --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/trash-2.0.1/src/windows.rs:18:5 | 18 | ::windows::include_bindings!(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `::std::include` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error error: could not compile `trash` To learn more, run the command again with --verbose.
I did notice something of windows_gen v0.8.0, but I didn't see a location to change windows crate to 0.19.0.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Filed an issue for you with the root cause, please follow up there, this isn't a bug in xwin.
Sorry, something went wrong.
No branches or pull requests
Using the newly updated Dockerfile and respective built image I got an error while cross-compiling dua-cli.
Here is the Dockerfile:
https://gist.github.com/omac777/1f231073f4b313e20376c386f48c6dc3#file-dockerfile-L49
Here are the steps to cross-compile dua-cli:
Here is the build error output:
I did notice something of windows_gen v0.8.0, but I didn't see a location to change windows crate to 0.19.0.
Thank you in advance.
The text was updated successfully, but these errors were encountered: