#2845 closed defect (fixed)

Build failure with 7.0.3RC1 on Linux

Reported by: scimmia Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.4
Component: Compiling Version: unspecified
Keywords: xml, toolboxes, Makefile, svnprop, wxGUI, releasing Cc:
CPU: x86-64 Platform: Linux

Description

I'm getting a failure with 7.0.3RC1 on Arch Linux. The exact same script works fine with 7.0.2. For the output here, I just ran make on the problem dir. Build script is here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=grass

Doesn't seem to be a race condition as make is being ran with -j1, but oddly enough, running make a couple more times in the same dir gets through it. The GUI still fails to run, though.

dnewgard@Scimmia ../grass/src/grass-7.0.3RC1/gui/wxpython % make
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/bin.x86_64-pc-linux-gnu
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/include/grass
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/etc
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/driver
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/driver/db
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/fonts
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/docs
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/docs/html
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/docs/man
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/docs/man/man1
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/tools
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/animation
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/core
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/dbmgr
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/gcp
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/gmodeler
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/iclass
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/location_wizard
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/mapwin
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/mapdisp
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/modules
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/nviz
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/psmap
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/mapswipe
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/wxplot
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/web_services
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/rlisetup
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/vnet
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/timeline
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/iscatt
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/tplot
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/icons
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/scripts
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml
/usr/bin/install -c  -m 644 icons/grass_icons.py /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/grass_icons.py
/usr/bin/install -c  -m 644 icons/icon.py /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/icon.py
/usr/bin/install -c  -m 644 icons/__init__.py /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/__init__.py
/usr/bin/install -c  -m 644 xml/main_menu.dtd /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/main_menu.dtd
/usr/bin/install -c  -m 644 xml/module_tree.xml /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_tree.xml
/usr/bin/install -c  -m 644 xml/menudata_psmap.xml /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/menudata_psmap.xml
GISRC=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/etc/python:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/opt/grass/lib" LC_ALL=C python2 core/toolboxes.py "module_tree" > xml/module_tree_menudata.xml
Traceback (most recent call last):
  File "core/toolboxes.py", line 857, in <module>
    sys.exit(main())
  File "core/toolboxes.py", line 843, in main
    userDefined=False)
  File "core/toolboxes.py", line 263, in createTree
    toolboxes = etree.parse(toolboxesFile)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/toolboxes.xml'
Makefile:43: recipe for target 'xml/module_tree_menudata.xml' failed
make: *** [xml/module_tree_menudata.xml] Error 1

Attachments (4)

grass_ticket_2845_dependencies.diff (959 bytes) - added by wenzeslaus 22 months ago.
Adds dependencies to toolbox to menudata rules and generates files only in dist
grass_ticket_2845_dependencies.2.diff (1.3 KB) - added by wenzeslaus 22 months ago.
grass_ticket_2845_dependencies.3.diff (1.6 KB) - added by wenzeslaus 22 months ago.
even more explicitly expressed dependencies
grass_ticket_2845_dependencies.4.diff (1.5 KB) - added by wenzeslaus 22 months ago.
remove module_items.xml from dependencies as any occurrence causes the process to execute more than once

Download all attachments as: .zip

Change History (37)

comment:1 Changed 22 months ago by martinl

Component: wxGUICompiling
Priority: criticalblocker

Changed 22 months ago by wenzeslaus

Adds dependencies to toolbox to menudata rules and generates files only in dist

comment:2 Changed 22 months ago by wenzeslaus

I don't understand what is happening and it seems to me that it skips compilation of dependencies of the rule default but I'm adding a patch (also in attachment) which might improve the situation (I cannot reproduce it).

-xml/menudata.xml: core/toolboxes.py
+$(DSTDIR)/xml/menudata.xml: core/toolboxes.py $(DSTDIR)/xml/toolboxes.xml $(DSTDIR)/xml/wxgui_items.xml $(DSTDIR)/xml/module_items.xml $(DSTDIR)/xml/main_menu.xml
        $(call run_grass,$(PYTHON) $< > $@)

-xml/module_tree_menudata.xml: core/toolboxes.py
+$(DSTDIR)/xml/module_tree_menudata.xml: core/toolboxes.py $(DSTDIR)/xml/toolboxes.xml $(DSTDIR)/xml/wxgui_items.xml $(DSTDIR)/xml/module_items.xml $(DSTDIR)/xml/module_tree.xml
        $(call run_grass,$(PYTHON) $< "module_tree" > $@)

comment:3 Changed 22 months ago by scimmia

