DevHeads.net

Boost python3 auto-generated Requires are wrong

Starting with Fedora 30 the automatically generated Requires for
rb_libtorrent-python3 is pulling in Boost for Python 2 instead of for 3. What could
be doing that?

Fedora 29: <a href="https://koji.fedoraproject.org/koji/rpminfo?rpmID=16322406" title="https://koji.fedoraproject.org/koji/rpminfo?rpmID=16322406">https://koji.fedoraproject.org/koji/rpminfo?rpmID=16322406</a>
Fedora 30: <a href="https://koji.fedoraproject.org/koji/rpminfo?rpmID=16328261" title="https://koji.fedoraproject.org/koji/rpminfo?rpmID=16328261">https://koji.fedoraproject.org/koji/rpminfo?rpmID=16328261</a>

Today I upgraded the package and that build is still showing this problem.

Fedora 31: <a href="https://koji.fedoraproject.org/koji/rpminfo?rpmID=17466145" title="https://koji.fedoraproject.org/koji/rpminfo?rpmID=17466145">https://koji.fedoraproject.org/koji/rpminfo?rpmID=17466145</a>

Thanks,
Michael

Comments

Re: Boost python3 auto-generated Requires are wrong

By =?UTF-8?B?TWlyb... at 05/03/2019 - 11:29

On 03. 05. 19 17:23, Michael Cronenworth wrote:
Is it possible that the build is picking boost_python27 when it cannot find
boost_python3?

Try replacing:

--with-boost-python=boost_python3

with

--with-boost-python=boost_python%{python3_version_nodots}

Re: Boost python3 auto-generated Requires are wrong

By Michael Cronenworth at 05/03/2019 - 11:46

On 5/3/19 10:29 AM, Miro HronĨok wrote:
That seems to fix it. Thanks!

Re: Boost python3 auto-generated Requires are wrong

By =?UTF-8?B?TWlyb... at 05/03/2019 - 11:47

On 03. 05. 19 17:46, Michael Cronenworth wrote:
Don't forget to do this with Python 2 as well. I think you are getting python27
by accident, not explicitly (and it happens to works for Python 2).