Comments (14)
Good, at least it's not caused by the compression library :)
from cargo-deb.
@kornelski: Will you make a release containing the ec4e003 fix?
from cargo-deb.
@kornelski: I tried using commit ec4e003 and that worked!
from cargo-deb.
I've added --system-xz
switch that replaces our xz2 library with xz command-line. Does this help?
from cargo-deb.
Thanks @kornelski, I'm not working today, I'll test it as soon as I can and get back to you.
from cargo-deb.
Hi @kornelski,
Unfortunately that doesn't seem to help. I updated our GitHub Actions workflow to install cargo-deb 1.35.0 and to use the --system-xz
argument and Lintian still reports the error when running on Ubuntu Xenial.
Ximon
from cargo-deb.
Update: The work around of compiling without the lzma
feature no longer works due to issue #43.
from cargo-deb.
With 1.34.2 I can compile without lzma
support AND the Lintian checks pass on Xenial.
With 1.36.0 I can compile without lzma
support but the resulting package the Lintian checks fail on Xenial.
With >1.36.0 I can't compile without default features (i.e. without lzma
support) (due to #43) and so the Lintian checks fail on Xenial.
I haven't tested >1.34.2 && < 1.36.0.
from cargo-deb.
With >1.36.0 I can't compile without default features (i.e. without lzma support) (due to #43) and so the Lintian checks fail on Xenial.
The compilation issue was resolved in the 1.38.3 release with the fix of #43, but then I'm left with the issue that compiling without default features no longer solves the malformed-deb-archive
error reported by Lintian on Xenial, i.e. I have the situation now that:
- With 1.34.2 I can compile without lzma support AND the Lintian checks pass on Xenial.
- With 1.36.0+ I can compile without lzma support but the resulting package the Lintian checks fail on Xenial.
E.g. see this failure on Xenial when using cargo-deb 1.38.3 which succeeds when using cargo-deb 1.34.2.
from cargo-deb.
Does Xenial support XZ-compressed control files at all?
from cargo-deb.
I don't know. What I do know is that disabling the lzma
feature makes it work up until cargo-deb 1.34.2 but not later, and when I tried --system-xz
a while ago (see above) that had no effect.
from cargo-deb.
I've googled, and there are plenty of bugs about Ubuntu not supporting LZMA in 16 and 18. So it seems the problem isn't in the lzma compressor, but the fact that an Ubuntu from 3 LTSes ego can't support dpkg format from the future.
from cargo-deb.
So, I'm confused. Disabling the lzma
feature used to solve the problem. Was it then the case that that actually disabled something else than, or as well as, LZMA support, and this other thing is where the problem arises?
from cargo-deb.
The Cargo feature disables built-in Rust LZMA support, but in the meantime cargo-deb got a fallback to shell out to the xz
command, so it always supports LZMA if the host operating system is able to compress LZMA.
from cargo-deb.
Related Issues (20)
- Consider using `zopfli`'s new streaming encoder feature HOT 4
- cargo-deb looks up README.md in wrong dir when using workspace HOT 1
- Clarification on the "native" nature of packages HOT 3
- Consider adding 'target-dir' option HOT 1
- Allow dpkg-shlibdeps flags or Debian rules file HOT 1
- `conf-files` generates a `conffiles` file with a trailing empty line HOT 1
- Test failures for manifest and control tests on Arch Linux HOT 8
- [Feature-Request] Advanced Usage, "append" option for assets HOT 3
- rodio HOT 1
- warning: Command dpkg-shlibdeps failed to launch (no auto deps for ...) HOT 1
- `License` is not set in the `control` file HOT 2
- unknown-field Vcs-Git Vcs-Browser HOT 2
- Files in /etc are overwritten HOT 6
- Option to generate separate -dbg package with debug symbols when --separate-debug-symbols is used HOT 1
- cargo-deb not packaging the binary
- asset paths don't work properly with "--profile" HOT 1
- file modes in top-level ar archive don't match dpkg HOT 1
- Switch Digest Signing over to sha256 from md5 HOT 2
- separate-debug-symbols option only honored on the CLI but not in Cargo.toml metadata.deb table HOT 1
- Avoid including copyright information HOT 2
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 cargo-deb.