Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2769

Issues with shiboken6 generator when llvm-config is available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.7.2, 6.8.0
    • 6.7.1
    • Shiboken
    • None
    • Linux/Wayland, Linux/X11
    • e2b483501 (dev), 8602a8d78 (dev), 648ff121d (6.7), 0abc1ed5f (6.7)

    Description

      Since 6.7.1 (maybe 6.7.0 but didn't tried), when building wheels for https://github.com/SciQLop/SciQLopPlots I have errors like this one:

        (bindings) Clang: 4 diagnostic messages:
            /usr/include/limits.h:124:16: fatal: 'limits.h' file not found
             /tmp/bindings_zFnHGw.hpp:1:10: note: in file included from /tmp/bindings_zFnHGw.hpp:1:
             /project/SciQLopPlots/bindings/bindings.h:7:10: note: in file included from /project/SciQLopPlots/bindings/bindings.h:7:
             /project/include/SciQLopPlots/BufferProtocol.hpp:32:10: note: in file included from /project/include/SciQLopPlots/BufferProtocol.hpp:32:
             /opt/_internal/cpython-3.9.19/include/python3.9/Python.h:11:10: note: in file included from /opt/_internal/cpython-3.9.19/include/python3.9/Python.h:11:
      

      Messing with include dirs didn't help, only removing llvm-config worked.
      I also tried to build pyside_qtads wheels since it uses CMake (Vs Meson in my case) and got the same behavior.
      All tests are done within pypa/manylinux_2_28_x86_64 image.

      Building pyside_qtads or SciQLopPlots wheel within pypa/manylinux_2_28_x86_64 with llvm-config installed should be enough to reproduce the issue.

      Attachments

        For Gerrit Dashboard: PYSIDE-2769
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            ajeandet Alexis Jeandet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: