Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43122 - [sfml] [python-sfml] wrong library linking

Attached to Project: Community Packages
Opened by Francesco Ceruti (Ceppo) - Monday, 15 December 2014, 13:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 26 December 2014, 22:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The python-sfml module files are linked with missing library file. The sfml provide "sfml-<module>.so.2.2.0" and "sfml-<module>.so", but the python-sfml modules are linked with "sfml-<module>.so.2".

Additional info:
* packages
python-sfml 1.3-4
sfml 2.2-1
* Python import error
ImportError: libsfml-system.so.2: cannot open shared object file: No such file or directory

Steps to reproduce:
* Install python-sfml and sfml;
* In a python shell run "import sfml" (ImportError will be raised).
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 26 December 2014, 22:04 GMT
Reason for closing:  Won't fix
Comment by Francesco Ceruti (Ceppo) - Monday, 15 December 2014, 13:23 GMT
Not "sfml-<module>.so<verision>" but "libsfml-<module>.so<version>". Sorry for the mistake.
Comment by Doug Newgard (Scimmia) - Monday, 15 December 2014, 16:26 GMT
This looks like an soname change. Not sure if it was intentional or a bug from upstream.
% objdump -p libsfml-audio.so.2.1 | grep SONAME
SONAME libsfml-audio.so.2
% objdump -p libsfml-audio.so.2.2.0 | grep SONAME
SONAME libsfml-audio.so.2.2.0
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 December 2014, 11:27 GMT
I know but it doesn't build: https://github.com/Sonkun/python-sfml/issues/106

Updating sfml to 2.2 was more important because I'm sure that waiting for the cython issue to be resolved will take a long time.
Comment by Bartłomiej Piotrowski (Barthalion) - Friday, 26 December 2014, 21:35 GMT
Drop it from the repositories if you plan to keep it broken.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 26 December 2014, 21:40 GMT
And out it goes!

Loading...