Skip to content

[Debian] fails to handle packages with control.tar.xz #395

Description

@suihkulokki

Builds in debian unstable, using dpkg >= 1.19 will fail in the end with:

[  114s] r2-a19 finished "build hello_2.10-1+deb9u1.dsc" at Wed Oct 18 06:09:11 UTC 2017.
[  114s] 
hello-dbgsym_2.10-1+deb9u1_arm64.deb: has no hdrmd5
hello_2.10-1+deb9u1_arm64.deb: has no hdrmd5

Using perl to tun queryhdrmd5("hello_2.10-1_amd64.deb") results:
hello_2.10-1_amd64.deb: control.tar.gz is not second ar entry
And ar x hello_2.10-1_amd64.deb results:
control.tar.xz data.tar.xz debian-binary
Build/Deb.pm expects control.tar.gz, while .xz has been possible (but not used) until now. Looking at Deb.pm more closely, does it make sense to just use "dpkg-deb --ctrl-tarfile " instead of the manual parsing of deb file in perl code itself?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions