<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 2 дек. 2023 г., 10:20 Андрей Спицын <<a href="mailto:spitsyn.andrey@gmail.com" rel="noreferrer noreferrer" target="_blank">spitsyn.andrey@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hello Phyllis, Terje and Andrew<div dir="auto"><br></div><div dir="auto">Thanks for testing!<div dir="auto"><br><div dir="auto"><div dir="auto">I have some experience with rpm-based systems. Why does dnf select the i686 architecture in the first place? On Debian based systems, apt selects the original architecture of the system by default.</div><div dir="auto"><br></div><div dir="auto">Andrew, I think the spec file should be architecture agnostic. Otherwise I'll have to patch it when I add i686 or arm64 builder.</div></div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">may be ?_isa macro from rpm 4.6.0 can help?</div><div dir="auto"><br></div><div dir="auto"><a href="https://rpm-software-management.github.io/rpm/manual/arch_dependencies.html" rel="noreferrer noreferrer" target="_blank">https://rpm-software-management.github.io/rpm/manual/arch_dependencies.html</a><br></div><div dir="auto"><br></div><div dir="auto">==== copy ====</div><div dir="auto"><br></div><div dir="auto"><p></p>
<h2>ISA Dependencies</h2>
<p>In rpm 4.6.0, the concept of ISA (Instruction Set Architecture) was introduced to permit
differentiating between 32- and 64-bit versions without resorting to file dependencies on obscure and/or
library-version dependent paths. To declare a dependency on a package name architecture specific,
append %{?_isa} to the dependency name, eg</p>
<div dir="auto"><div><pre><code>Requires: libbar-devel%{?_isa} >= 2.2
</code></pre></div></div>
<p>This will expand to libbar-devel(archfamily-bitness) depending on the build target architecture,
for example a native build on x86_64 would give</p>
<div dir="auto"><div><pre><code>Requires: libbar-devel(x86-64) >= 2.2
</code></pre></div></div>
<p>but with –target i386 (or i586, i686 etc) it would become</p>
<div dir="auto"><div><pre><code>Requires: libbar-devel(x86-32) >= 2.2
</code></pre></div></div>
<p>Note that this requires all the involved packages must have been built with rpm >= 4.6.0,
older versions do not add the necessary name(isa) provides to packages.</p></div><div dir="auto">== copy end ===</div><div dir="auto">it seems that rpm 4.6.0 surfaced in 2009 ...</div><div dir="auto"><br></div><div dir="auto"><a href="https://lwn.net/Articles/318586/">https://lwn.net/Articles/318586/</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><div dir="auto"><div dir="auto"><div dir="auto"><br></div></div></div><div dir="auto">Best regards,</div><div dir="auto">Andrey</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">сб, 2 дек. 2023 г., 03:07 Phyllis Smith via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks Terje ! works much better now once I installed the x86_64 version, which should have been automatic in the first place.<br></div><div class="gmail_default" style="font-size:small">Sorry Andrey for my dumb mistake -- it installed from the build farm and works just fine -- I just wanted to test it.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 1, 2023 at 4:54 PM Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">phylsmith2017@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Terje, nice catch and definitely wrong BUT can not understand why that happened?!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 1, 2023 at 4:40 PM Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
Phyllis,<br>
<br>
Maybe a stupid question, but as you have suil-0.10.18-1.fc38.i686
installed:<br>
Is this 32bit lib just just added to 64bit or a base 32bit (i686)
Fedora OS?<br>
<br>
Terje<br>
<br>
<div>Den 01.12.2023 23:46, skrev Phyllis
Smith via Cin:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Andrey, this
is NOT Important as I was just playing around with a newly
installed Fedora 38, but here is what went wrong.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"># rpm -i
cinelerra-5.1-20231201.fc38.x86_64.rpm <br>
error: Failed dependencies:<br>
libsuil-0.so.0()(64bit) is needed by
cinelerra-5.1-20231201.x86_64</div>
<div class="gmail_default" style="font-size:small"># dnf install
libsuil-0.so.0</div>
<div class="gmail_default" style="font-size:small">...</div>
<div class="gmail_default" style="font-size:small">Installed:<br>
suil-0.10.18-1.fc38.i686 <br>
</div>
<div class="gmail_default" style="font-size:small">...<br>
</div>
<div class="gmail_default" style="font-size:small"># rpm -i
cinelerra-5.1-20231201.fc38.x86_64.rpm <br>
error: Failed dependencies:<br>
libsuil-0.so.0()(64bit) is needed by
cinelerra-5.1-20231201.x86_64</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">I will see if
I can find the exact older version needed and install it
instead.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Oct 8, 2023 at 5:14 AM
Андрей Спицын <<a href="mailto:spitsyn.andrey@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">spitsyn.andrey@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hello Phyllis and everyone,</div>
<div><br>
</div>
<div>I've created a build farm for cinelerra deb and rpm
packages. Although it is at an early stage of development,
it can build packages on every git change in the main
repo. Feel free to use these packages at <a href="https://github.com/einhander/cin-gg-packages/releases" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/einhander/cin-gg-packages/releases</a>. Note
that releases correspond to a build date, not a git commit
date.<br>
Current build hosts are debian 12 and alma linux 8. I'm
open to suggestions for a new distro and packages.<br>
</div>
<div><br>
</div>
<br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div>Best regards,</div>
<div>Andrey Spitsyn</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>
</blockquote></div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin<br></a><br>
</blockquote></div></div></div>
</blockquote></div></div></div>