Am 10.09.24 um 14:52 schrieb Fabian Grünbichler:
>> Fiona Ebner <f.eb...@proxmox.com> hat am 10.09.2024 14:24 CEST geschrieben:
>> Am 12.08.24 um 13:44 schrieb Maximiliano Sandoval:
>>> The decompressor_info method calls binaries provided by these packages
>>> so they are (alphabetically) added explicitly as dependencies.
>>>
>>> To avoid a build-time error
>>>
>>>     E: libpve-storage-perl: 
>>> depends-on-essential-package-without-using-version Depends: gzip
>>>
>>> the current minor version available in bullseye was set for gzip.
>>>
>>
>> Since I didn't get that error, I'm interested: what command are you
>> building with? Why the version for Bullseye?
> 
> it's wrong in any case - gzip is Essential (installed on all Debian systems). 
> you don't ever need a dependency (build or otherwise) for it. this is what 
> lintian is trying to tell you - it's wrong to depend on gzip without a 
> version constraint (and okay to use it without a dependency). *only* if you 
> have a certain version requirement you need to add the dependency (with the 
> proper version qualifier) to be able to encode that version requirement.
>  

I see, thank you for the explanation!

>> I guess many systems already have bzip2 installed, but do we really want
>> to require it for everybody? Or should we rather keep it optional (could
>> be a Recommends or Suggests dependency) and add a clean error if not
>> installed?
> 
> I am not sure about *how* many (most dev machines yes, since it's 
> build-essential and required by a lot of build-related packages ;)). it's 
> only 124kB though, and libbz2-1.0 is always installed (it's transitively 
> Essential via dpkg), so it doesn't pull in anything that isn't installed on 
> all standard Debian-based systems anyway since it only depends on that and 
> libc6. I don't really see a reason to use Recommends or Suggests here, even 
> if bz2 compress isos are not that common.

Okay :)


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to