You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make_deb.py breaks multiple generated header fields into multiline fields. While this is allowed in source packages (for readability), dpkg --gencontrol reformats them into single-line entries for the binary packages.
aiuto
changed the title
make_deb is breaking Debian package policy. Only Description should be multiline.
pkg_deb is breaking Debian package policy. Only Description should be multiline.
Apr 6, 2022
smu-ggl
added a commit
to smu-ggl/rules_pkg
that referenced
this issue
Apr 7, 2022
Description of the problem / feature request:
make_deb.py breaks multiple generated header fields into multiline fields. While this is allowed in source packages (for readability),
dpkg --gencontrol
reformats them into single-line entries for the binary packages.https://www.debian.org/doc/debian-policy/ch-controlfields.html only defines the Description field as multiline. Tooling can (and some do) ignore any but the first line and/or stop processing the package.
Feature requests: what underlying problem are you trying to solve with this feature?
Ensure that generated packages adhere to Debian policy on the package format.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Use a long Depends, Suggests, Provides, ... line and have it broken up into multiple lines.
What operating system are you running Bazel on?
Linux - http://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_5.1.0_amd64.deb is a broken package in this regard :D
What's the output of
bazel info release
?5.1.0, I'd assume, I haven't tried.
Have you found anything relevant by searching the web?
See above for Debian policy link.
Any other information, logs, or outputs that you want to share?
Example tool broken by this:
dose-debcheck from Debian testing (part of dose3 source package):
Fatal error in module dose_deb.packages:
The text was updated successfully, but these errors were encountered: