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

shiboken2 is misclassified as manylinux1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Shiboken
    • Labels:
      None
    • Environment:
      docker
    • Platform/s:
      Linux/X11

      Description

      shiboken2 is misclassified as manylinux1 when it's really manylinux2014 and should at least mention that somewhere, even if you want to support old pip clients.

       

      Running these 3 commands shows that shiboken2 can only be run on a manylinux2014-compatible machine:

       

      # Fails:
      docker run -it --rm --name manylinux quay.io/pypa/manylinux1_x86_64 bash -c "/opt/python/cp37-cp37m/bin/pip install shiboken2 && /opt/python/cp37-cp37m/bin/python -m shiboken2"
      # Fails:
      docker run -it --rm --name manylinux quay.io/pypa/manylinux2010_x86_64 bash -c "/opt/python/cp37-cp37m/bin/pip install shiboken2 && /opt/python/cp37-cp37m/bin/python -m shiboken2"
      # Succeeds:
      docker run -it --rm --name manylinux quay.io/pypa/manylinux2014_x86_64 bash -c "/opt/python/cp37-cp37m/bin/pip install shiboken2 && /opt/python/cp37-cp37m/bin/python -m shiboken2"
      
      

      The first two error out with the inability to import shiboken2:

      /opt/python/cp37-cp37m/bin/python: Error while finding module specification for 'shiboken2.__main__' (ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /opt/python/cp37-cp37m/lib/python3.7/site-packages/shiboken2/libshiboken2.abi3.so.5.15))

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            fahhem Fahrzin Hemmati
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes