Bug 1223490

Summary: Missing support for platform-specific macros
Product: Red Hat Enterprise Linux 7 Reporter: Matěj Cepl <mcepl>
Component: gobject-introspectionAssignee: Colin Walters <walters>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mclasen, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:34:28 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: 1295396    

Description Matěj Cepl 2015-05-20 16:02:48 UTC
Description of problem:
Simple macros seem to be completely broken via GObject-introspection. This simple script (and the equivalent in ipython)

    #!/usr/bin/gjs
    const GLib = imports.gi.GLib;

    print("The dir sep is - ", GLib.DIR_SEPARATOR_S);
    print("The search path sep is - ", GLib.SEARCHPATH_SEPARATOR_S);

gives very weird results:

    matej@mitmanek: ~$ gjs test_sep.js
    The dir sep is -  \
    The search path sep is -  ;
    matej@mitmanek: ~$ uname -a
    Linux mitmanek 3.10.0-251.el7.rhel72drm5.x86_64 #1 SMP Wed May 13 17:31:13 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

Version-Release number of selected component (if applicable):
glib2-2.42.2-2.el7.kalev0.x86_64
gobject-introspection-1.42.0-1.el7.x86_64


How reproducible:
100%

Additional info:
This is just a downstream record of the upstream bug reprodeceable in
RHEL-7.

Comment 4 RHEL Program Management 2020-12-15 07:34:28 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.