[Bug 2134079] Re: renpy 8.3.4+dfsg-5 FTBFS on resolute

Max Gilmour 2134079 at bugs.launchpad.net
Fri Dec 5 18:36:35 UTC 2025


I've fixed this bug. This patch makes the log message a byte string,
fixing the type coercion error and allowing glenviron_shader to be
compiled.

PPA build:
https://launchpad.net/~maxgmr/+archive/ubuntu/plusone/+builds?build_text=renpy&build_state=all

amd64 autopkgtests: https://autopkgtest.ubuntu.com/results/autopkgtest-
resolute-maxgmr-
plusone/resolute/amd64/r/renpy/20251205_175926_f2807@/log.gz

Lintian:
W: renpy: duplicate-font-file also in (fonts-quicksand) [usr/share/games/renpy/renpy/common/_theme_awt/Quicksand-Bold.ttf]
W: renpy: duplicate-font-file also in (fonts-quicksand) [usr/share/games/renpy/renpy/common/_theme_awt/Quicksand-Regular.ttf]
W: renpy: truetype-font-prohibits-installable-embedding (preview/print only) [usr/share/games/renpy/renpy/common/TwemojiCOLRv0.ttf]
W: renpy: unusual-interpreter python [usr/share/games/renpy/launcher/Atom.edit.py]

** Patch added: "1-8.3.4+dfsg-5ubuntu1.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/renpy/+bug/2134079/+attachment/5931640/+files/1-8.3.4+dfsg-5ubuntu1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2134079

Title:
  renpy 8.3.4+dfsg-5 FTBFS on resolute

Status in renpy package in Ubuntu:
  New

Bug description:
  renpy fails to build, preventing migration, due to type coercion
  issues during compilation of the environ shader:

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          glGetProgramiv(handle, GL_INFO_LOG_LENGTH, &log_length)

      log = ' ' * log_length

      if shader:
          glGetShaderInfoLog(handle, log_length, &log_length, <char *> log)
                                                                       ^
  ------------------------------------------------------------

  /<<PKGBUILDDIR>>/renpy/gl/glenviron_shader.pyx:284:69: Unicode objects
  only support coercion to Py_UNICODE*.

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      log = ' ' * log_length

      if shader:
          glGetShaderInfoLog(handle, log_length, &log_length, <char *> log)
      else:
          glGetProgramInfoLog(handle, log_length, &log_length, <char *> log)
                                                                        ^
  ------------------------------------------------------------

  /<<PKGBUILDDIR>>/renpy/gl/glenviron_shader.pyx:286:70: Unicode objects
  only support coercion to Py_UNICODE*.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/renpy/+bug/2134079/+subscriptions




More information about the Ubuntu-sponsors mailing list