#2845: Build failure with 7.0.3RC1 on Linux
------------------------+-------------------------
  Reporter:  scimmia    |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  7.0.3
 Component:  Compiling  |    Version:  unspecified
Resolution:             |   Keywords:
       CPU:  x86-64     |   Platform:  Linux
------------------------+-------------------------

Comment (by wenzeslaus):

 According to the output it first runs `core/toolboxes.py "module_tree"`:

 {{{
 ... core/toolboxes.py "module_tree" >
 .../dist.../gui/wxpython/xml/module_tree_menudata.xml
 }}}

 and then `core/toolboxes.py` without parameters:

 {{{
 core/toolboxes.py > .../dist.../gui/wxpython/xml/menudata.xml
 }}}

 But isn't

 {{{
 -$(MAKE) $(DSTDIR)/xml/menudata.xml
 -$(MAKE) $(DSTDIR)/xml/module_tree_menudata.xml
 }}}

 inside the recipe saying that they should be executed in sequence (both
 are calling `core/toolboxes.py`, the second one with `"module_tree"`)?

 If these two are not executed in sequence, then probably also

 {{{
 -$(MAKE) $(DSTDIR)/xml/module_items.xml
 }}}

 which is placed before them is not executed before them. They however
 depend on in, thus both fail with the error `No such file or directory:
 '.../xml/module_items.xml'`.

 I don't understand why this is happening. To my understanding the things
 inside a recipe should be executed in a sequence.

 Adding the explicit prerequisites as in the first three versions of the
 patch would be acceptable workaround but since it executes ones part
 several times (I don't know why), it is not acceptable (it takes too long
 to execute this particular one) and it is not safe (potentially writing to
 one file by parallel processes).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2845#comment:11>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to