The patch helps significantly. I can now build successfully as long as I use make -j1. When I use -j5 as I normally do, I still get an error, but it's harder to track.

Makefile:53: recipe for target '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml' failed

comment:4 Changed 22 months ago by scimmia

Shoot, pasted wrong line

/bin/sh: /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml: No such file or directory

comment:5 in reply to:  4 Changed 22 months ago by wenzeslaus

Replying to scimmia:

When I use -j5 as I normally do, I still get an error, but it's harder to track.

Makefile:53: recipe for target '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml' failed

Replying to scimmia:

Shoot, pasted wrong line

/bin/sh: /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml: No such file or directory

Are both there or just one? module_items.xml should be created as first item in the default target and then it is required by following items inside recipe for the default target (implicitly, all things inside one target should always go in sequence AFAIK). These are the lines:

default: $(DSTFILES)
	-$(MAKE) $(DSTDIR)/xml/module_items.xml
	-$(MAKE) xml/menudata.xml
	-$(MAKE) xml/module_tree_menudata.xml

comment:6 Changed 22 months ago by scimmia

Both. Here's the section from entering to leaving.

make[3]: Entering directory '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/gui/wxpython'
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython
Generating interface description for all modules...
/usr/bin/install -c  -m 644 startup_banner_isis.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/startup_banner_isis.png
/usr/bin/install -c  -m 644 small_down_arrow.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/small_down_arrow.png
/usr/bin/install -c  -m 644 splash_screen.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/splash_screen.png
/usr/bin/install -c  -m 644 startup_banner.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/startup_banner.png
/usr/bin/install -c  -m 644 qgis_world.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/qgis_world.png
/usr/bin/install -c  -m 644 small_up_arrow.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/small_up_arrow.png
/usr/bin/install -c  -m 644 scalebar-fancy.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/scalebar-fancy.png
/usr/bin/install -c  -m 644 grass_form.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/grass_form.png
/usr/bin/install -c  -m 644 loc_wizard_qgis.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/loc_wizard_qgis.png
/usr/bin/install -c  -m 644 scalebar-simple.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/scalebar-simple.png
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/demo
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows
/usr/bin/install -c  -m 644 symbols/basic/cross2.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/cross2.png
/usr/bin/install -c  -m 644 symbols/basic/point.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/point.png
/usr/bin/install -c  -m 644 symbols/basic/marker.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/marker.png
/usr/bin/install -c  -m 644 symbols/basic/arrow1.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/arrow1.png
/usr/bin/install -c  -m 644 symbols/basic/cross3.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/cross3.png
/usr/bin/install -c  -m 644 symbols/basic/circle.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/circle.png
/usr/bin/install -c  -m 644 symbols/basic/diamond.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/diamond.png
/usr/bin/install -c  -m 644 symbols/basic/arrow2.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/arrow2.png
/usr/bin/install -c  -m 644 symbols/basic/triangle.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/triangle.png
/usr/bin/install -c  -m 644 symbols/basic/star.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/star.png
/usr/bin/install -c  -m 644 symbols/basic/pushpin.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/pushpin.png
/usr/bin/install -c  -m 644 symbols/basic/box.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/box.png
/usr/bin/install -c  -m 644 symbols/basic/arrow3.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/arrow3.png
/usr/bin/install -c  -m 644 symbols/basic/cross1.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/cross1.png
/usr/bin/install -c  -m 644 symbols/basic/x.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/x.png
/usr/bin/install -c  -m 644 symbols/basic/octagon.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/basic/octagon.png
/usr/bin/install -c  -m 644 symbols/demo/smrk.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/demo/smrk.png
/usr/bin/install -c  -m 644 symbols/demo/muchomurka.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/demo/muchomurka.png
/usr/bin/install -c  -m 644 symbols/extra/fish.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/fish.png
/usr/bin/install -c  -m 644 symbols/extra/offbox_nw.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/offbox_nw.png
/usr/bin/install -c  -m 644 symbols/extra/alpha_flag.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/alpha_flag.png
/usr/bin/install -c  -m 644 symbols/extra/dim_arrow.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/dim_arrow.png
/usr/bin/install -c  -m 644 symbols/extra/offbox_sw.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/offbox_sw.png
/usr/bin/install -c  -m 644 symbols/extra/simple_zia.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/simple_zia.png
/usr/bin/install -c  -m 644 symbols/extra/offbox_ne.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/offbox_ne.png
/usr/bin/install -c  -m 644 symbols/extra/offbox_se.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/offbox_se.png
/usr/bin/install -c  -m 644 symbols/extra/pentagon.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/pentagon.png
/usr/bin/install -c  -m 644 symbols/extra/target.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/target.png
/usr/bin/install -c  -m 644 symbols/extra/dive_flag.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/dive_flag.png
/usr/bin/install -c  -m 644 symbols/extra/adcp.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/adcp.png
/usr/bin/install -c  -m 644 symbols/extra/fiducial.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/fiducial.png
/usr/bin/install -c  -m 644 symbols/extra/half-box.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/half-box.png
/usr/bin/install -c  -m 644 symbols/extra/4pt_star.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/4pt_star.png
/usr/bin/install -c  -m 644 symbols/extra/ping.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/ping.png
/usr/bin/install -c  -m 644 symbols/extra/ring.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/ring.png
/usr/bin/install -c  -m 644 symbols/extra/bridge.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/bridge.png
mkdir -p /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/docs/html/icons
/usr/bin/install -c  -m 644 symbols/extra/airport.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/airport.png
/usr/bin/install -c  -m 644 symbols/extra/half-circle.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/extra/half-circle.png
/usr/bin/install -c  -m 644 symbols/geology/strike_box.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_box.png
/usr/bin/install -c  -m 644 grass/vector.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/vector.png
/usr/bin/install -c  -m 644 symbols/geology/circle_cross.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/circle_cross.png
/usr/bin/install -c  -m 644 grass/layer-label-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-label-add.png
/usr/bin/install -c  -m 644 symbols/geology/strike_cleavage.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_cleavage.png
/usr/bin/install -c  -m 644 grass/page-settings.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/page-settings.png
/usr/bin/install -c  -m 644 symbols/geology/strike_line.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_line.png
/usr/bin/install -c  -m 644 grass/text-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/text-add.png
/usr/bin/install -c  -m 644 symbols/geology/half-arrow_left.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/half-arrow_left.png
/usr/bin/install -c  -m 644 grass/player-repeat-back-forward.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/player-repeat-back-forward.png
/usr/bin/install -c  -m 644 symbols/geology/strike_circle.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_circle.png
/usr/bin/install -c  -m 644 symbols/geology/strike_parallel.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_parallel.png
/usr/bin/install -c  -m 644 grass/layer-raster3d-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-raster3d-add.png
/usr/bin/install -c  -m 644 grass/undo.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/undo.png
/usr/bin/install -c  -m 644 grass/show.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/show.png
/usr/bin/install -c  -m 644 grass/stats.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/stats.png
/usr/bin/install -c  -m 644 grass/layer-redraw.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-redraw.png
/usr/bin/install -c  -m 644 grass/raster-calculator.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/raster-calculator.png
/usr/bin/install -c  -m 644 grass/player-pause.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/player-pause.png
/usr/bin/install -c  -m 644 symbols/geology/strike_triangle.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_triangle.png
/usr/bin/install -c  -m 644 grass/region.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/region.png
/usr/bin/install -c  -m 644 symbols/geology/strike_half-bowtie.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/strike_half-bowtie.png
/usr/bin/install -c  -m 644 symbols/geology/half-arrow_right.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/geology/half-arrow_right.png
/usr/bin/install -c  -m 644 grass/layer-bottom.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-bottom.png
/usr/bin/install -c  -m 644 grass/help.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/help.png
/usr/bin/install -c  -m 644 grass/map-info.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/map-info.png
/usr/bin/install -c  -m 644 grass/polygon.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/polygon.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow8b.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow8b.png
/usr/bin/install -c  -m 644 grass/gcp-rms.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/gcp-rms.png
/usr/bin/install -c  -m 644 grass/relation-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/relation-create.png
/usr/bin/install -c  -m 644 grass/shortest-distance.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/shortest-distance.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow2.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow2.png
/usr/bin/install -c  -m 644 grass/quit.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/quit.png
/usr/bin/install -c  -m 644 grass/zoom-in.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/zoom-in.png
/usr/bin/install -c  -m 644 grass/layer-raster-profile.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-raster-profile.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow7b.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow7b.png
/usr/bin/install -c  -m 644 grass/north-arrow-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/north-arrow-add.png
/usr/bin/install -c  -m 644 grass/rectangle-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/rectangle-add.png
/usr/bin/install -c  -m 644 grass/data-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/data-add.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow1a.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow1a.png
/usr/bin/install -c  -m 644 grass/layer-group-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-group-add.png
/usr/bin/install -c  -m 644 grass/pdf-export.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/pdf-export.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow6.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow6.png
/usr/bin/install -c  -m 644 grass/layer-shaded-relief-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-shaded-relief-add.png
/usr/bin/install -c  -m 644 grass/layer-up.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-up.png
/usr/bin/install -c  -m 644 grass/print.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/print.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow3.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow3.png
/usr/bin/install -c  -m 644 grass/label.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/label.png
/usr/bin/install -c  -m 644 grass/line-delete.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/line-delete.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow8a.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow8a.png
/usr/bin/install -c  -m 644 grass/layer-vector-more.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-vector-more.png
/usr/bin/install -c  -m 644 grass/print-compose.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/print-compose.png
/usr/bin/install -c  -m 644 grass/boundary-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/boundary-create.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow1b.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow1b.png
/usr/bin/install -c  -m 644 grass/overlay-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/overlay-add.png
/usr/bin/install -c  -m 644 grass/info.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/info.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow5.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow5.png
/usr/bin/install -c  -m 644 grass/vertex-delete.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/vertex-delete.png
/usr/bin/install -c  -m 644 symbols/n_arrows/fancy_compass.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/fancy_compass.png
/usr/bin/install -c  -m 644 grass/player-stop.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/player-stop.png
/usr/bin/install -c  -m 644 grass/redo.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/redo.png
/usr/bin/install -c  -m 644 grass/layer-down.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-down.png
/usr/bin/install -c  -m 644 grass/zoom-layer.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/zoom-layer.png
/usr/bin/install -c  -m 644 grass/point-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/point-add.png
/usr/bin/install -c  -m 644 grass/layer-aspect-arrow-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-aspect-arrow-add.png
/usr/bin/install -c  -m 644 grass/layer-more.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-more.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow9.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow9.png
/usr/bin/install -c  -m 644 grass/player-back.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/player-back.png
/usr/bin/install -c  -m 644 grass/layer-rgb-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-rgb-add.png
/usr/bin/install -c  -m 644 grass/redraw.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/redraw.png
/usr/bin/install -c  -m 644 grass/vertex-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/vertex-create.png
/usr/bin/install -c  -m 644 grass/layer-export.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-export.png
/usr/bin/install -c  -m 644 grass/pan.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/pan.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow4.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow4.png
/usr/bin/install -c  -m 644 symbols/n_arrows/basic_compass.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/basic_compass.png
/usr/bin/install -c  -m 644 grass/layer-his-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-his-add.png
/usr/bin/install -c  -m 644 symbols/n_arrows/n_arrow7a.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/images/symbols/n_arrows/n_arrow7a.png
/usr/bin/install -c  -m 644 grass/area-measure.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/area-measure.png
/usr/bin/install -c  -m 644 grass/script-load.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/script-load.png
make[3]: Leaving directory '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/gui/images'
/usr/bin/install -c  -m 644 grass/layer-edit.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-edit.png
/usr/bin/install -c  -m 644 grass/raster.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/raster.png
/usr/bin/install -c  -m 644 grass/georectify.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/georectify.png
/usr/bin/install -c  -m 644 grass/layer-opacity.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-opacity.png
/usr/bin/install -c  -m 644 grass/centroid-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/centroid-create.png
/usr/bin/install -c  -m 644 grass/open.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/open.png
/usr/bin/install -c  -m 644 grass/point-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/point-create.png
/usr/bin/install -c  -m 644 grass/layer-raster-more.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-raster-more.png
/usr/bin/install -c  -m 644 grass/layer-vector-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-vector-add.png
/usr/bin/install -c  -m 644 grass/legend-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/legend-add.png
/usr/bin/install -c  -m 644 grass/erase.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/erase.png
/usr/bin/install -c  -m 644 grass/wms.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/wms.png
/usr/bin/install -c  -m 644 grass/measure-length.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/measure-length.png
/usr/bin/install -c  -m 644 grass/scalebar-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/scalebar-add.png
/usr/bin/install -c  -m 644 grass/tools.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/tools.png
/usr/bin/install -c  -m 644 grass/attributes-display.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/attributes-display.png
/usr/bin/install -c  -m 644 grass/modeler-main.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/modeler-main.png
/usr/bin/install -c  -m 644 grass/execute.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/execute.png
/usr/bin/install -c  -m 644 grass/move.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/move.png
/usr/bin/install -c  -m 644 grass/vector-chart.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/vector-chart.png
/usr/bin/install -c  -m 644 grass/line-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/line-create.png
/usr/bin/install -c  -m 644 grass/rgb.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/rgb.png
/usr/bin/install -c  -m 644 grass/layer-vector-thematic-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-vector-thematic-add.png
/usr/bin/install -c  -m 644 grass/raster-stats.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/raster-stats.png
/usr/bin/install -c  -m 644 grass/his.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/his.png
/usr/bin/install -c  -m 644 grass/label-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/label-add.png
/usr/bin/install -c  -m 644 grass/gcp-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/gcp-add.png
/usr/bin/install -c  -m 644 grass/ps-export.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/ps-export.png
/usr/bin/install -c  -m 644 grass/reload.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/reload.png
/usr/bin/install -c  -m 644 grass/line-move.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/line-move.png
/usr/bin/install -c  -m 644 grass/cell-cats.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/cell-cats.png
/usr/bin/install -c  -m 644 grass/gcp-delete.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/gcp-delete.png
/usr/bin/install -c  -m 644 grass/3d-settings.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/3d-settings.png
/usr/bin/install -c  -m 644 grass/shaded-relief.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/shaded-relief.png
/usr/bin/install -c  -m 644 grass/layer-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-add.png
/usr/bin/install -c  -m 644 grass/modeler-variables.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/modeler-variables.png
/usr/bin/install -c  -m 644 grass/cats-copy.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/cats-copy.png
/usr/bin/install -c  -m 644 grass/map-export.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/map-export.png
/usr/bin/install -c  -m 644 grass/image-export.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/image-export.png
/usr/bin/install -c  -m 644 grass/line-split.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/line-split.png
/usr/bin/install -c  -m 644 grass/gcp-create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/gcp-create.png
/usr/bin/install -c  -m 644 grass/settings.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/settings.png
/usr/bin/install -c  -m 644 grass/layer-vector-chart-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-vector-chart-add.png
/usr/bin/install -c  -m 644 grass/create.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/create.png
/usr/bin/install -c  -m 644 grass/polygon-delete.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/polygon-delete.png
GISRC=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/etc/python:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/opt/grass/lib:/opt/grass/lib" LC_ALL=C python2 tools/build_modules_xml.py > /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml
/usr/bin/install -c  -m 644 grass/layer-wms-add.png /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/icons/grass/layer-wms-add.png
/bin/sh: /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml: No such file or directory
Makefile:53: recipe for target '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml' failed
make[3]: *** [/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml] Error 1
make[3]: Leaving directory '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/gui/wxpython'

Changed 22 months ago by wenzeslaus

comment:7 Changed 22 months ago by wenzeslaus

From the error message

/bin/sh: .../dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml: No such file or directory

I would say that the directory xml does not exist (the module_items.xml should be created in this step, it does not exist before but the xml directory in distribution should).

I'm not sure how much we can rely on the order of operations in relation to the order in the output but your log says that several directories were created, starting with gui/wxpython, then it follows with gui/wxpython/symbols and its subdirs, then there is gui/wxpython/images and then it tries to create gui/wxpython/xml/module_items.xml (as stdout redirect) but it fails with No such file or directory because gui/wxpython/xml/ was not yet created.

With help of make manual I was trying to check the dependencies (prerequisites) in the Makefile and it seems correct. default which contain $(MAKE) $(DSTDIR)/xml/module_items.xml requires $(DSTFILES) which (I guess) include $(DSTDIR)/gui/wxpython/xml/*.xml. This is target included in $(DSTDIR)/% rule which depends on $(DSTDIRS) which creates the directories. So, I don't understand why xml is not created (if it is even the case).

Try the newly attached 3rd version of the patch, I've tried to include $(DSTDIR) where I think it should be (although it probably works the same without it). I also added another explicit dependencies which should be given by the order inside the recipe or by its dependencies but I added them anyway:

 default: $(DSTFILES)
        -$(MAKE) $(DSTDIR)/xml/module_items.xml
-       -$(MAKE) xml/menudata.xml
-       -$(MAKE) xml/module_tree_menudata.xml
+       -$(MAKE) $(DSTDIR)/xml/menudata.xml
+       -$(MAKE) $(DSTDIR)/xml/module_tree_menudata.xml
        -$(MAKE) menustrings.py
        $(MAKE) parsubdirs

-xml/menudata.xml: core/toolboxes.py
+$(DSTDIR)/xml/menudata.xml: core/toolboxes.py ... $(DSTDIR)/xml/module_items.xml
        $(call run_grass,$(PYTHON) $< > $@)
 
-xml/module_tree_menudata.xml: core/toolboxes.py
+$(DSTDIR)/xml/module_tree_menudata.xml: core/toolboxes.py ... $(DSTDIR)/xml/module_items.xml

-$(DSTDIR)/xml/module_items.xml: tools/build_modules_xml.py
+$(DSTDIR)/xml/module_items.xml: tools/build_modules_xml.py $(DSTDIRS)

Changed 22 months ago by wenzeslaus

even more explicitly expressed dependencies

comment:8 Changed 22 months ago by scimmia

I just did 3 builds with version 3 of the patch, all successful. I think you've got it.

Changed 22 months ago by wenzeslaus

remove module_items.xml from dependencies as any occurrence causes the process to execute more than once

comment:9 Changed 22 months ago by wenzeslaus

Please try the 4th patch. The dependency caused the (long running) process to execute repetitively (I have no idea why). Not sure if it will now work for you.

comment:10 Changed 22 months ago by scimmia

Error with version 4

GISRC=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/etc/python:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/opt/grass/lib" LC_ALL=C python2 core/toolboxes.py "module_tree" > /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_tree_menudata.xml
GISRC=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/etc/python:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/bin:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/scripts:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/lib:/opt/grass/lib" LC_ALL=C python2 core/toolboxes.py > /home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/menudata.xml
Traceback (most recent call last):
  File "core/toolboxes.py", line 857, in <module>
    sys.exit(main())
  File "core/toolboxes.py", line 843, in main
    userDefined=False)
  File "core/toolboxes.py", line 271, in createTree
    moduleItems = etree.parse(moduleItemsFile)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml'
Traceback (most recent call last):
  File "core/toolboxes.py", line 857, in <module>
    sys.exit(main())
  File "core/toolboxes.py", line 843, in main
    userDefined=False)
  File "core/toolboxes.py", line 271, in createTree
    moduleItems = etree.parse(moduleItemsFile)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_items.xml'
Makefile:47: recipe for target '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_tree_menudata.xml' failed
make[3]: *** [/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/module_tree_menudata.xml] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:42: recipe for target '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/menudata.xml' failed
make[3]: *** [/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/dist.x86_64-pc-linux-gnu/gui/wxpython/xml/menudata.xml] Error 1
make[3]: Leaving directory '/home/dnewgard/PKGBUILDs/grass/src/grass-7.0.3RC1/gui/wxpython'

comment:11 Changed 22 months ago 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).

comment:12 Changed 22 months ago by scimmia

I really don't know much about makefiles, so I'm not sure what's going on or what the best solution is. My question, though, is what changed between 7.0.2 and 7.0.3RC1 that caused this? If this was in git, I'd bisect to figure out what happened, but I SVN's linear nature makes that a lot more difficult.

comment:13 in reply to:  12 Changed 22 months ago by wenzeslaus

Replying to scimmia:

My question, though, is what changed between 7.0.2 and 7.0.3RC1 that caused this? If this was in git, I'd bisect to figure out what happened, but I SVN's linear nature makes that a lot more difficult.

7.0.2 and 7.0.3RC1 revisions:

All changes in the gui/wxpython dir:

The difference for the gui/wxpython dir and the Makefile:

Does this happen for you with other versions, i.e. trunk, older releases (compiled now)? You can try manual bisect in release branch 7.0 in gui/wxpython dir between r67430 and r66784 or in the whole source code between r66860 and r67442:

However, I don't see any changes which could cause it. Are there any external things which can cause the difference? Different OS, make version etc.? (I have Ubuntu 15.10 with make GNU Make 4.0, x86_64, I'm not aware of any special settings.) It is also possible that the Makefile was already wrong but now the problem is visible. With my limited Makefile understanding, I don't see anything wrong there, although there is probably more ways how to write this Makefile.

comment:14 Changed 22 months ago by scimmia

That's the thing, I can still build 7.0.2 just fine; I wouldn't have filed the bug here otherwise. There are no external differences, the only difference is the grass code. I am on GNU Make 4.1, so maybe that's why I'm seeing it and you're not.

My issue with bisecting isn't that it isn't automated, it's that the large majority of the revisions involved aren't in the release branch. This makes the process a whole lot longer than it would with Git. :( I'll take a look at it.

comment:15 in reply to:  14 Changed 22 months ago by neteler

Replying to scimmia:

This makes the process a whole lot longer than it would with Git. :(

There was once (or still is) a git copy of the SVN repo...

comment:16 Changed 22 months ago by scimmia

OK, new info. I was able to build from r67442 just fine. I ran a recursive diff to see what the difference was between the tarball and the svn checkout, and found that gui/wxpython/xml/menudata.xml and gui/wxpython/xml/module_tree_menudata.xml don't exist in SVN. Removing those two files from the tarball lets me build.

comment:17 in reply to:  16 ; Changed 22 months ago by neteler

Replying to scimmia:

OK, new info. I was able to build from r67442 just fine. I ran a recursive diff to see what the difference was between the tarball and the svn checkout, and found that gui/wxpython/xml/menudata.xml and gui/wxpython/xml/module_tree_menudata.xml don't exist in SVN. Removing those two files from the tarball lets me build.

Great you found the issue! Yet I am surprised since

gui/wxpython/Makefile

contains

EXTRA_CLEAN_FILES = menustrings.py build_ext.pyc xml/menudata.xml xml/module_tree_menudata.xml */*.pyc

... so it is wiped out here:

grep EXTRA_CLEAN_FILES include/Make/Rules.make
	-rm -f $(EXTRA_CLEAN_FILES) *.tab.[ch] *.yy.c *.output *.backup *.tmp.html *.pyc $(DEPFILE)

I have updated the release procedure to explicitly delete these files in r67511, r67512. Now this should no longer happen.

I suggest to take these EXTRA_CLEAN_FILES files away from "svn propset" whitelisting to be sure that they become visible when running svn status. How to do that?

comment:18 in reply to:  17 ; Changed 22 months ago by glynn

Replying to neteler:

I suggest to take these EXTRA_CLEAN_FILES files away from "svn propset" whitelisting to be sure that they become visible when running svn status. How to do that?

svn propdel svn:ignore gui/wxpython/xml

comment:19 in reply to:  18 ; Changed 22 months ago by martinl

Replying to glynn:

Replying to neteler:

I suggest to take these EXTRA_CLEAN_FILES files away from "svn propset" whitelisting to be sure that they become visible when running svn status. How to do that?

> svn propdel svn:ignore gui/wxpython/xml

I don't understand this advice, than svn status will report for the files which shouldn't go to SVN (are generated on compilation time)

?       gui/wxpython/xml/module_tree_menudata.xml
?       gui/wxpython/xml/menudata.xml

