Bug#917549: Development file udev.pc is in main udev package

Michael Biebl biebl at debian.org
Fri Dec 28 15:20:24 GMT 2018


Am 28.12.18 um 15:49 schrieb Pali Rohár:
> On Friday 28 December 2018 15:32:45 Michael Biebl wrote:
>> Control: severity -1 wishlist
>>
>> Am 28.12.18 um 15:11 schrieb Pali Rohár:
>>> Package: udev
>>> Version: 240-2
>>>
>>> Currently pkg-config's udev.pc file is in main udev package. Therefore
>>> other packages which needs udev.pc for compilation need to install whole
>>> udev. So they need to declare Build-Depends: udev.
>>
>> What exactly is the problem with build-depending on udev? On most
>> systems it will be installed anyway and the footprint of udev and its
>> dependencies is not that much.
> 
> E.g. it installs udev into system.

That in itself is *not* a problem.

> Also building can be done in chroot or in minimal installation where
> udev package is not available. And installing and running whole udev
> daemon is not necessary for compilation.

udev is *not* started inside a chroot, so not an issue either.

>>> File udev.pc is for development and compilation of other packages,
>>> therefore it should be in separate some -dev package.
>>
>> What exactly do you need from udev.pc?
> 
> udevdir
> 
> More exactly, get location where udev rules files should be installed.
> 
>> If you link against libudev, you want libudev.pc which is shipped in
>> libudev-dev.
> 
> I'm not linking with libudev. I'm not using any udev library.
> 
>> Splitting out only udev.pc into a new binary package udev-dev seems a
>> bit like overkill.
> 
> I think that installing and running udev daemon just for compilation is
> more overkill.

This is a misconception, you don't need to run the udev daemon.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- 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/pkg-systemd-maintainers/attachments/20181228/7c441dae/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list