Opened 11 years ago

Closed 11 years ago

#2187 closed defect (fixed)

Make Fails on Manpages GRASS GIS 7.0.svn 58873M

Reported by: justinzane Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Compiling Version: svn-trunk
Keywords: man, html Cc:
CPU: x86-64 Platform: All

Description

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

Change History (3)

comment:1 by justinzane, 11 years ago

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.

in reply to:  description comment:2 by lucadelu, 11 years ago

Keywords: man html added
Platform: LinuxAll

Replying to 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.

comment:3 by neteler, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.