Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2225969 - libgsystem: FTBFS in Fedora rawhide/f39
Summary: libgsystem: FTBFS in Fedora rawhide/f39
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libgsystem
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-25 18:22 UTC by Fedora Release Engineering
Modified: 2024-02-23 17:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2023-07-25 18:22 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2023-07-25 18:22 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2023-07-25 18:22 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 18:22:22 UTC
libgsystem failed to build from source in Fedora rawhide/f39

https://koji.fedoraproject.org/koji/taskinfo?taskID=103620289


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Please fix libgsystem at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libgsystem will be orphaned. Before branching of Fedora 40,
libgsystem will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2023-07-25 18:22:28 UTC
Created attachment 1978333 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2023-07-25 18:22:32 UTC
Created attachment 1978334 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 18:22:36 UTC
Created attachment 1978335 [details]
state.log

Comment 4 Fedora Release Engineering 2023-08-16 07:58:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 5 Jeffrey Walton 2024-02-23 15:49:16 UTC
This is a problem that only surfaces when one installs glibsystem-devel. With glibsystem-devel installed, the line about GISCAN is present:

  CCLD     libglnx.la
  CCLD     libgsystem.la
  GISCAN   GSystem-1.0.gir
src/gsystem-glib-compat.h:34: Warning: GSystem: symbol='g_clear_pointer': Skipping foreign symbol from namespace Gio
/builddir/build/BUILD/libgsystem-2015.2/tmp-introspectlvqqyft1/GSystem-1.0.c: In function ‘dump_properties’:
/builddir/build/BUILD/libgsystem-2015.2/tmp-introspectlvqqyft1/GSystem-1.0.c:229:7: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  229 |       const GValue *v = g_param_spec_get_default_value (prop);
      |       ^~~~~

If glibsystem-devel is not installed, then GISCAN is skipped and no error occurs.

Should the bug be reassigned?

Comment 6 Jeffrey Walton 2024-02-23 17:10:24 UTC
And the following configure option sidesteps the problem:

    ./configure --enable-introspection=no

I'm not sure of the impact of losing introspection.

Colin, do you have any thoughts?

Comment 7 Jeffrey Walton 2024-02-23 17:12:11 UTC
Added <walters> to CC list. According to <https://gitlab.gnome.org/Archive/libgsystem>, "There's no bugzilla component currently, please mail patches to: walters."

Walters may be able to provide some insight into the way to fix this.


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