Package Details: renpy 8.3.4.24120703-1

Git Clone URL: https://aur.archlinux.org/renpy.git (read-only, click to copy)
Package Base: renpy
Description: Visual novel engine Ren'Py along with its platdeps libs
Upstream URL: http://www.renpy.org
Licenses: MIT
Provides: python-renpy
Replaces: renpy64
Submitter: patlefort
Maintainer: patlefort
Last Packager: patlefort
Votes: 2
Popularity: 0.022430
First Submitted: 2023-09-06 07:05 (UTC)
Last Updated: 2024-12-09 07:44 (UTC)

Pinned Comments

Latest Comments

patlefort commented on 2024-10-07 10:01 (UTC)

I added a fix to make sure it will link against ffmpeg 6.1. I would still advise people to build packages in clean containers in general.

snit commented on 2024-10-07 06:48 (UTC)

I think I found my issue; I suppose this is why they recommend building in a clean chroot.

Since I have both ffmpeg and ffmpeg6.1 installed, I decided to check the file that raised the error with ldd to see how it linked to libswresample (which provides swr_alloc_set_opts). Apparently, its linking to swresample.so.5 (provided by ffmpeg, no swr_alloc_set_opts), when it actually needs swresample.so.4 (provded by ffmpeg6.0, has swr_alloc_set_opts).

I wasn't sure if there's a way to force the right version within the PKGBUILD, so I just uninstalled ffmpeg, rebuilt renpy, and then reinstalled ffmpeg, which seems to've fixed the issue.

patlefort commented on 2024-10-06 10:16 (UTC)

I pushed a fix for renpy trying to read /usr/share/renpy/.git/HEAD. I can't reproduce the second problem. This is in ffmpeg and using ffmpeg6.1, which this package depend on, it should work fine.

snit commented on 2024-10-05 23:56 (UTC) (edited on 2024-10-05 23:56 (UTC) by snit)

I'm able to build renpy just fine, but I'm unable to run it without crashing immediately. It seems to encounter two errors:

  1. It attempts to open /usr/share/renpy/.git/HEAD, which doesn't exist; I solved this by adding .git to the PKGBUILD's cp -r line

  2. swr_alloc_set_opts is an undefined symbol; I'm not sure how to fix this one

The same errors were encountered by a user in the comments of the katawa-shoujo-reengineered package. Has anyone else encountered these errors, and does anyone know how to fix them?

FraYoshi commented on 2023-10-06 21:47 (UTC)

Quick not, Recent update of Ren'py here in the AUR now requires cython0 which conflict with cython... needed by python-cuda.. and optional for python-internetarchive

It is make only, but I think it was worth mentioning.