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 721996 - Do not consider neither clang nor uclibc toolchain as Microsoft C++ compiler
Do not consider neither clang nor uclibc toolchain as Microsoft C++ compiler
Status: RESOLVED DUPLICATE of bug 698090
Product: gobject-introspection
Classification: Platform
Component: general
1.36.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-01-11 16:18 UTC by rene.rheaume
Modified: 2015-02-07 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to not consider clang or uclibc toolchain as MS C++ compiler (1.03 KB, application/octet-stream)
2014-01-11 16:18 UTC, rene.rheaume
Details

Description rene.rheaume 2014-01-11 16:18:14 UTC
Created attachment 266007 [details]
Patch to not consider clang or uclibc toolchain as MS C++ compiler

gobject-instrospection 1.36.0 fails to build on uclibc systems because the name "uclibc" contains "cl", which also the executable name of the MS C++ compiler. There is also an incompatibility with LLVM clang. The problem is already reported on Gentoo Bugzilla, and a GNOME team member asked me to report this upstream.
Comment 1 Pacho Ramos 2014-01-11 16:38:41 UTC
This adds:
if 'clang' not in self._compiler_cmd:

over:
https://git.gnome.org/browse/gobject-introspection/commit/?id=863ceb7f5a5b5f6accfea23dcd47b5c74a53f68b
Comment 2 rene.rheaume 2014-01-11 16:46:19 UTC
You meant 

This adds:
if 'uclibc' not in self._compiler_cmd:

right?
Comment 3 Pacho Ramos 2014-01-11 16:56:44 UTC
Yeah, I displaced by touchpad by error while selecting ;)
Comment 4 Allison Karlitskaya (desrt) 2014-01-15 06:45:28 UTC
This patch no longer applies and I'm pretty sure this bug is already fixed.  The current code splits out the arguments and then checks if one is exactly equal to 'cl' or 'cl.exe'.  This should therefore no longer hit clang or anything else with 'cl' in the name.

*** This bug has been marked as a duplicate of bug 698090 ***
Comment 5 André Klapper 2015-02-07 16:58:02 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]