Bug#1026980: pyqt5: FTBFS on mipsel (MemoryError)

2022-12-25 Thread Sebastiaan Couwenberg

On 12/25/22 16:13, Dmitry Shachnev wrote:

I noticed that code generation with Python 3.11 succeeded, and failed only
with Python 3.10. My hypothesis is that it happened because we do not
generate .pyi files with non-default Python versions. I will try to disable
.pyi generation completely and see if the package builds on a porterbox.


Dropping the --pep484-pyi option for the default Python and updating the 
.install files accordingly fixes the build failure on eller.


Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1026980: pyqt5: FTBFS on mipsel (MemoryError)

2022-12-25 Thread Dmitry Shachnev
Control: forwarded -1 
https://www.riverbankcomputing.com/pipermail/pyqt/2022-December/045088.html

Hi Bas!

On Sun, Dec 25, 2022 at 03:57:22PM +0100, Bas Couwenberg wrote:
> Source: pyqt5
> Version: 5.15.7+dfsg-2
> Severity: serious
> Tags: upstream ftbfs
> Control: block 1025863 by -1
>
> Dear Maintainer,
>
> Your package FTBFS on mipsel, even on buildds where it built successfully
> before, during the qtbase-opensource-src transition:
>
>  Generating the _QOpenGLFunctions_2_0 bindings...
>  sip-build: An internal error occurred...
> [...]
>  MemoryError

I have contacted upstream about this, but I do not expect quick reply because
of the holidays.

I noticed that code generation with Python 3.11 succeeded, and failed only
with Python 3.10. My hypothesis is that it happened because we do not
generate .pyi files with non-default Python versions. I will try to disable
.pyi generation completely and see if the package builds on a porterbox.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Processed: Re: Bug#1026980: pyqt5: FTBFS on mipsel (MemoryError)

2022-12-25 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 
> https://www.riverbankcomputing.com/pipermail/pyqt/2022-December/045088.html
Bug #1026980 [src:pyqt5] pyqt5: FTBFS on mipsel (MemoryError)
Set Bug forwarded-to-address to 
'https://www.riverbankcomputing.com/pipermail/pyqt/2022-December/045088.html'.

-- 
1026980: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026980
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1026980: pyqt5: FTBFS on mipsel (MemoryError)

2022-12-25 Thread Bas Couwenberg
Source: pyqt5
Version: 5.15.7+dfsg-2
Severity: serious
Tags: upstream ftbfs
Control: block 1025863 by -1

Dear Maintainer,

Your package FTBFS on mipsel, even on buildds where it built successfully 
before, during the qtbase-opensource-src transition:

 Generating the _QOpenGLFunctions_2_0 bindings...
 sip-build: An internal error occurred...
 Traceback (most recent call last):
   File "/usr/bin/sip-build", line 33, in 
 sys.exit(load_entry_point('sip==6.7.5', 'console_scripts', 'sip-build')())
   File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 37, in 
main
 handle_exception(e)
   File "/usr/lib/python3/dist-packages/sipbuild/exceptions.py", line 81, in 
handle_exception
 raise e
   File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 34, in 
main
 project.build()
   File "/usr/lib/python3/dist-packages/sipbuild/project.py", line 244, in build
 self.builder.build()
   File "/usr/lib/python3/dist-packages/sipbuild/builder.py", line 48, in build
 self._generate_bindings()
   File "/usr/lib/python3/dist-packages/sipbuild/builder.py", line 277, in 
_generate_bindings
 buildable = bindings.generate()
   File "/usr/lib/python3/dist-packages/sipbuild/bindings.py", line 166, in 
generate
 spec, sip_files = parse(self.sip_file, SIP_VERSION, encoding,
   File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser.py", 
line 36, in parse
 protected_is_public, include_dirs, sip_module, is_strict).parse(
   File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 1505, in parse
 self._parser.parse(self._read(sip_file, raw_sip_file),
   File "/usr/lib/python3/dist-packages/ply/yacc.py", line 331, in parse
 return self.parseopt(input, lexer, debug, tracking, tokenfunc)
   File "/usr/lib/python3/dist-packages/ply/yacc.py", line 823, in parseopt
 p.callable(pslice)
   File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/rules.py", 
line 765, in p_include_simple
 pm.push_file(p, 1)
   File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 1685, in push_file
 self._lexer.input(self._read(sip_file, raw_sip_file))
   File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 2120, in _read
 self._input = f.read()
   File "/usr/lib/python3.10/codecs.py", line 322, in decode
 (result, consumed) = self._buffer_decode(data, self.errors, final)
 MemoryError

https://buildd.debian.org/status/fetch.php?pkg=pyqt5&arch=mipsel&ver=5.15.7%2Bdfsg-2%2Bb1&stamp=1671914840&raw=0

Kind Regards,

Bas