Bugzilla – Bug 1221687
GCC 14: ghostscript package fails
Last modified: 2024-07-04 11:20:13 UTC
Building ghostscript with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/ghostscript/standard/x86_64 Due to (exhaustive list of errors): ./base/fapi_ft.c: In function ‘gs_fapi_ft_get_scaled_font’: ./base/fapi_ft.c:1283:61: error: passing argument 2 of ‘a_font->retrieve_tt_font’ from incompatible pointer type [-Wincompatible-pointer-types] 1283 | code = a_font->retrieve_tt_font(a_font, &own_font_data, &ms); | ^~~~~~~~~~~~~~ | | | unsigned char ** ./base/fapi_ft.c:1283:61: note: expected ‘void **’ but argument is of type ‘unsigned char **’ See the meta bug#1220571 for more info.
This is fixed upstream by the commit: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=b7beb19ad06e08b889a44694ff813ed5f6c96da4 I've also checked the current Ghostscript against the current gcc and it compiles without errors.
Fixed by Ghostscript version upgrade to 10.03.0 which contains the change in https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b7beb19ad06e08b889a44694ff813ed5f6c96da4 ------------------------------------------------------------- # osc request accept -m 'Ghostscript version upgrade \ to 10.03.0 fixes also boo#1221687' 1161673 Result of change request state: ok openSUSE:Factory Forward this submit to it? ([y]/n)y Ghostscript version upgrade to 10.03.0 fixes also boo#1221687 (forwarded request 1161673 from jsmeix) New request # 1161674 -------------------------------------------------------------
This is an autogenerated message for OBS integration: This bug (1221687) was mentioned in https://build.opensuse.org/request/show/1161674 Factory / ghostscript