Re: Can we stop being bipolar with python library names?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 2, 2021 at 7:54 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 02. 02. 21 14:35, Richard Shaw wrote:
> I'm updating OpenImageIO to the latest version and usually simple version bumps
> and rebuilds work just fine, so I was surprised when the build failed...
>
> RPM build errors:
> error: File not found:
> /builddir/build/BUILDROOT/OpenImageIO-2.2.11.1-1.fc34.x86_64/usr/lib64/python3.9/site-packages/OpenImageIO.so
>
> Which literally has been fine a month ago...
>
> As it turns out the library name changed to:
>
> /usr/lib64/python3.9/site-packages/OpenImageIO.cpython-39-x86_64-linux-gnu.so
> <http://OpenImageIO.cpython-39-x86_64-linux-gnu.so>
>
> Am I just supposed to glob this in my spec file or is there a macro which will
> generate the correct output?

$ rpm --eval '%{python3_ext_suffix}'
.cpython-39-x86_64-linux-gnu.so

It would be great to add that to the guidelines. If I had found it there I probably wouldn't have even bothered to start this thread :)


On Tue, Feb 2, 2021 at 8:01 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 02. 02. 21 14:54, Miro Hrončok wrote:
> I don't know *what* has changed but it was not Python.

I suspect it was this:

https://github.com/OpenImageIO/oiio/pull/2807

Thanks, that's why I didn't want to assign blame without the possibility of exception :)

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux