[GRASS-dev] [GRASS GIS] #2187: Make Fails on Manpages GRASS GIS 7.0.svn 58873M

#2187: Make Fails on Manpages GRASS GIS 7.0.svn 58873M
------------------------+---------------------------------------------------
Reporter: justinzane | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
------------------------+---------------------------------------------------
Repeatable error when making manpages:
{{{
GISBASE="/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu" ARCH="x86_64-unknown-linux-gnu"
ARCH_DISTDIR="/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu" VERSION_NUMBER=7.0.svn VERSION_DATE=2014 python
./build_keywords.py
/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html
Traceback (most recent call last):
   File "./build_keywords.py", line 38, in <module>
     key = "%s%s" % (key[0].upper(), key[1:])
IndexError: string index out of range
Makefile:76: recipe for target
'/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html/keywords.html' failed
make[3]: ***
[/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html/keywords.html] Error 1
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2187&gt;
GRASS GIS <http://grass.osgeo.org>

#2187: Make Fails on Manpages GRASS GIS 7.0.svn 58873M
------------------------+---------------------------------------------------
Reporter: justinzane | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
------------------------+---------------------------------------------------

Comment(by justinzane):

Note that deleting "./man/" from the root Makefile allows build to
complete.

Also, in looking at the build_foo.py files, I notices a variety of issues
including mixed tabs and spaces, old `except BarError, e"` instead of
`except BarError as e:`, and various points of failure outside try/except
blocks.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2187#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2187: Make Fails on Manpages GRASS GIS 7.0.svn 58873M
------------------------+---------------------------------------------------
Reporter: justinzane | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: man, html | Platform: All
      Cpu: x86-64 |
------------------------+---------------------------------------------------
Changes (by lucadelu):

  * keywords: => man, html
  * platform: Linux => All

Comment:

Replying to [ticket:2187 justinzane]:
> Repeatable error when making manpages:
> {{{
>
GISBASE="/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu" ARCH="x86_64-unknown-linux-gnu"
ARCH_DISTDIR="/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu" VERSION_NUMBER=7.0.svn VERSION_DATE=2014 python
./build_keywords.py
/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html
> Traceback (most recent call last):
> File "./build_keywords.py", line 38, in <module>
> key = "%s%s" % (key[0].upper(), key[1:])
> IndexError: string index out of range
> Makefile:76: recipe for target
'/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html/keywords.html' failed
> make[3]: ***
[/home/justin/src/makepkg/build/grass70-svn/src/grass70-svn/dist.x86_64
-unknown-linux-gnu/docs/html/keywords.html] Error 1
> }}}
>

fixed in r58876.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2187#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2187: Make Fails on Manpages GRASS GIS 7.0.svn 58873M
-------------------------+--------------------------------------------------
  Reporter: justinzane | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Resolution: fixed | Keywords: man, html
  Platform: All | Cpu: x86-64
-------------------------+--------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2187#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>