On 11/12/19 5:18 AM, andy pugh wrote:
Is there an automated way to determine the accuracy of the dependencies list?
One that I am curious is libgl1-mesa-*. I could not find it for
Buster, but the system appears to compile and run without it.
https://github.com/LinuxCNC/linuxcnc/blob/2.8/debian/control.top.in#L19
There's not a great way. The best way I know of is to use pbuilder.
I have pbuilder chroots for different distros (buster, stretch, wheezy),
i tweak the files in `debian/`, build the package (using pdebuilder),
and look at the debs produced.
Just now I checked out 2.8 (d15716c96e0), ran `cd debian; ./configure
uspace` on Buster, then ran `pdebuild` using an up-to-date buster chroot
tarball, and stashed the debs it produced.
I then ran `git clean` in the repo, deleted the "libgl1-mesa" line from
`debian/control.top.in`, reconfigured and rebuilt.
I then unpacked both linuxcnc-uspace_*.deb files using `dpkg-deb -x` and
compared the contents. They were identical, except for a couple of
timestamps in generated files since they were built at different times.
So i conclude that on Buster, the presence or absence of
`libgl1-mesa-dev | libgl1-mesa-swx11-dev` in `debian/control` makes no
difference.
I did not test any other distros. Note that `debian/configure` has to
be run on the distro you're targeting, and pdebuild doesn't make that easy.
--
Sebastian Kuzminsky
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers