Re: [GRASS-dev] man error on compilation
On Tue, Nov 22, 2016 at 1:01 PM, Yann Cheminwrote: > the error came when I would not flush all containers from previous build. > If I build with --no-cache, the issue does not come. > > Yes, cache seems tricky. I checkout and compile in one step. Longer and network intensive when you mess up compilation, but ensures clean and fresh source. # install GRASS GIS WORKDIR /usr/local/src RUN svn checkout https://svn.osgeo.org/grass/grass/trunk grass \ && cd grass \ && ./configure \ --enable-largefile=yes \ --with-nls \ --with-cxx \ --with-readline \ --with-bzlib \ --with-pthread \ --with-proj-share=/usr/share/proj \ --with-geos=/usr/bin/geos-config \ --with-cairo \ --with-opengl-libs=/usr/include/GL \ --with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \ --with-sqlite=yes \ --with-liblas=yes --with-liblas-config=/usr/bin/liblas-config \ && make && make install && ldconfig > Thanks for the check on empty keywords list You're welcome. ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] man error on compilation
Thanks Vaclav, the error came when I would not flush all containers from previous build. If I build with --no-cache, the issue does not come. Thanks for the check on empty keywords list, I am rebuilding it now. Yann -- Yann Chemin Planetary Scientist Latest: https://peerj.com/preprints/2124/ - *JRC:* https://www.thefreelibrary.com/3628+-+CANHEMON+Remote+sensing+based+forest+canopy+health+monitoring...-a0453990005 *OSGeo: *https://wiki.osgeo.org/wiki/Open_Monitoring_Systems_Working_Group On 22 November 2016 at 18:58, Vaclav Petraswrote: > > On Tue, Nov 22, 2016 at 11:12 AM, Yann Chemin > wrote: > >> I am compiling from SVN inside a docker (Debian testing) >> >> > I'm just doing it with Ubuntu in Docker and I have no issue with r68881 > (docker run ... grass --config revision). > > >> for some reason inside man/ the build_keywords.py bugs at line 63. >> > > This looks like module without keywords or with an empty keyword. Are you > using something else than code from trunk? > > >> >> GISBASE="/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu" >> ARCH="x86_64-pc-linux-gnu" ARCH_DISTDIR="/root/dev/grass_ >> trunk/dist.x86_64-pc-linux-gnu" VERSION_NUMBER=7.3.svn VERSION_DATE=2016 >> python ./build_keywords.py /root/dev/grass_trunk/dist.x86 >> _64-pc-linux-gnu/docs/html >> Traceback (most recent call last): >> File "./build_keywords.py", line 63, in >> firstchar = key[0].lower() >> IndexError: string index out of range > > > r69871 checks for an empty keyword and fail because empty keyword should > not happen. The error message tells file and line. > > Hope this helps, > Vaclav > > https://trac.osgeo.org/grass/changeset/69871 > ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] man error on compilation
On Tue, Nov 22, 2016 at 11:12 AM, Yann Cheminwrote: > I am compiling from SVN inside a docker (Debian testing) > > I'm just doing it with Ubuntu in Docker and I have no issue with r68881 (docker run ... grass --config revision). > for some reason inside man/ the build_keywords.py bugs at line 63. > This looks like module without keywords or with an empty keyword. Are you using something else than code from trunk? > > GISBASE="/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu" > ARCH="x86_64-pc-linux-gnu" ARCH_DISTDIR="/root/dev/grass_ > trunk/dist.x86_64-pc-linux-gnu" VERSION_NUMBER=7.3.svn VERSION_DATE=2016 > python ./build_keywords.py /root/dev/grass_trunk/dist. > x86_64-pc-linux-gnu/docs/html > Traceback (most recent call last): > File "./build_keywords.py", line 63, in > firstchar = key[0].lower() > IndexError: string index out of range r69871 checks for an empty keyword and fail because empty keyword should not happen. The error message tells file and line. Hope this helps, Vaclav https://trac.osgeo.org/grass/changeset/69871 ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] man error on compilation
Hi, I am compiling from SVN inside a docker (Debian testing) for some reason inside man/ the build_keywords.py bugs at line 63. GISBASE="/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu" ARCH="x86_64-pc-linux-gnu" ARCH_DISTDIR="/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu" VERSION_NUMBER=7.3.svn VERSION_DATE=2016 python ./build_keywords.py /root/dev/grass_trunk/dist.x86_64-pc-linux-gnu/docs/html Traceback (most recent call last): File "./build_keywords.py", line 63, in firstchar = key[0].lower() IndexError: string index out of range Makefile:113: recipe for target '/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu/docs/html/keywords.html' failed make[1]: *** [/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu/docs/html/keywords.html] Error 1 make[1]: Leaving directory '/root/dev/grass_trunk/man' Makefile:43: recipe for target 'default' failed thanks for any help, Yann ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev