-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
test misc::compressed_uncompress ... FAILED #1602
Comments
I'm not sure this is a problem on ripgrep's end. Here is the test in question:
All this is doing is doing is copying the bytes from a pre-compressed
Do you get the same output? If so, then I'd be perplexed. But if not, then I think you will have isolated the problem. |
well looks like it's not working for real.
^ all return empty result. what's interesting,
so it looks like it does not honor .Z as compressed file and treats it as binary? What else can I do to find the reason it's not liking .Z ?
|
That's normal. If you don't provide the The part I don't understand here is why |
thing is then I run it with
|
gzipped file works btw.
|
@gyakovlev Wait, but in your prior comment, you said that Unfortunately, the
and
Hopefully that gives us the clue we need. Thank you for your patience in helping me debug this! |
correct, different pattern I've tried experimenting more on it and it looks like that ripgrep built outside of package manager does .Z decompression properly. after some digging I figured out the difference. due to my overlook the build was using downloaded grep-cli-0.1.4 for instance was pulled in as a crate instead of crates/cli directory. TLDR: the build was using external sources instead of local dir. thanks for your time and work on ripgrep, sorry for the noise =) |
Issue: BurntSushi/ripgrep#1602 Closes: https://bugs.gentoo.org/725778 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <[email protected]>
@gyakovlev Ug. Nope, it is not your fault. It's mine! The actual ripgrep release should be using tagged versions of crates in this repo, but it looks like I did not tag a new release of A similarish but different thing happened a while back with the Debian packagers (see #1144 and my comment for the realization of what happened). I would love to figure out how to catch this in my release process, because it's otherwise pretty tricky to do so. The Cargo tooling kind of makes everything seamless for crates in the same workspace/repo, so you don't tend to realize when compilation is using a tagged release versus what's on master. This is why I created a release checklist, but I guess it's still pretty easy to screw up, apparently. I'll tag a ripgrep 12.1.1 release. |
This has been fixed with the 12.1.1 release. |
Hi, got a test falure here. Does not look like a huge deal, but wanted to let you know.
What version of ripgrep are you using?
ripgrep 12.1.0
-SIMD -AVX (compiled)
How did you install ripgrep?
from gentoo repositories (I maintain ripgrep package/ebuild)
What operating system are you using ripgrep on?
Genroo rolling. tested on x86_64 and ppc64, same test failure.
distribution package of rustc 1.43.1 (which I also maintain)
also reproducable with official tarball of rustc-1.43.1
Describe your bug.
.Z compress test fails with both uncompress provided by gzip and ncompress package.
gentoo bug and full buld log available here
https://bugs.gentoo.org/725778
What are the steps to reproduce the behavior?
cargo test
What is the actual behavior?
What is the expected behavior?
Test should succeed.
The text was updated successfully, but these errors were encountered: