[GRASS-user] grass72 or higher on RHEL6

Markus Neteler neteler at osgeo.org
Tue Apr 4 15:20:07 PDT 2017


... back to this:

Using 7.2.1RC1, I am doing a new attempt on EPEL6 (python2.6) compilation.
While most goes well, here the remaining manual page issues:

# d.barscale.html
python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
d.barscale > /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.barscale.html
: && gcc -L/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-L/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-o /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin/d.erase
OBJ.x86_64-redhat-linux-gnu/main.o    -lgrass_display.7.2.1svn
-lgrass_gis.7.2.1svn   -lm
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.barscale.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.barscale.1
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 54, column 8
make[3]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.barscale.1]
Error 1


# d.northarrow.html
python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
d.northarrow > /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.northarrow.html
/usr/bin/install -c  -m 644 render_cmd.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/etc/d.mon/render_cmd.py
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.northarrow.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.northarrow.1
: && gcc -L/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-L/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib
-o /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin/d.mon
OBJ.x86_64-redhat-linux-gnu/list.o OBJ.x86_64-redhat-linux-gnu/main.o
OBJ.x86_64-redhat-linux-gnu/select.o
OBJ.x86_64-redhat-linux-gnu/start.o OBJ.x86_64-redhat-linux-gnu/stop.o
   -lgrass_gis.7.2.1svn -lgrass_display.7.2.1svn   -lm
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 54, column 8
make[3]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.northarrow.1]
Error 1
rm d.northarrow.tmp.html
make[3]: Leaving directory
`/builddir/build/BUILD/grass-7.2.0/display/d.northarrow'


# d.vect.html
python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
d.vect > /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.vect.html
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/d.vect.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.vect.1
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 104, column 8
make[3]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/d.vect.1]
Error 1
rm d.vect.tmp.html


# r3.colors.html
python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
r3.colors > /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/r3.colors.html
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/r.colors.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/r.colors.1
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 72, column 8
make[4]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/r.colors.1]
Error 1
rm r3.colors.tmp.html r.colors.tmp.html
make[4]: Leaving directory `/builddir/build/BUILD/grass-7.2.0/raster/r.colors'


# v.colors.html
python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
v.colors > /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/v.colors.html
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/v.colors.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/v.colors.1
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 91, column 8
make[3]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/v.colors.1]
Error 1


# t.rast.colors.html
g.parser -t t.rast.contour.py | sed s/\"/\\\\\"/g | sed 's/.*/_("&")/'
> /builddir/build/BUILD/grass-7.2.0/locale/scriptstrings/t.rast.contour_to_translate.c
if [ "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/scripts/t.rast.contour"
!= "" ] ; then GISRC=/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/demolocation/.grassrc72
GISBASE=/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu
PATH="/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/scripts:$PATH"
PYTHONPATH="/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/etc/python:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/gui/wxpython:$PYTHONPATH"
LD_LIBRARY_PATH="/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/bin:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/scripts:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib:/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/lib:"
LC_ALL=C /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/scripts/t.rast.contour
--html-description < /dev/null | grep -v '</body>\|</html>' >
t.rast.contour.tmp.html ; fi
VERSION_NUMBER=7.2.1svn
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/t.rast.colors.html
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/t.rast.colors.1
Traceback (most recent call last):
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 71, in <module>
    main()
  File "/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/g.html2man.py",
line 50, in main
    p.close()
  File "/usr/lib64/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib64/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib64/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 68, column 8
VERSION_NUMBER=7.2.1svn VERSION_DATE=2017 MODULE_TOPDIR=../../ \
        python /builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/tools/mkhtml.py
t.rast.contour >
/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/html/t.rast.contour.html
make[3]: *** [/builddir/build/BUILD/grass-7.2.0/dist.x86_64-redhat-linux-gnu/docs/man/man1/t.rast.colors.1]
Error 1
rm t.rast.colors.tmp.html
make[3]: Leaving directory
`/builddir/build/BUILD/grass-7.2.0/temporal/t.rast.colors'


Looks all like being the same issue - any idea how to fix that?

thanks,
Markus


More information about the grass-user mailing list