Bug 2325886 - pygobject3: FTBFS in Fedora Rawhide
Summary: pygobject3: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pygobject3
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F42FTBFS PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2024-11-13 10:46 UTC by Karolina Surma
Modified: 2024-11-29 22:17 UTC (History)
5 users (show)

Fixed In Version: pygobject3-3.50.0-1.fc42
Clone Of:
Environment:
Last Closed: 2024-11-29 14:21:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pygobject3 pull-request 13 0 None None None 2024-11-22 14:33:34 UTC

Description Karolina Surma 2024-11-13 10:46:02 UTC
Description of problem:
Package pygobject3 fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.48.2-3.fc41

Steps to Reproduce:
koji build --scratch f42 pygobject3-3.48.2-3.fc41.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/pygobject3

Reproducible: Always

Comment 1 Miro Hrončok 2024-11-13 12:11:58 UTC
[4/58] gcc -Itests/libregress.so.p -Itests -I../tests -I/usr/share/gobject-introspection-1.0/tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP '-D_GI_EXTERN=__attribute__((visibility("default"))) extern' -fvisibility=hidden -MD -MQ tests/libregress.so.p/regressextra.c.o -MF tests/libregress.so.p/regressextra.c.o.d -o tests/libregress.so.p/regressextra.c.o -c ../tests/regressextra.c
FAILED: tests/libregress.so.p/regressextra.c.o 
gcc -Itests/libregress.so.p -Itests -I../tests -I/usr/share/gobject-introspection-1.0/tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP '-D_GI_EXTERN=__attribute__((visibility("default"))) extern' -fvisibility=hidden -MD -MQ tests/libregress.so.p/regressextra.c.o -MF tests/libregress.so.p/regressextra.c.o.d -o tests/libregress.so.p/regressextra.c.o -c ../tests/regressextra.c
In file included from ../tests/regressextra.c:2:
../tests/regressextra.h:9:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
    9 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:10:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘regress_test_boxed_c_wrapper_get_type’
   10 | GType regress_test_boxed_c_wrapper_get_type (void);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/regressextra.h:12:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   12 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:13:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   13 | RegressTestBoxedCWrapper *regress_test_boxed_c_wrapper_new (void);
      |                          ^
../tests/regressextra.h:14:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   14 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:15:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   15 | RegressTestBoxedCWrapper * regress_test_boxed_c_wrapper_copy (RegressTestBoxedCWrapper *self);
      |                          ^
../tests/regressextra.h:16:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   16 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:17:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   17 | RegressTestBoxedC *regress_test_boxed_c_wrapper_get (RegressTestBoxedCWrapper *self);
      |                   ^
../tests/regressextra.h:19:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   19 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:20:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   20 | gchar** regress_test_array_of_non_utf8_strings (void);
      |      ^
../tests/regressextra.h:21:16: error: expected ‘;’ before ‘void’
   21 | _GI_TEST_EXTERN
      |                ^
      |                ;
   22 | void regress_test_array_fixed_boxed_none_out (RegressTestBoxedC ***objs);
      | ~~~~            
../tests/regressextra.h:23:16: error: expected ‘;’ before ‘void’
   23 | _GI_TEST_EXTERN
      |                ^
      |                ;
   24 | void regress_test_gvalue_out_boxed (GValue *value, int init);
      | ~~~~            
../tests/regressextra.h:25:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   25 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:26:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   26 | GList *regress_test_glist_boxed_none_return (guint count);
      |       ^
../tests/regressextra.h:27:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   27 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:28:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   28 | GList *regress_test_glist_boxed_full_return (guint count);
      |       ^
../tests/regressextra.h:30:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   30 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:31:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘regress_test_array_of_fundamental_objects_in’
   31 | gboolean regress_test_array_of_fundamental_objects_in (RegressTestFundamentalObject **list, gsize len);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/regressextra.h:32:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   32 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:33:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   33 | RegressTestFundamentalObject** regress_test_array_of_fundamental_objects_out (gsize *len);
      |                             ^
../tests/regressextra.h:34:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   34 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:35:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘regress_test_fundamental_argument_in’
   35 | gboolean regress_test_fundamental_argument_in (RegressTestFundamentalObject *obj);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/regressextra.h:36:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   36 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:37:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   37 | RegressTestFundamentalObject* regress_test_fundamental_argument_out (RegressTestFundamentalObject *obj);
      |                             ^
../tests/regressextra.h:41:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   41 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:42:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   42 | cairo_t *regress_test_cairo_context_none_return (void);
      |         ^
../tests/regressextra.h:43:16: error: expected ‘;’ before ‘void’
   43 | _GI_TEST_EXTERN
      |                ^
      |                ;
   44 | void regress_test_cairo_context_full_in (cairo_t *context);
      | ~~~~            