comment:20 in reply to:  18 Changed 22 months ago by martinl

Replying to glynn:

I suggest to take these EXTRA_CLEAN_FILES files away from "svn propset" whitelisting to be sure that they become visible when running svn status. How to do that?

sorry, but why do you need that they are visible when running svn status?

comment:21 in reply to:  19 ; Changed 22 months ago by neteler

Replying to martinl:

I don't understand this advice, than svn status will report for the files which shouldn't go to SVN (are generated on compilation time)

?       gui/wxpython/xml/module_tree_menudata.xml
?       gui/wxpython/xml/menudata.xml

Well, here it behaves differently!

[neteler@pgis_north wxpython]$ pwd
/home/neteler/software/grass71/gui/wxpython

[neteler@pgis_north wxpython]$ grep EXTRA Makefile 
EXTRA_CLEAN_FILES = menustrings.py build_ext.pyc xml/menudata.xml xml/module_tree_menudata.xml */*.pyc

[neteler@pgis_north wxpython]$ ls -la menustrings.py build_ext.pyc xml/menudata.xml xml/module_tree_menudata.xml */*.pyc
ls: cannot access build_ext.pyc: No such file or directory
ls: cannot access */*.pyc: No such file or directory
-rw-r--r-- 1 neteler gis 109299 Jan  8 16:04 menustrings.py
-rw-r--r-- 1 neteler gis 172934 Jan  8 16:04 xml/menudata.xml
-rw-r--r-- 1 neteler gis 157982 Jan  8 16:04 xml/module_tree_menudata.xml
[neteler@pgis_north wxpython]$ svn status
[neteler@pgis_north wxpython]$ 

... nothing identified. Strange?

comment:22 in reply to:  21 ; Changed 22 months ago by martinl

Replying to neteler:

I don't understand this advice, than svn status will report for the files which shouldn't go to SVN (are generated on compilation time)

> > ?       gui/wxpython/xml/module_tree_menudata.xml
> > ?       gui/wxpython/xml/menudata.xml

Well, here it behaves differently!

This happens after you delete svn:ignore property by svn propdel svn:ignore gui/wxpython/xml. I still don't understand why you need this.

comment:23 in reply to:  22 ; Changed 22 months ago by neteler

Replying to martinl:

This happens after you delete svn:ignore property by svn propdel svn:ignore gui/wxpython/xml. I still don't understand why you need this.

I did not to that, didn't touch anything yet.

So, what I want to achieve here is the same output you get. Does it depend on the svn client version?

comment:24 Changed 22 months ago by martinl

I don't see any problem here:

  1. configure && make
  • File gui/wxpython/xml/menudata.xml exists
  1. make clean
  • File gui/wxpython/xml/menudata.xml doesn't exists

comment:25 in reply to:  23 ; Changed 22 months ago by martinl

Replying to neteler:

I did not to that, didn't touch anything yet.

Then svn status will report nothing.

So, what I want to achieve here is the same output you get. Does it depend on the svn client version?

No, svn status will report these files after you run svn propdel svn:ignore gui/wxpython/xml. But I still don't understand what's the point.

comment:26 in reply to:  25 ; Changed 22 months ago by neteler

Replying to martinl:

No, svn status will report these files after you run svn propdel svn:ignore gui/wxpython/xml.

OK, so let's apply that to SVN!

But I still don't understand what's the point.

Simple: the "make clean" may be interrupted, so garbarge remains and goes, as we have just seen above, unnoticed into the source tarball. This I want to avoid in future.

Solution: make the garbage visible in "svn status" since I run that prior to package the source tarball. Whatever leftover doesn't show up will be published. And cause tickets like this one :-)

If you disagree (no problem) close the ticket as done since I updated the release procedure to include extra leftover collection in r67511, r67512.

comment:27 in reply to:  26 ; Changed 22 months ago by wenzeslaus

Replying to neteler:

Simple: the "make clean" may be interrupted, so garbarge remains and goes, as we have just seen above, unnoticed into the source tarball. This I want to avoid in future.

Solution: make the garbage visible in "svn status" since I run that prior to package the source tarball. Whatever leftover doesn't show up will be published.

It's hard for me to tell what's right at this point but the OBJ.* are generated during compilation and ignored by svn status, so shouldn't be the desired behavior the same for all the generated files. Or should go all the generated files to OBJ.* dirs?

comment:28 in reply to:  27 Changed 22 months ago by neteler

Replying to wenzeslaus:

Or should go all the generated files to OBJ.* dirs?

This would probably solve the issue.

comment:29 Changed 22 months ago by martinl

At this point the issue is somehow solved for 7.0.3. I suggest to move the more complex solution to 7.0.4 milestone.

comment:30 Changed 22 months ago by neteler

Keywords: xml added
Milestone: 7.0.37.0.4

comment:31 Changed 22 months ago by wenzeslaus

Keywords: toolboxes Makefile svnprop wxGUI releasing added

comment:32 in reply to:  27 Changed 22 months ago by glynn

Replying to wenzeslaus:

It's hard for me to tell what's right at this point but the OBJ.* are generated during compilation and ignored by svn status, so shouldn't be the desired behavior the same for all the generated files. Or should go all the generated files to OBJ.* dirs?

That would be nice for various reasons, but isn't always practical.

At present, if you build with e.g.

make 'OBJDIR=$(HOME)/grass_objdir/$(RELDIR)'

you still end up with the following files being created in the source tree:

lib/python/ctypes/ctypesgencore/*.pyc
locale/scriptstrings/*_to_translate.c

gui/wxpython/menustrings.py
gui/wxpython/xml/menudata.xml
gui/wxpython/xml/module_tree_menudata.xml
lib/db/sqlp/sqlp.output
lib/db/sqlp/sqlp.tab.c
lib/db/sqlp/sqlp.tab.h
lib/db/sqlp/sqlp.yy.c
lib/python/script/setup.py.tmp
man/build_html.pyc
raster/r.mapcalc/mapcalc.output
raster/r.mapcalc/mapcalc.tab.c
raster/r.mapcalc/mapcalc.tab.h
raster/r.mapcalc/mapcalc.yy.c

If we could get all of those to be created in $(OBJDIR), it would be possible to build GRASS from a read-only source tree, or run multiple builds in a single source tree without them interfering with each other, or clean up simply by "rm -rf"ing $(OBJDIR).

comment:33 in reply to:  17 Changed 19 months ago by wenzeslaus

Resolution: fixed
Status: newclosed

Replying to neteler:

Replying to scimmia:

OK, new info. I was able to build from r67442 just fine. I ran a recursive diff to see what the difference was between the tarball and the svn checkout, and found that gui/wxpython/xml/menudata.xml and gui/wxpython/xml/module_tree_menudata.xml don't exist in SVN. Removing those files from the tarball lets me build.

I have updated the release procedure to explicitly delete these files in r67511, r67512. Now this should no longer happen.

Original issue solved for trunk and 7.0 branch. I'm closing the ticket. Change of build system as suggested by Glynn is for a separate ticket (those who know how to formulate the problem, feel free to open it).

Note: See TracTickets for help on using tickets.