-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix: go back to bsdtar-prebuilt 3.7.4 but with a release with a working windows binary #969
Conversation
…ng windows binary
Is there any way to test this here in bazel-lib? |
I'm not sure what it is about those particular tests in silo that causes tar extract to fail. Would be good to track it down and make a minimal repro test in the future. For now I tested this change with a patch in silo and verified it fixes the issue. |
FYSA @alexeagle @dzbarsky |
Isn't this just going to break again the next time we upgrade libarchive? |
Likely yes. We have no idea why it was broken on silo. We need a repro outside of silo for this so we can figure out why it was built wrong so we can fix it without having to test in silo. |
Picks up bazel-contrib/bazel-lib#969 that fixes tar extract regression. ### Changes are visible to end-users: no ### Test plan - Covered by existing test cases GitOrigin-RevId: 90aab309d171e7c901f4e1cfd19803aa8c34ee6e
Picks up bazel-contrib/bazel-lib#969 that fixes tar extract regression. ### Changes are visible to end-users: no ### Test plan - Covered by existing test cases GitOrigin-RevId: 90aab309d171e7c901f4e1cfd19803aa8c34ee6e
Picks up bazel-contrib/bazel-lib#969 that fixes tar extract regression. ### Changes are visible to end-users: no ### Test plan - Covered by existing test cases GitOrigin-RevId: 90aab309d171e7c901f4e1cfd19803aa8c34ee6e
Previous tar issues were resolved in bazel-contrib/bazel-lib#969.
- Previous tar issues were resolved in bazel-contrib/bazel-lib#969. - Drop outDir in types tsconfig to unblock rules_ts update
- Previous tar issues were resolved in bazel-contrib/bazel-lib#969. - Drop outDir in types tsconfig to unblock rules_ts update
Fixes tar extract regression in 2.8.0 due to bump to bsdtar-prebuilt 3.7.5 in #940.
bsdtar-prebuilt 3.7.5 (which depends on libarchive 3.7.5) has a regression that showed up in testing of our internal silo repo when attempting to bump bazel-lib. previously working tests with tar extracts starting to fail with
invalid tar header
. I also tested with a test bsdtar-prebuilt 3.7.7 release, built with libarchive 3.7.7, to see if there was a regression in libarchive 3.7.5 (one such regression was mentioned in https://github.com/libarchive/libarchive/releases/tag/v3.7.6) but also hit the same failure. Another possibility is BCR patches for libarchive 3.7.5 that were copied over from 3.7.4 may not be correct for 3.7.5.In any case, to get back to a working version of tar in bazel-lib, this change goes back to safety by switching to a bsdtar-prebuilt 3.7.4 release with a working Windows binary: https://github.com/aspect-build/bsdtar-prebuilt/releases/tag/v3.7.4-4.