Giter Club home page Giter Club logo

Comments (8)

pryre avatar pryre commented on June 19, 2024 1

Had a good dig into this today. My attempt can be found on my branch. See PKGBUILDs and patches attached, prefixed with their parent packages. I have not had any experience with cactus, so thanks for that! -- Apologies that they are .txt, GitHub would not have accepted the raw files.

ros2-humble_PKGBUILD.txt
ros-humble_python_11_support.patch.txt
ros-arch-deps_PKGBUILD.txt

The major change was actually working around the SIP4 issues. The current state of SIP from PyQt/riverbankcomputing is a bit of a mess, and a lot of the ROS packages are stuck on SIP4 on ubuntu (even for their rolling branch?). It seems that the PyQt group are trying to push people along, but there's been a slow uptake. What concerns me is that there is comments floating around from that team basically saying that support for SIP4 is dead and people need to move on.

The only way I could get this to build effectively with my knowledge of SIP was to drop it entirely and switch to the pyside2 bindings. If anyone knows their way around PyQt better, then this can probably be avoided. I personally don't see the downside, but I would guess that there is licensing issues, etc. Apologies if this is not sufficient, and good luck to anyone that needs to fix that mess properly.

For anyone going down that path, I think the specific changes needed are to update the upstream of python_qt_binding, specifically this file. The python_qt_binding/cmake/sip_configure.py file needs to go from using the sipconfig build tools from SIP4 to the sipbuild build tools from SIP6 (current extra/sip package from the official repos). I had a brief crack at this, but it's well above my knowledge and I could not find any guides to perform a migration from SIP4->SIP6 in this manner. Ideally, I would imagine, the python_qt_binding upstream would be updated to give compatibility to build both SIP4 and SIP6 variants depending on availability. I may make an issue request over there shortly to start that talk.

from arch4edu.

pryre avatar pryre commented on June 19, 2024

Managed to rebuild the package myself, no major set-backs. Looks like there's an upstream update from pybind11_vendor that was required to be pulled (either that or I just missed it when I cloned the repo.

Had a few other instances of missing #include <cstdint> and #include <stdexception> in a few C++ packages, but that might be something on my end.

from arch4edu.

petronny avatar petronny commented on June 19, 2024

Hi, would you like to share your modified PKGBUILD so we can build it for everyone?

from arch4edu.

pryre avatar pryre commented on June 19, 2024

Good idea. I'll put the required changes into a patch and make sure everything is up to date with rolling. Give me a day or two and I'll make a pull request.

from arch4edu.

petronny avatar petronny commented on June 19, 2024

Thanks in advanced! It's also OK to just upload the PKGBUILD to here or somewhere if you are not familiar with cactus.yaml.

from arch4edu.

pryre avatar pryre commented on June 19, 2024

From further investigation of the python_qt_bindings package, they are looking to depreciate this eventually package anyway, so it may be a non-issue in the future, or for the next major ROS2 release:
ros-visualization/python_qt_binding#117.

Also noted that the longer term fix has had a pull request waiting for a few years now (ros-visualization/python_qt_binding#94). I imagine that the ros-visualization group is a bit under-powered as of late. Guess we'll see how this pans out.

from arch4edu.

AchmadFathoni avatar AchmadFathoni commented on June 19, 2024

I managed to build humble in clean chroot using m2-farzan/ros2-humble-PKGBUILD#11.

from arch4edu.

petronny avatar petronny commented on June 19, 2024

5088c72

from arch4edu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.