Package Base Details: renpy6

Git Clone URL: https://aur.archlinux.org/renpy6.git (read-only, click to copy)
Submitter: Cravix
Maintainer: eclairevoyant
Last Packager: myself600
Votes: 3
Popularity: 0.133148
First Submitted: 2018-10-05 09:48 (UTC)
Last Updated: 2022-11-08 19:44 (UTC)

Pinned Comments

eclairevoyant commented on 2022-12-24 22:53 (UTC) (edited on 2022-12-24 22:57 (UTC) by eclairevoyant)

You don't need to uninstall anything. Just build in a clean chroot like all packages are supposed to built.

avcodec_decode_audio4 is defined in ffmpeg4.4 so you have to build this package in an environment (such as a chroot) that has ffmpeg4.4 and not ffmpeg installed. Hence, a clean chroot (so that ffmpeg4.4 will be pulled in automatically).

Latest Comments

1 2 Next › Last »

eclairevoyant commented on 2022-12-24 22:53 (UTC) (edited on 2022-12-24 22:57 (UTC) by eclairevoyant)

You don't need to uninstall anything. Just build in a clean chroot like all packages are supposed to built.

avcodec_decode_audio4 is defined in ffmpeg4.4 so you have to build this package in an environment (such as a chroot) that has ffmpeg4.4 and not ffmpeg installed. Hence, a clean chroot (so that ffmpeg4.4 will be pulled in automatically).

myself600 commented on 2022-12-24 19:26 (UTC)

@Spartan322: Do you have ffmpeg installed as pointed out in https://aur.archlinux.org/packages/renpy6#comment-888774? If so, remove it and reinstall renpy6.

Spartan322 commented on 2022-12-24 16:36 (UTC)

@myself600: That didn't fix the issue for me, avcodec_decode_audio4 is still an undefined symbol.

myself600 commented on 2022-12-24 11:05 (UTC)

@Spartan322: I've recently got a traceback log when running Katawa Shoujo. Reinstalling python2 solved the issue.

Spartan322 commented on 2022-12-24 08:38 (UTC) (edited on 2022-12-24 08:38 (UTC) by Spartan322)

Currently suffering from this in trying to run renpy:

Traceback (most recent call last):
  File "/usr/share/renpy/renpy.py", line 199, in <module>
    main()
  File "/usr/share/renpy/renpy.py", line 196, in main
    renpy.bootstrap.bootstrap(renpy_base)
  File "/usr/share/renpy/renpy/bootstrap.py", line 281, in bootstrap
    renpy.import_all()
  File "/usr/share/renpy/renpy/__init__.py", line 463, in import_all
    import renpy.audio.audio
  File "/usr/share/renpy/renpy/audio/audio.py", line 42, in <module>
    import renpy.audio.renpysound as renpysound
ImportError: /usr/lib/python2.7/site-packages/renpy/audio/renpysound.so: undefined symbol: avcodec_decode_audio4

myself600 commented on 2022-11-08 19:28 (UTC)

There are 2 issues with this:

  • if ffmpeg package is present, it will build against it instead of ffmpeg4.4 and Katawa Shoujo won't run
  • it takes around 52 seconds to get to the Four Leaf Studios intro

Omar007 commented on 2022-07-08 10:21 (UTC)

If anyone else is still looking at using this package, you're going to need a few adaptations due to missing and no longer valid dependencies (python2-setuptools still missing, building against ffmpeg since 5 no longer possible). See following diff.
Maybe not the cleanest way to do these changes but it is the easiest and quickest way to get this to build on the current state of Arch in a clean chroot ;)

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ pkgdesc="Ren'Py visual novel engine (legacy 6.x version)"
 arch=('x86_64')
 url='http://www.renpy.org'
 license=('MIT')
-makedepends=('cython2' 'ffmpeg' 'glew' 'python2-pygame-sdl2')
+makedepends=('python2-setuptools' 'cython2' 'ffmpeg4.4' 'glew' 'python2-pygame-sdl2')
 source=("http://www.renpy.org/dl/${pkgver}/renpy-${pkgver}-source.tar.bz2"
         'renpy'
         'renpy.desktop'
@@ -25,6 +25,8 @@ prepare() {
   cd renpy-${pkgver}-source

   sed 's/python/python2/' -i renpy.py launcher/game/tkaskdir.py
+  sed 's|ffmpeg|ffmpeg4.4|' -i module/setup.py
+  sed 's|os.path.join(i, "lib64"), os.path.join(i, "lib32")|os.path.join(i, "lib/ffmpeg4.4")|' -i module/setuplib.py
 }

 build() {
@@ -37,7 +39,7 @@ build() {

 package_python2-renpy6() {
   pkgdesc="Base libs of Ren'Py visual novel engine (legacy 6.x version)"
-  depends=('ffmpeg' 'glew' 'python2' 'sdl2')
+  depends=('ffmpeg4.4' 'glew' 'python2' 'sdl2')

   cd renpy-${pkgver}-source

Omar007 commented on 2022-01-09 12:43 (UTC)

For those trying to build a package using this and having trouble with it; it's missing 'python2-setuptools' in the makedepends array.
This is what's providing the imports cython2 is looking for.

DianaNites commented on 2020-07-05 06:54 (UTC)

Broken, doesn't build anymore

Cravix commented on 2018-10-05 10:06 (UTC)

And, seems current python-pygame-sdl2 is compatible with renpy6, so I didn't make another package like python-pygame-sdl2-renpy6 or so.

Once it becomes incompatible with renpy6, please report here and I'll make another package, thanks in advance ;)