Compile Error: failed to iterate over archive, numeric field did not have utf-8 text
Created by: MichaelOultram
Relevant lines of the build log:
Installing package drivers
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: TarError { desc: "failed to iterate over archive", io: Error { repr: Custom(Custom { kind: Other, error: StringError("numeric field did not have utf-8 text") }) } } }) }', /checkout/src/libcore/result.rs:860
Full build log: https://pastebin.com/XBkczJ7U
Build information:
$ rustc -V
rustc 1.20.0-nightly (fc9ccfdbe 2017-06-25)
$ git rev-parse HEAD
cbd126aa5cc1d5e878fc83d132f41dc1a882c09a
The (possible) cause:
I believe the cause is this function which does not deal with .tar.gz
files properly (based on this forum post). Unfortunately I don't know enough rust to make a pull request.
My quick and dirty fix:
- I changed this line to be
.tar
instead of.tar.gz
- I ran
gunzip cookbook/repo/x86_64-unknown-redox/*.tar.gz
- And I ran make (it didn't work the first time as it make more .tar.gz files which I then uncompressed and tried again)