Comments (6)
This is quite odd... The bug is probably with gcc-rs
of some form rather than this crate itself, but regardless it shouldn't be happening! I haven't been able to reproduce locally yet, unfortunately, however. Do you know of a way I could do so?
from bzip2-rs.
Did I understand you right, you tried non-latin characters in path and it didn't reproduce?
Anyway, this is not that critical, because I know a workaround and have already applied it.
The most unpleasant thing is that I don't have an idea how to debug this sort of bugs. AFAIK cargo
runs the executable compiled from build.rs
with tons of environment variables, and I have to know them all to catch it.
from bzip2-rs.
Hm yeah I'm not 100% sure if I did the right thing or not, but I ctrl-c + ctrl-v'd the directory name from above (Александр) into a terminal and then ran cargo build
inside of that with a checkout of this repo.
Perhaps you could provide a program which when run exhibits this behavior? (e.g. programatically creates a directory with an offending character)
from bzip2-rs.
Seems you're doing right things.
I tried the following: I patched gcc-rs
so it dumps everything from the build script into a file and reproduced the bug. Here is the result: https://www.dropbox.com/s/9y6rmt7mqj1sbtk/build.txt?dl=1
from bzip2-rs.
Hm it looks like that file is valid UTF-8, so it may not be precisely what Cargo is choking on. Is there a script that I could run to reproduce this?
from bzip2-rs.
I'm working on it and I'll provide it as soon as it's ready and reproducing consistently.
from bzip2-rs.
Related Issues (20)
- Is is possible to assume libbz2 is already linked? HOT 3
- Unclear how to cross-compile to Windows MSVC target from Linux HOT 1
- bzip2 source is outdated
- bzip2-sys: features=["static"]?
- failed to run custom build command for `bzip2-sys v0.1.8+1.0.8` HOT 3
- Could you publish a release? HOT 2
- Filesize mismatch when decompressing multi-stream with sizes greater than 2GB (2^31) HOT 6
- Update for futures 0.3
- Doesn't seem to have a "raw" module as mentioned in documentation / code comments HOT 1
- Decompression stops silently on byte #900000 HOT 4
- Failed to run custom build command for `bzip2-sys v0.1.11+1.0.8` HOT 3
- Implement tokio::io::AsyncBufRead for bufread::* types HOT 1
- bz_internal_error exported HOT 1
- build android fail HOT 2
- Bzip2-sys does not support the value 0 for blockSize100k
- Way to know how many compressed bytes were read when decompressing
- WASM support HOT 3
- Potential undefined behavior from cyclic references between `bz_stream` and `EState`/`DState`.
- Infinite loop writing an empty buffer in write::BzDecoder
- Infinite loop after decoding error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bzip2-rs.