Advertisement
Guest User

ctype error building grass gis

a guest
Jun 1st, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.39 KB | None | 0 0
  1. make /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib
  2. make[1]: Entering directory '/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes'
  3. make[1]: '/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib' is up to date.
  4. make[1]: Leaving directory '/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes'
  5. make OBJ.x86_64-pc-linux-gnu/date.py OBJ.x86_64-pc-linux-gnu/gis.py OBJ.x86_64-pc-linux-gnu/raster.py OBJ.x86_64-pc-linux-gnu/gmath.py OBJ.x86_64-pc-linux-gnu/proj.py OBJ.x86_64-pc-linux-gnu/imagery.py OBJ.x86_64-pc-linux-gnu/vector.py OBJ.x86_64-pc-linux-gnu/rtree.py OBJ.x86_64-pc-linux-gnu/display.py OBJ.x86_64-pc-linux-gnu/stats.py OBJ.x86_64-pc-linux-gnu/dbmi.py OBJ.x86_64-pc-linux-gnu/raster3d.py OBJ.x86_64-pc-linux-gnu/arraystats.py OBJ.x86_64-pc-linux-gnu/cluster.py OBJ.x86_64-pc-linux-gnu/vedit.py OBJ.x86_64-pc-linux-gnu/segment.py OBJ.x86_64-pc-linux-gnu/rowio.py OBJ.x86_64-pc-linux-gnu/temporal.py OBJ.x86_64-pc-linux-gnu/ogsf.py OBJ.x86_64-pc-linux-gnu/nviz.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/date.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/gis.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/raster.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/gmath.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/proj.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/imagery.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/vector.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/rtree.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/display.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/stats.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/dbmi.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/raster3d.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/arraystats.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/cluster.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/vedit.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/segment.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/rowio.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/temporal.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ogsf.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/nviz.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/__init__.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ctypes_preamble.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.py /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/date.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/gis.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/raster.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/gmath.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/proj.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/imagery.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/vector.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/rtree.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/display.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/stats.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/dbmi.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/raster3d.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/arraystats.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/cluster.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/vedit.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/segment.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/rowio.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/temporal.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ogsf.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/nviz.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/__init__.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ctypes_preamble.pyc /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.pyc
  6. make[1]: Entering directory '/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes'
  7. GISRC=/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc72 GISBASE=/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu PATH="/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/bin:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/bin:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/etc/python:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/bin:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/bin:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/scripts:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/lib:/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/lib:.::/jre/lib" LC_ALL=C ./ctypesgen.py --cpp "gcc -E -D_FORTIFY_SOURCE=2      -I/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include -I/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG" -lgrass_datetime.7.2.1   /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include/grass/datetime.h /tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include/grass/defs/datetime.h -o OBJ.x86_64-pc-linux-gnu/date.py
  8. Status: Preprocessing /tmp/tmpfcx1LI.h
  9. Status: gcc -E -D_FORTIFY_SOURCE=2      -I/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include -I/tmp/makepkg/grass/src/grass-7.2.1/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" /tmp/tmpfcx1LI.h
  10. Traceback (most recent call last):
  11.   File "./ctypesgen.py", line 139, in <module>
  12.     descriptions = ctypesgencore.parser.parse(options.headers, options)
  13.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/__init__.py", line 22, in parse
  14.     parser.parse()
  15.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py", line 74, in parse
  16.     ctypesparser.CtypesParser.parse(self, fname, None)
  17.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/cparser.py", line 120, in parse
  18.     self.preprocessor_parser.parse(filename)
  19.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 218, in parse
  20.     token = self.lexer.token()
  21.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 63, in token
  22.     result = lex.Lexer.token(self)
  23.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/lex.py", line 355, in token
  24.     newtok = func(tok)
  25.   File "/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes/ctypesgencore/parser/pplexer.py", line 262, in t_ANY_int
  26.     g1 = str(long(g1, 8))
  27. ValueError: invalid literal for long() with base 8: '08420217248550443400745280086994171'
  28. make[1]: *** [Makefile:102: OBJ.x86_64-pc-linux-gnu/date.py] Error 1
  29. make[1]: Leaving directory '/tmp/makepkg/grass/src/grass-7.2.1/lib/python/ctypes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement