Le jeu. 26 juin 2025 à 03:59, David Airlie <airl...@redhat.com> a écrit : > > Does anyone know if it's possible to install i686 build deps into an > x86-64 build? > > I was going to try and see what building a mesa package that produced > a 32-bit subpackage, but > > BuildRequires: llvm-devel.i686 doesn't seem to work,
Copr works with that right now as opposed to koji (although some tuning about how the internal repos are created might workaround the issue in koji also at the cost of exposing i686 packages into x86_64 buildroot). So you can use either llvm-devel.i686 or llvm-devel(x86-32). The latter will correspond to the %{_isa} macro for arched dependencies but cmake() and pkgconfig() counterpart doesn't have that (likely fixable). The problem with copr is that it doesn't know how to pass --target i686 to mock, so I'm tuning various macros, but that's sub-optimal and leads to issues (that are likely fixable if copr/mock support --target). See also https://github.com/rpm-software-management/mock/issues/340. Cross-compiling from x86_64 will likely only avoid to build a i686 compiler. It's worth a try though. At least building a small set of i686 packages will likely be the way to go. Even if the packages list is moving, it will still be easier to maintain. Especially if i686 is using a reduced feature set (no generated docs, etc). The stronger argument against the reduced list strategy is to report i686 failures in projects earlier in the goal of overall code correctness distro wide. -- _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue