FS#60087 - [renpy] Binary refuses to start

Attached to Project: Community Packages
Opened by Tatsuyuki Ishi (ishitatsuyuki) - Monday, 17 September 2018, 06:46 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 18 September 2018, 07:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ 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 288, in bootstrap
renpy.import_all()
File "/usr/share/renpy/renpy/__init__.py", line 419, in import_all
import renpy.text.text
File "/usr/share/renpy/renpy/text/text.py", line 34, in <module>
from _renpybidi import log2vis, WRTL, RTL, ON # @UnresolvedImport
ImportError: /usr/lib/python2.7/site-packages/_renpybidi.so: undefined symbol: fribidi_log2vis


Additional info:
[testing] enabled
renpy 5.1.0-1
fribidi 1.0.5-1
python2 2.7.15-2
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 18 September 2018, 07:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  7.1.0-2
Comment by Mighty (mighty_dread) - Monday, 17 September 2018, 13:17 GMT
I had the same problem. Managed to start renpy by commenting out line 34 in /usr/share/renpy/renpy/text/text.py

So far no problems.
Comment by Chih-Hsuan Yen (yan12125) - Monday, 17 September 2018, 13:23 GMT
Another workaround:

LD_PRELOAD=/usr/lib/libfribidi.so.0 renpy

_renpybidi.so should link to libfribidi.so.0 (have a DT_NEEDED entry with value libfribidi.so.0) while it doesn't. Most likely there's something wrong during the build.
Comment by loqs (loqs) - Tuesday, 18 September 2018, 00:33 GMT
Does this minimal patch fix the issue?
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 18 September 2018, 06:47 GMT
loqs: looks like renpy uses bundled fribidi. Better to completely drop the bundled one in favor of the system one.
Comment by Maxime Gauduin (Alucryd) - Tuesday, 18 September 2018, 07:27 GMT
Using the system fribidi was my original goal, looks like I missed this though. I'll force linking fribidi. Thanks loqs for the patch.

Loading...