FS#61486 - [gtk3] gtk_cell_accessible_parent_get_row_header_cells present in .gir file but not in .so

Attached to Project: Arch Linux
Opened by Leif Warner (pdxleif) - Monday, 21 January 2019, 08:10 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 14 May 2019, 18:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The function gtk_cell_accessible_parent_get_row_header_cells is present in the introspection file /usr/share/gir-1.0/Gtk-3.0.gir, but is not present in /usr/lib/libgtk-3.so.0 as per"nm -D /usr/lib/libgtk-3.so.0 | grep gtk_cell_accessible_parent_get_row_header_cells"

See https://github.com/haskell-gi/haskell-gi/issues/212#issuecomment-452194955
That was reported on the upstream OpenSUSE gtk3 package at https://bugzilla.opensuse.org/show_bug.cgi?id=1121456

This is causing the AUR taffybar build to fail with "undefined symbol: gtk_cell_accessible_parent_get_row_header_cells)"

I'm guessing this started happening with gtk3 version 3.24.3 (the current package version).
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 14 May 2019, 18:35 GMT
Reason for closing:  Fixed
Comment by Leif Warner (pdxleif) - Monday, 21 January 2019, 08:58 GMT
I edited that /usr/share/gir-1.0/Gtk-3.0.gir file to remove references to get_row_header_cells and get_column_header_cells, and things seem to work, now. It's an .xml file.
Comment by Philipp Uhl (phuhl) - Thursday, 24 January 2019, 12:31 GMT
The same issue exists for deadd-notification-center: https://github.com/phuhl/linux_notification_center/issues/4
Comment by Leif Warner (pdxleif) - Saturday, 26 January 2019, 22:43 GMT
As a workaround, I made a xslt stylesheet for editing that .girl file and removing references to get_row_header_cells and get_column_header_cells: https://gist.github.com/LeifW/ba67140025984eeb1e6e192440faeaf9
Run:
xsltproc gtk_patch.xslt /usr/share/gir-1.0/Gtk-3.0.gir > out.xml
sudo cp out.xml /usr/share/gir-1.0/Gtk-3.0.gir
Comment by loqs (loqs) - Saturday, 26 January 2019, 22:57 GMT
https://gitlab.gnome.org/GNOME/gtk/commit/95c0f07295fd300ab7f3416a39290ae33585ea6c if you cherry-pick a52431d2b42f3b458a3a2142f6f3e2c4501c1ccc (which appears to only be on master) does that resolve the issue?
Comment by Andri Möll (moll) - Sunday, 24 March 2019, 23:55 GMT
I believe this is fixed in gtk3-3.24.7+25+g17665f06e3-1. Seemed to have cleared my Haskell GI at least.

Loading...