On Tue, Mar 08, 2022 at 09:59:07AM +0100, Fabio Valentini wrote:
> On Tue, Mar 8, 2022 at 9:11 AM Daniel P. Berrangé <berra...@redhat.com> wrote:
> >
> 
> (...)
> 
> > How many examples of things like Wine & Steam do we actually have ?
> > I feel it must be a pretty small list of things which are important
> > to a large number of users and yet need 32-bit.
> >
> > If we only consider Wine & Steam, we can make a clear list of
> > exactly what small set of 32-bit libs are needed, we can declare
> > everything obsolete. We could start by simply excluding all those
> > unneeded RPM from the compose, and then let maintainers disable
> > it in their RPM builds without fear of causing deps problem.
> 
> I have considered an approach like this. But as always, it's just not
> that simple.
> 
> One of the most problematic things are transitive BuildRequires:
> Even if you know you need to keep libfoo.i686 and libbar.i686, how do
> you determine the transitive dependencies that are needed to keep
> those packages around?
> And by that, I don't only mean Requires, but also transitive
> BuildRequires, i.e. if libfoo BuildRequires foolangc, which
> BuildRequires some other stuff, etc, all of which still needs to be
> there, or at some point, libfoo.i686 will either fail to build or fail
> to install.

Isn't that just a standard RPM dep solving problem, at least for
stuff inside Fedora repos or well known 3rd party add-on repos ?

Take the minimal build root and run 'dnf install wine' and watch
what is installed to get transitive runtime deps. Similarly use
'dnf builddep wine' to get transitive build deps. We can see
the latter from koji logs

https://kojipkgs.fedoraproject.org/packages/wine/7.2/1.fc37/data/logs/i686/root.log

It is a surprisingly large set - 522 packages as build deps, but
none the less this is automated info, instead of having package
maintainers try to figure out if their package is actually still
needed or not.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to