After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725264 - gobject-introspection git repository contains two files that differ only by case
gobject-introspection git repository contains two files that differ only by case
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-02-26 19:41 UTC by Philip Chimento
Modified: 2015-02-07 17:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to stop JHbuild from complaining (4.09 KB, patch)
2014-03-16 07:06 UTC, Philip Chimento
committed Details | Review

Description Philip Chimento 2014-02-26 19:41:04 UTC
The master branch of gobject-introspection contains the following files:

tests/scanner/Regress-1.0-C-expected/Regress.Intset.page
tests/scanner/Regress-1.0-C-expected/Regress.IntSet.page

This renders gobject-introspection unbuildable on filesystems that don't distinguish case -- at least in jhbuild which refuses to switch branches on a dirty working tree.
Comment 1 Philip Chimento 2014-03-13 07:23:05 UTC
I've noticed this is due to two types in regress.h, RegressIntSet and RegressIntset, one of which is a typedef to the other; I suppose that's on purpose, to test whether the scanner works properly with typedefs.

Would the test's objective still be accomplished if the two names differed by a letter, rather than by case?

That still leaves the problem that on filesystems that don't distinguish case, you won't be able to build a full set of docs if you have two symbols in your library that differ only by case -- or should that be disallowed because we want GObject Introspection to work on Visual BASIC?
Comment 2 Philip Chimento 2014-03-16 07:06:36 UTC
Created attachment 272050 [details] [review]
Patch to stop JHbuild from complaining
Comment 3 Philip Chimento 2014-03-16 07:07:54 UTC
(That last remark about Visual BASIC was tongue-in-cheek. I forgot to add a smiley.)

Here's a patch. I will point out that it only fixes the symptom and not the problem, but I'd appreciate if it could be committed anyway, because JHbuild erroring out on gobject-introspection every single time is driving me nuts.
Comment 4 Philip Chimento 2014-10-01 05:26:57 UTC
If someone has a moment, could I please get some review on this patch? This error makes for quite the buzzkill trying to jhbuild gnome on OSX.
Comment 5 Colin Walters 2014-10-01 12:09:55 UTC
Review of attachment 272050 [details] [review]:

It's expected at the moment that we unify them, and a bug that we generate docs for both.  It's also a bug in the library to use different case for the aliases.

So this patch looks good, and thanks for the excellent commit message!
Comment 6 Philip Chimento 2014-10-01 16:14:24 UTC
Thanks! I really appreciate this.
Comment 7 André Klapper 2015-02-07 17:02:45 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]