sip 6.3.0 fails to build pyqt5 5.15.4
Scott Talbert
swt at techie.net
Wed Oct 13 15:06:51 BST 2021
On Tue, 12 Oct 2021, مهدي شينون wrote:
>
> This is the GPL version of PyQt 5.15.4 (licensed under the GNU General Publi
> c License) for Python 3.9.7 on linux.
> Found the license file 'pyqt-gpl.sip'.
> Checking to see if the QtCore bindings can be built...
> sip-install: An internal error occurred...
> Traceback (most recent call last):
> File "/app/bin/sip-install", line 8, in <module>
> sys.exit(main())
> File "/app/lib/python3.9/site-packages/sipbuild/tools/install.py", line 37
> , in main
> handle_exception(e)
> File "/app/lib/python3.9/site-packages/sipbuild/exceptions.py", line 81, i
> n handle_exception
> raise e
> File "/app/lib/python3.9/site-packages/sipbuild/tools/install.py", line 32
> , in main
> project = AbstractProject.bootstrap('install',
> File "/app/lib/python3.9/site-packages/sipbuild/abstract_project.py", line
> 83, in bootstrap
> project.setup(pyproject, tool, tool_description)
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 545, in
> setup
> self.update(tool)
> File "project.py", line 182, in update
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 566, in
> update
> self.update_buildable_bindings()
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 578, in
> update_buildable_bindings
> if not b.is_buildable():
> File "/app/lib/python3.9/site-packages/pyqtbuild/bindings.py", line 171, i
> n is_buildable
> test_exe = project.builder.build_executable(buildable, fatal=False)
> File "/app/lib/python3.9/site-packages/pyqtbuild/builder.py", line 169, in
> build_executable
> self._update_pro_file(pro_lines, buildable)
> File "/app/lib/python3.9/site-packages/pyqtbuild/builder.py", line 687, in
> _update_pro_file
> if self.project.get_platform_tag().endswith('_universal2'):
> File "/app/lib/python3.9/site-packages/pyqtbuild/project.py", line 138, in
> get_platform_tag
> platform_tag = super().get_platform_tag().split('_')
> File "/app/lib/python3.9/site-packages/sipbuild/project.py", line 339, in
> get_platform_tag
> if self.minimum_glibc_version > (2, 17):
> TypeError: '>' not supported between instances of 'str' and 'tuple'
I can confirm this as well.
Scott
More information about the PyQt
mailing list