Opened 15 years ago

Closed 15 years ago

#910 closed defect (fixed)

wxgui: fails with make -j

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Compiling Version: svn-trunk
Keywords: wxgui, Makefile Cc:
CPU: x86-64 Platform: Linux

Description

Hi,

latest trunk on debian/stable with "make -j 8" on a amd64 quad-core.

gui/wxpython/ fails with:

make[2]: Entering directory `/usr/local/src/grass/svn/trunk/gui'
make -C icons || echo /usr/local/src/grass/svn/trunk/gui/icons >> /usr/local/src/grass/svn/trunk/error.log
make -C images || echo /usr/local/src/grass/svn/trunk/gui/images >> /usr/local/src/grass/svn/trunk/error.log
make -C scripts || echo /usr/local/src/grass/svn/trunk/gui/scripts >> /usr/local/src/grass/svn/trunk/error.log
make -C xml || echo /usr/local/src/grass/svn/trunk/gui/xml >> /usr/local/src/grass/svn/trunk/error.log
make -C wxpython || echo /usr/local/src/grass/svn/trunk/gui/wxpython >> /usr/local/src/grass/svn/trunk/error.log
make[3]: Entering directory `/usr/local/src/grass/svn/trunk/gui/images'
make /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/images/startup_banner.png
make[3]: Entering directory `/usr/local/src/grass/svn/trunk/gui/xml'
/usr/bin/install -c  -m 644 grass-interface.dtd /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/grass-interface.dtd 
make[3]: Leaving directory `/usr/local/src/grass/svn/trunk/gui/xml'
make[3]: Entering directory `/usr/local/src/grass/svn/trunk/gui/icons'
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/icons
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/icons/grass
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/icons/grass/vdigit
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/icons/silk
make[4]: Entering directory `/usr/local/src/grass/svn/trunk/gui/images'
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/images
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/icons/grass2
/usr/bin/install -c  -m 644 startup_banner.png /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/images/startup_banner.png
make[3]: Entering directory `/usr/local/src/grass/svn/trunk/gui/wxpython'
mkdir -p /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/wxpython
make[4]: Leaving directory `/usr/local/src/grass/svn/trunk/gui/images'
make[3]: Leaving directory `/usr/local/src/grass/svn/trunk/gui/images'
make[3]: Entering directory `/usr/local/src/grass/svn/trunk/gui/scripts'
/usr/bin/install -c  g.change.gui.py /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/scripts/g.change.gui.py
/usr/bin/install -c  v.type_wrapper.py /usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/scripts/v.type_wrapper.py
make[3]: Leaving directory `/usr/local/src/grass/svn/trunk/gui/scripts'
GISBASE="/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu" \
        python gui_modules/menudata.py > menustrings.py
Traceback (most recent call last):
  File "gui_modules/menudata.py", line 208, in <module>
    data = Data()
  File "gui_modules/menudata.py", line 45, in __init__
    self.tree = etree.parse(filename)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 862, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 579, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/wxpython/xml/menudata.xml'
make[3]: *** [menustrings.py] Error 1
make[3]: Leaving directory `/usr/local/src/grass/svn/trunk/gui/wxpython'

... suspected Makefile dep mis-order..

Hamish

Change History (2)

in reply to:  description comment:1 by glynn, 15 years ago

Replying to hamish:

gui/wxpython/ fails with:

GISBASE="/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu" \
        python gui_modules/menudata.py > menustrings.py
...
IOError: [Errno 2] No such file or directory: '/usr/local/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/wxpython/xml/menudata.xml

menudata.py uses the installed menudata.xml, not the source file, so that should be the pre-requisite for menustrings.py.

Fixed in r40832.

comment:2 by hamish, 15 years ago

Resolution: fixed
Status: newclosed

thanks, tested ok.

not applied to 6.5 or 6.4 because for me those build ok without it.

Hamish

Note: See TracTickets for help on using tickets.