Bug 2389350

Summary: gnucash: FTBFS in Fedora 43 and Rawhide: error: ‘GdkPixbuf* gdk_pixbuf_new_from_xpm_data(const char**)’ is deprecated
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: gnucashAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/gnucash
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-26 18:56:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2339432, 2373702, 2384424    

Description Karolina Surma 2025-08-19 08:17:48 UTC
Description of problem:
Package gnucash fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
5.12-2.fc43

Steps to Reproduce:
koji build --scratch f44 gnucash-5.12-2.fc43.src.rpm

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

Reproducible: Always

Actual Results:
Build fails with:

/builddir/build/BUILD/gnucash-5.12-build/gnucash-5.12/gnucash/import-export/import-backend.cpp: In function ‘GdkPixbuf* gen_probability_pixbuf(gint, GNCImportSettings*, GtkWidget*)’:
/builddir/build/BUILD/gnucash-5.12-build/gnucash-5.12/gnucash/import-export/import-backend.cpp:402:47: error: ‘GdkPixbuf* gdk_pixbuf_new_from_xpm_data(const char**)’ is deprecated [-Werror=deprecated-declarations]
  402 |     auto retval = gdk_pixbuf_new_from_xpm_data((const gchar **)xpm);
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

Comment 1 Miro Hrončok 2025-08-26 11:08:43 UTC
Hello. This is a bulk comment.

This package still needs to be rebuilt and/or shipped with Python 3.14.0rc2+ bytecode in Fedora 43.

The Beta Freeze of Fedora 43 is scheduled to start today. Please prioritize this bugzilla accordingly.

Thanks.