[Debian-med-packaging] Bug#908834: please build libzstd udeb so that btrfs-progs can use zstd in Debian Installer
Alex Mestiashvili
amestia at rsh2.donotuse.de
Fri Oct 12 08:58:04 BST 2018
Hi,
On 10/11/2018 10:42 PM, Cyril Brulebois wrote:
> Hi,
>
> And thanks for checking with us (explicit Cc's welcome, by the way).
Ok, will do in the future.
>
> From a quick look at debian/control:
>> Package: libzstd1-udeb
>> Architecture: any
>> Multi-Arch: same
>
> This field isn't needed for d-i.
>
>> Section: debian-installer
>> Depends: ${misc:Depends},
>> ${shlibs:Depends}
>> Package-Type: udeb
>> Description: fast lossless compression algorithm
>> Zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
>> real-time compression scenarios at zlib-level compression ratio.
>> .
>> This package contains the shared library.
>> .
>> This is a minimal package for debian-installer.
>
> FWIW: A single-line description is sufficient in a d-i context.
>
>
> From a quick look at debian/rules, a real issue:
>> override_dh_makeshlibs:
>> dh_makeshlibs -plibzstd1 -V'libzstd1 (>=1.3.5)' --add-udeb=libzstd-udeb
>
> You're passing libzstd-udeb to --add-udeb, while the actual package is
> called libzstd1-udeb, so the generated shlibs file (see DEBIAN/shlibs in
> your build tree) will point to a package that doesn't exist, generating
> dependencies that can be satisfied for udebs using symbols from libzstd.
>
> [I'm used to seeing a space after '>=' but apparently having no space
> seems supported as well:
> (sid-amd64-devel)kibi at armor:~/hack/libzstd$ grep '>=' /var/lib/dpkg/info/*shlibs | grep -v '>= '
> /var/lib/dpkg/info/libgcrypt20:amd64.shlibs:libgcrypt 20 libgcrypt20 (>=1.8.0-0)
> /var/lib/dpkg/info/libgcrypt20:amd64.shlibs:udeb: libgcrypt 20 libgcrypt20-udeb (>=1.8.0-0)
> /var/lib/dpkg/info/libprocps6:amd64.shlibs:libprocps 6 libprocps6 (>=2:3.3.13-1)
> /var/lib/dpkg/info/libprocps7:amd64.shlibs:libprocps 7 libprocps7 (>=2:3.3.15-1)
> /var/lib/dpkg/info/libtasn1-6:amd64.shlibs:libtasn1 6 libtasn1-6 (>=4.7-0)
> ]
>
> Other than that, the resulting udeb after a binary build looks OK to me.
>
>
> Cheers,
>
Fixed all the mentioned above issues in the repository.
Thank you for the detailed answer!
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20181012/e1b852bc/attachment-0001.sig>
More information about the Debian-med-packaging
mailing list