Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76683 - [ogre] No python bindings
Attached to Project:
Community Packages
Opened by Paul Melis (paulmelis) - Sunday, 27 November 2022, 18:16 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 07 December 2022, 07:32 GMT
Opened by Paul Melis (paulmelis) - Sunday, 27 November 2022, 18:16 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 07 December 2022, 07:32 GMT
|
DetailsDescription:
In 13.5.2-1 no Python bindings are available, even though having `python` package installed suggests as much in the post-install. It seems -DOGRE_BUILD_COMPONENT_PYTHON=ON is missing in the build file. Adding this to `PKGBUILD` and doing a build locally indeed adds Python bindings, but then installs them in /usr/lib/python3.10/dist-packages, strange. Additional info: * package version 13.5.2-1, including python installed melis@juggle 17:49:/usr/lib$ pacman -Qi ogre Name : ogre Version : 13.5.2-1 Description : Scene-oriented, flexible 3D engine written in C++ Architecture : x86_64 URL : http://www.ogre3d.org Licenses : custom:MIT Groups : None Provides : None Depends On : freeimage freetype2 libxaw libxrandr sdl2 glu pugixml zlib Optional Deps : python: python bindings [installed] Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 216.33 MiB Packager : Sven-Hendrik Haase <svenstaro@gmail.com> Build Date : Mon 21 Nov 2022 12:23:56 PM CET Install Date : Sun 27 Nov 2022 05:45:24 PM CET Install Reason : Explicitly installed Install Script : Yes Validated By : Signature Steps to reproduce: |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 07 December 2022, 07:32 GMT
Reason for closing: Fixed
Wednesday, 07 December 2022, 07:32 GMT
Reason for closing: Fixed
Please try the attached diff.
[1] https://github.com/OGRECave/ogre/blob/v13.5.2/CMakeLists.txt#L341
[2] https://github.com/OGRECave/ogre/blob/v13.5.2/Components/Python/CMakeLists.txt#L1
[3] https://github.com/OGRECave/ogre/commit/f3a5cfb11d85be211cebb4645dc538663c3aa568