On 17/02/2020 21:05, Rich Freeman wrote:
I wouldn't use a chroot for anything at this point - anything you can do with one you can do just as easily with a container, with more separation. They're just as easy to set up as well - I personally use nspawn to run my containers but I'm sure lxc is almost as simple and of course it doesn't require running systemd.
nspawn seems very nice indeed. Haven't used it before, and that's simply because I never heard of it :-) Now that I did, it looks like it's what I'll be using from now on:
https://wiki.archlinux.org/index.php/Systemd-nspawn
Getting back to the original topic - you can just build binary packages for stuff like qt without using a container, but if you do so you won't be able to build more than one layer of dependencies.
Unfortunately, Qt depends on itself (qtgui depends on qtbase, for example,) so you can't even do that.