cargo-deb fails trying to strip unknown file formats
Razican opened this issue · 2 comments
Razican commented
Running cargo-deb will show the following error when trying to strip shell completions. This is the error being shown:
strip:/home/razican/workspace/super/super/target/release/super.bash: File format not recognized
cargo-deb: Command strip failed to launch
because: exit code: 1
It happens with the following files:
super.bash
super.fish
_super
This seems to be an issue with cargo-deb
. Here is the reported issue: cargo-deb#67.
Razican commented
The immediate fix was to just disable shell completion scripts for Debian and Ubuntu, but hopefully this is fixed before the release of the 0.5.0 version. If not, it's not a blocker, and it can be implemented in a later 0.5.x version.
Razican commented
This seems to be fixed, waiting for upstream response to close it.