Bug 2172637 - gnucash: FTBFS in in Fedora rawhide/f39
Summary: gnucash: FTBFS in in Fedora rawhide/f39
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnucash
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2172695
TreeView+ depends on / blocked
 
Reported: 2023-02-22 20:27 UTC by Thomas Rodgers
Modified: 2023-03-11 03:09 UTC (History)
2 users (show)

Fixed In Version: gnucash-4.13-6.fc38
Clone Of:
Environment:
Last Closed: 2023-03-11 03:09:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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