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 673915 - GISCAN GLib-2.0.gir env: Files/SlikSvn/bin:/c/Python27:/c/Program: No such file or directory
GISCAN GLib-2.0.gir env: Files/SlikSvn/bin:/c/Python27:/c/Program: No such fi...
Status: RESOLVED DUPLICATE of bug 620566
Product: gobject-introspection
Classification: Platform
Component: general
2.31.x
Other Windows
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-04-11 15:28 UTC by alien
Modified: 2015-02-07 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alien 2012-04-11 15:28:30 UTC
There is problem building on mingw in with it cannot generate the Glib-2.0 GIR file. The problem comes from make file when it's in 

INTROSPECTION_SCANNER = \
    env PATH=.libs:$(PATH) \
        LPATH=.libs \
        PYTHONPATH=$(top_builddir):$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
        $(top_builddir)/g-ir-scanner

The thing is on windows there is a $PATH env variable has C:\Program Files\ and when this line of code calls for $(PATH) it breaks with no such files or directory because the space between Program and Files. So all introspection object have the same problem when building, the only way to suppress is by using --enable-introspection=no. But the thing is that I need introspection in this case.

[ -d gir ] || /bin/mkdir -p gir ; \
	sed \
	-e s,%CAIRO_SHARED_LIBRARY%,libcairo-gobject-2.dll, \
	-e s,%CAIRO_GIR_PACKAGE%,cairo-gobject, \
	< gir/cairo-1.0.gir.in > gir/cairo-1.0.gir.tmp && mv gir/cairo-1.0.gir.tmp gir/cairo-1.0.gir
make  all-recursive
make[1]: Entering directory `/home/alien/gobject-introspection-1.32.0'
Making all in .
make[2]: Entering directory `/home/alien/gobject-introspection-1.32.0'
  GEN    g-ir-scanner
  GEN    g-ir-annotation-tool
  GISCAN GLib-2.0.gir
env: Files/SlikSvn/bin:/c/Python27:/c/Program: No such file or directory
make[2]: *** [GLib-2.0.gir] Error 127
make[2]: Leaving directory `/home/alien/gobject-introspection-1.32.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alien/gobject-introspection-1.32.0'
make: *** [all] Error 2
Comment 1 Dieter Verfaillie 2012-04-17 13:00:17 UTC
Unfortunately, the win32 port of gobject-introspection is not
yet complete, it's development is being tracked in bug #620566.

Btw, adding proper quotes when setting PATH in this case would
probably fix this particular concern, or you could do what I do
and set PATH to something sane in msys.bat (so nothing containing
spaces exists in PATH from the start)...

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