../tests/regressextra.h:45:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   45 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:46:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   46 | cairo_path_t *regress_test_cairo_path_full_return (void);
      |              ^
../tests/regressextra.h:47:16: error: expected ‘;’ before ‘void’
   47 | _GI_TEST_EXTERN
      |                ^
      |                ;
   48 | void regress_test_cairo_path_none_in (cairo_path_t *path);
      | ~~~~            
../tests/regressextra.h:49:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   49 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:50:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   50 | cairo_path_t * regress_test_cairo_path_full_in_full_return (cairo_path_t *path);
      |              ^
../tests/regressextra.h:51:16: error: expected ‘;’ before ‘void’
   51 | _GI_TEST_EXTERN
      |                ^
      |                ;
   52 | void regress_test_cairo_pattern_full_in (cairo_pattern_t *pattern);
      | ~~~~            
../tests/regressextra.h:53:16: error: expected ‘;’ before ‘void’
   53 | _GI_TEST_EXTERN
      |                ^
      |                ;
   54 | void regress_test_cairo_pattern_none_in (cairo_pattern_t *pattern);
      | ~~~~            
../tests/regressextra.h:55:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   55 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:56:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   56 | cairo_pattern_t* regress_test_cairo_pattern_none_return (void);
      |                ^
../tests/regressextra.h:57:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   57 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:58:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   58 | cairo_pattern_t * regress_test_cairo_pattern_full_return (void);
      |                 ^
../tests/regressextra.h:59:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   59 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:60:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   60 | cairo_font_options_t *regress_test_cairo_font_options_full_return (void);
      |                      ^
../tests/regressextra.h:61:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   61 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:62:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   62 | cairo_font_options_t *regress_test_cairo_font_options_none_return (void);
      |                      ^
../tests/regressextra.h:63:16: error: expected ‘;’ before ‘void’
   63 | _GI_TEST_EXTERN
      |                ^
      |                ;
   64 | void regress_test_cairo_font_options_full_in (cairo_font_options_t *options);
      | ~~~~            
../tests/regressextra.h:65:16: error: expected ‘;’ before ‘void’
   65 | _GI_TEST_EXTERN
      |                ^
      |                ;
   66 | void regress_test_cairo_font_options_none_in (cairo_font_options_t *options);
      | ~~~~            
../tests/regressextra.h:67:16: error: expected ‘;’ before ‘void’
   67 | _GI_TEST_EXTERN
      |                ^
      |                ;
   68 | void regress_test_cairo_region_full_in (cairo_region_t *region);
      | ~~~~            
../tests/regressextra.h:69:16: error: expected ‘;’ before ‘void’
   69 | _GI_TEST_EXTERN
      |                ^
      |                ;
   70 | void regress_test_cairo_surface_full_in (cairo_surface_t *surface);
      | ~~~~            
../tests/regressextra.h:71:16: error: expected ‘;’ before ‘void’
   71 | _GI_TEST_EXTERN
      |                ^
      |                ;
   72 | void regress_test_cairo_matrix_none_in (const cairo_matrix_t *matrix);
      | ~~~~            
../tests/regressextra.h:73:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   73 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:74:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
   74 | cairo_matrix_t *regress_test_cairo_matrix_none_return (void);
      |                ^
../tests/regressextra.h:75:16: error: expected ‘;’ before ‘void’
   75 | _GI_TEST_EXTERN
      |                ^
      |                ;
   76 | void regress_test_cairo_matrix_out_caller_allocates (cairo_matrix_t *matrix);
      | ~~~~            
../tests/regressextra.h:90:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
   90 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:91:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘regress_test_action_get_type’
   91 | GType regress_test_action_get_type (void);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/regressextra.h:112:1: error: unknown type name ‘_GI_TEST_EXTERN’; did you mean ‘GI_TEST_EXTERN’?
  112 | _GI_TEST_EXTERN
      | ^~~~~~~~~~~~~~~
      | GI_TEST_EXTERN
../tests/regressextra.h:113:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘regress_bitmask_get_type’
  113 | GType regress_bitmask_get_type (void);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~

Comment 2 Miro Hrončok 2024-11-22 14:24:40 UTC
Asking for a needinfo, but the name "GNOME SIG Unassigned" makes me worry if it makes sense?

Comment 3 Miro Hrončok 2024-11-22 14:33:35 UTC
Updating fixes this: https://src.fedoraproject.org/rpms/pygobject3/pull-request/13

Comment 4 Miro Hrončok 2024-11-28 15:14:48 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8947c15cd1 stuck on gating :(

Comment 5 Kalev Lember 2024-11-29 22:17:19 UTC
Thanks, Miro!


Note You need to log in before you can comment on or make changes to this bug.