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#65400 - [csfml] 2.5-2 Undefined symbol in libcsfml-graphics.so

Attached to Project: Community Packages
Opened by john (grazhero) - Friday, 07 February 2020, 00:31 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 February 2020, 13:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This package seems doesn't seem to have been compiled from the proper 2.5 release.

The version of the /usr/include/SFML/Text.h header file provided by this package does not match the version found at https://github.com/SFML/CSFML/blob/2.5/include/SFML/Graphics/Text.h

$ diff /usr/include/SFML/Graphics/Text.h <(curl -s https://raw.githubusercontent.com/SFML/CSFML/2.5/include/SFML/Graphics/Text.h)
448c448
< CSFML_GRAPHICS_API float getLineSpacing(const sfText* text);
---
> CSFML_GRAPHICS_API float sfText_getLineSpacing(const sfText* text);

This means that any program compiled against version 2.5 of CSFML which attempts to call the sfText_getLineSpacing function will crash if running on a system with this the package.

The current PKGBUILD (https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/csfml&id=57b39b016b722e11a9f6e8a032871482e942870a) seems to fetch the correct version. For some reason the package just hasn't been updated yet.

Additional info:
Pull request which solved this issue upstream: https://github.com/SFML/CSFML/pull/130
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 23 February 2020, 13:52 GMT
Reason for closing:  Fixed

Loading...