Bug 2172637

Summary: gnucash: FTBFS in in Fedora rawhide/f39
Product: [Fedora] Fedora Reporter: Thomas Rodgers <trodgers>
Component: gnucashAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, notting
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnucash-4.13-6.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-11 03:09:45 UTC Type: Bug
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: 2172695    

Description Thomas Rodgers 2023-02-22 20:27:59 UTC
https://koji.fedoraproject.org/koji/buildinfo?buildID=2157616

In file included from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/glib-2.0/gmodule.h:30,
                 from /builddir/build/BUILD/gnucash-4.13/libgnucash/gnc-module/gnc-module.c:31:
/builddir/build/BUILD/gnucash-4.13/libgnucash/gnc-module/gnc-module.c: In function 'gnc_module_system_search_dirs':
/usr/include/glib-2.0/glib/gstring.h:72:5: error: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Werror=unused-result]
   68 |   (__builtin_constant_p (free_segment) ?        \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |     ((free_segment) ?                           \
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |       (g_string_free) ((str), (free_segment)) : \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |       g_string_free_and_steal (str))            \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |     :                                           \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |     (g_string_free) ((str), (free_segment)))
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/gnucash-4.13/libgnucash/gnc-module/gnc-module.c:111:17: note: in expansion of macro 'g_string_free'
  111 |                 g_string_free(token, FALSE);
      |                 ^~~~~~~~~~~~~
gmake[2]: Leaving directory '/builddir/build/BUILD/gnucash-4.13/redhat-linux-build'
/usr/bin/gmake  -f libgnucash/tax/CMakeFiles/scm-tax-us-1-links.dir/build.make libgnucash/tax/CMakeFiles/scm-tax-us-1-links.dir/build
/usr/include/glib-2.0/glib/gstring.h:72:5: error: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Werror=unused-result]
   68 |   (__builtin_constant_p (free_segment) ?        \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |     ((free_segment) ?                           \
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |       (g_string_free) ((str), (free_segment)) : \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |       g_string_free_and_steal (str))            \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |     :                                           \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |     (g_string_free) ((str), (free_segment)))
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/gnucash-4.13/libgnucash/gnc-module/gnc-module.c:130:9: note: in expansion of macro 'g_string_free'
  130 |         g_string_free(token, FALSE);
      |         ^~~~~~~~~~~~~

Comment 1 Gwyn Ciesla 2023-02-23 16:29:33 UTC
https://bugs.gnucash.org/show_bug.cgi?id=798754

Comment 2 Fedora Update System 2023-02-25 21:06:37 UTC
FEDORA-2023-b76a90167b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b76a90167b

Comment 3 Fedora Update System 2023-02-26 02:02:22 UTC
FEDORA-2023-b76a90167b has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b76a90167b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-11 03:09:45 UTC
FEDORA-2023-b76a90167b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.