[GRASS-dev] GRASS 6.5 svn r42055 fails to build, in gui/wxpython

Hi,

GRASS 6.5 svn r42055 fails to build as follows:

GRASS GIS compilation log
-------------------------
Started compilation: Wed Apr 28 22:45:09 CEST 2010
--
Errors in:
/home/src/straight/grass65/gui/wxpython
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed Apr 28 22:53:26 CEST 2010
make: *** [default] Error 1

So I do:

$ cd /home/src/straight/grass65/gui/wxpython
$ make 2>&1 | tee log.log

(log.log attached)

$ echo $?
0

So it seems to completes OK. What's wrong?

Debian testing amd64, Python 2.5.5, gcc (Debian 4.4.2-9) 4.4.3 20100108 (prerelease), wx 2.8.10.

Maciek

--
Maciej Sieczka
http://www.sieczka.org

(attachments)

log.log.7z (4.4 KB)

Hi,

2010/4/28 Maciej Sieczka <msieczka@sieczka.org>:

Errors in:
/home/src/straight/grass65/gui/wxpython

compiled with `make -jX` ?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

W dniu 29.04.2010 00:20, Martin Landa pisze:

Hi,

2010/4/28 Maciej Sieczka<msieczka@sieczka.org>:

Errors in:
/home/src/straight/grass65/gui/wxpython

compiled with `make -jX` ?

Nope, regular `make'.

--
Maciej Sieczka
http://www.sieczka.org

Maciej Sieczka wrote:

GRASS GIS compilation log
-------------------------
Started compilation: Wed Apr 28 22:45:09 CEST 2010
--
Errors in:
/home/src/straight/grass65/gui/wxpython
--
In case of errors please change into the directory with error and run
'make'.

Can we change this to:

  In case of errors please refer to the "make" output; you did
  save it to a file, right?

In the case of missing or incorrect dependencies, it's common for a
subsequent "make" to succeed, so we need the errors from the original
make command.

I'm inclined to modify the top-level Makefile to bail out if
stdout/stderr refer to a tty. Also, forcing LC_ALL=C might not be a
bad idea.

So I do:

$ cd /home/src/straight/grass65/gui/wxpython
$ make 2>&1 | tee log.log

(log.log attached)

Er, log.log.7z attached. After installing p7zip (using gzip would have
resulted in a smaller file, BTW), I don't see anything obviously
wrong.

--
Glynn Clements <glynn@gclements.plus.com>