[GRASS-dev] GRASS 7.2RC2 problem

Vaclav Petras wenzeslaus at gmail.com
Tue Dec 6 19:56:11 PST 2016


In the log there is:

/Applications/Xcode.app/Contents/Developer/usr/bin/make xml/menudata.xml
GISRC=... LC_ALL=C python core/toolboxes.py > xml/menudata.xml
/Applications/Xcode.app/Contents/Developer/usr/bin/make
xml/module_tree_menudata.xml
GISRC=... LC_ALL=C python core/toolboxes.py "module_tree" >
xml/module_tree_menudata.xml

But in my log I see:

make xml/menudata.xml
make[1]: Entering directory '/home/vpetras/dev/grass/gcc_trunk/gui/wxpython'
GISRC=... LC_ALL=C python core/toolboxes.py > xml/menudata.xml
GISRC=... LC_ALL=C python core/toolboxes.py "validate" xml/menudata.xml
make[1]: Leaving directory '/home/vpetras/dev/grass/gcc_trunk/gui/wxpython'
make xml/module_tree_menudata.xml
make[1]: Entering directory '/home/vpetras/dev/grass/gcc_trunk/gui/wxpython'
GISRC=... LC_ALL=C python core/toolboxes.py "module_tree" >
xml/module_tree_menudata.xml
GISRC=... LC_ALL=C python core/toolboxes.py "validate"
xml/module_tree_menudata.xml
make[1]: Leaving directory '/home/vpetras/dev/grass/gcc_trunk/gui/wxpython'

One small difference are the lines "Leaving directory". Perhaps different
version of make?

But the bigger issue is that I have two "toolboxes.py "validate"
xml/...xml" lines and I don't see them in the Michael's Mac OS log. They
are in the Makefile:

xml/menudata.xml: core/toolboxes.py
    $(call run_grass,$(PYTHON) $< > $@)
    $(call run_grass,$(PYTHON) $< "validate" $@)

xml/module_tree_menudata.xml: core/toolboxes.py
    $(call run_grass,$(PYTHON) $< "module_tree" > $@)
    $(call run_grass,$(PYTHON) $< "validate" $@)

The "validate" step is supposed to create an error during compilation in
case something is wrong with the generated XMLs. But it seems that it is
not executed on Michael's Mac. Different Makefiles? Different make?

Unfortunately, the Travis CI log does not show anything (due to the
workaround for Mac?), so we can't compare.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161206/e8807dd0/attachment.html>


More information about the grass-dev mailing list