question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

factory openSUSE OpenGLUsing.py failing

See original GitHub issue

Using factory from a week ago:

python3:

[  815s] Skipped, NumpyUsing.py (numpy.test not fully working yet).
[  815s] Consider output of recursively compiled program: OpenGLUsing.py
[  815s] Comparing output of 'OpenGLUsing.py' using '/usr/bin/python3' with flags silent, expect_success, standalone, remove_output, ignore_warnings ...
[ 1436s] --- /usr/bin/python3 (stderr)
[ 1436s] +++ nuitka (stderr)
[ 1436s] 
[ 1436s] @@ -1 +1,4 @@
[ 1436s] 
[ 1436s]  
[ 1436s] +cc1: out of memory allocating 51056008 bytes after a total of 2687528960 bytes
[ 1436s] +scons: *** [OpenGLUsing.build/module.OpenGL.raw.GL.VERSION.GL_1_0.o] Error 1
[ 1436s] +
[ 1436s] Exit codes 0 (CPython) != 1 (Nuitka)
[ 1436s] Error, outputs differed.
[ 1436s] Error exit! 1
[ 1437s] error: Bad exit status from /var/tmp/rpm-tmp.zcf9SN (%check)

python2:

[  868s] Skipped, NumpyUsing.py (numpy.test not fully working yet).
[  868s] Consider output of recursively compiled program: OpenGLUsing.py
[  868s] Comparing output of 'OpenGLUsing.py' using '/usr/bin/python2' with flags silent, expect_success, standalone, remove_output, ignore_warnings ...
[ 1481s] --- /usr/bin/python2 (stderr)
[ 1481s] +++ nuitka (stderr)
[ 1481s] 
[ 1481s] @@ -1 +1,2 @@
[ 1481s] 
[ 1481s] +Nuitka:INFO:Missing optimization, used fallback: ('Lt', <class 'nuitka.nodes.shapes.BuiltinTypeShapes.ShapeTypeNoneType'>, <class 'nuitka.nodes.shapes.BuiltinTypeShapes.ShapeTypeIntOrLong'>)
[ 1481s]  
[ 1481s] Error, outputs differed.
[ 1481s] Error exit! 1
[ 1481s] error: Bad exit status from /var/tmp/rpm-tmp.Gecerl (%check)

Python 2 finished failed log at https://build.opensuse.org/package/show/home:jayvdb:py-bridge/python-Nuitka-factory

Searching on OOM took me to https://github.com/Nuitka/Nuitka/issues/136 , which looks interesting

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, Jul 30, 2019

I have started work to special case empty code functions to not need boilerplate code. I expect that work result in a more scalable Nuitka, definitely for the file you ran out of memory with. I hope to finish this for 0.6.6 release, but obviously that is not granted.

0reactions
jayvdbcommented, Sep 21, 2019

The opengl tests are still extremely slow, but they now pass reliably, at least when I also add my slightly customised package opengl-accelerate - see https://github.com/mcfletch/pyopengl/issues/28 for the current problems atm with PyOpenGL-accelerate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

openSUSE:Factory - Build fail notification
We tried to send out notifications to the configured bugowner/maintainers of the package(s), but so far no fix has been submitted.
Read more >
Missing PyOpenGL-accelerate 3.1.3b2 · Issue #28 - GitHub
I am experiencing aborts and failures on Python 2.7 when PyOpenGL-accelerate 3.1.3b1 is installed with PyOpenGL-3.1.3b2 , especially when ...
Read more >
Python 3.7 install not working on openSUSE Leap 42.3
This should fix your problem: ln -s /usr/local/lib64/python3.7/lib-dynload/ /usr/local/lib/python3.7/lib-dynload.
Read more >
An outdated Python for openSUSE Leap - LWN.net
Python 3.6. On January 3, Michael Ströder posted about the Python version to the opensuse-factory mailing list. He noted that some Python modules...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found