Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921780 - [guru] dev-python/uharfbuzz-0.33.0-r1 fails to compile (GCC-14-SYSTEM): Cython.Compiler.Errors.CompileError: _harfbuzz.pyx
Summary: [guru] dev-python/uharfbuzz-0.33.0-r1 fails to compile (GCC-14-SYSTEM): Cytho...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 13:20 UTC by Agostino Sarubbo
Modified: 2024-03-25 20:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,66.26 KB, text/plain)
2024-01-11 13:20 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-11 13:20:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/uharfbuzz-0.33.0-r1 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-11 13:20:25 UTC
Created attachment 881943 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-11 13:20:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Cython.Compiler.Errors.CompileError: src/uharfbuzz/_harfbuzz.pyx
src/uharfbuzz/_harfbuzz.pyx:1102:21: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *' to 'hb_draw_move_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:1125:21: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *' to 'hb_draw_line_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:1152:21: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, float, float, void *) except *' to 'hb_draw_cubic_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:1177:21: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, void *) except *' to 'hb_draw_quadratic_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:1198:21: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, void *) except *' to 'hb_draw_close_path_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:284:52: Cannot assign type 'int (hb_buffer_t *, hb_font_t *, const char *, void *) except? -1' to 'hb_buffer_message_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (hb_buffer_t *, hb_font_t *, const char *, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:369:12: Cannot assign type 'hb_blob_t *(hb_face_t *, hb_tag_t, void *) except? NULL' to 'hb_reference_table_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_blob_t *(hb_face_t *, hb_tag_t, void *) except? NULL'.
src/uharfbuzz/_harfbuzz.pyx:568:54: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *' to 'hb_draw_move_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:569:54: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *' to 'hb_draw_line_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:570:55: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, float, float, void *) except *' to 'hb_draw_cubic_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:571:59: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, void *) except *' to 'hb_draw_quadratic_to_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, float, float, float, float, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:572:57: Cannot assign type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, void *) except *' to 'hb_draw_close_path_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (hb_draw_funcs_t *, void *, hb_draw_state_t *, void *) except *'.
src/uharfbuzz/_harfbuzz.pyx:740:29: Cannot assign type 'hb_position_t (hb_font_t *, void *, hb_codepoint_t, void *) except? -1' to 'hb_font_get_glyph_h_advance_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_position_t (hb_font_t *, void *, hb_codepoint_t, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:751:29: Cannot assign type 'hb_position_t (hb_font_t *, void *, hb_codepoint_t, void *) except? -1' to 'hb_font_get_glyph_v_advance_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_position_t (hb_font_t *, void *, hb_codepoint_t, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:762:29: Cannot assign type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, hb_position_t *, hb_position_t *, void *) except? -1' to 'hb_font_get_glyph_v_origin_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, hb_position_t *, hb_position_t *, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:773:29: Cannot assign type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, char *, unsigned int, void *) except? -1' to 'hb_font_get_glyph_name_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, char *, unsigned int, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:784:29: Cannot assign type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, hb_codepoint_t *, void *) except? -1' to 'hb_font_get_nominal_glyph_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_bool_t (hb_font_t *, void *, hb_codepoint_t, hb_codepoint_t *, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:794:29: Cannot assign type 'hb_bool_t (hb_font_t *, void *, hb_font_extents_t *, void *) except? -1' to 'hb_font_get_font_h_extents_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_bool_t (hb_font_t *, void *, hb_font_extents_t *, void *) except? -1'.
src/uharfbuzz/_harfbuzz.pyx:804:29: Cannot assign type 'hb_bool_t (hb_font_t *, void *, hb_font_extents_t *, void *) except? -1' to 'hb_font_get_font_v_extents_func_t'. Exception values are incompatible. Suggest adding 'noexcept' to type 'hb_bool_t (hb_font_t *, void *, hb_font_extents_t *, void *) except? -1'.