[GRASS-dev] ctype error compiling trunk

Michael Barton Michael.Barton at asu.edu
Tue Sep 11 06:38:11 PDT 2018


Will do. Thanks

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Sep 10, 2018, at 6:11 PM, Anna Petrášová <kratochanna at gmail.com<mailto:kratochanna at gmail.com>> wrote:



On Mon, Sep 10, 2018 at 7:09 PM Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
I just now tried to compile trunk (r73309) on the Mac and got an Error 2 in .. /lib/python/ctypes. I’m attaching the full compiler output, but list the last part below. I am compiling with the most current Mac OS and Python 2.7.15 (i.e., not Python 3). I seem to remember something about ctypes coming across the list recently, while I was traveling but thought it was related to Python 3. Before I make a bug report, I thought I’d see if anyone has any insight about this.

Michael

Status: /Applications/GRASS-7.5.app/Contents/Resources/bin/clang -E -I/Applications/GRASS-7.5.app/Contents/Resources/include      -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.7.0/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.7.0/include -D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD -U __BLOCKS__ "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" "-D__uint16_t=uint16_t" "-D__uint32_t=uint32_t" "-D__uint64_t=uint64_t" "/var/folders/65/pp9w7z0d1mj502pj8hhl7vfw0000gp/T/tmpCdLMiY.h"
Traceback (most recent call last):
  File "./ctypesgen.py", line 162, in <module>
    descriptions = ctypesgencore.parser.parse(options.headers, options)
  File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/__init__.py", line 22, in parse
    parser.parse()
  File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py", line 74, in parse
    ctypesparser.CtypesParser.parse(self, fname, False)
  File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/cparser.py", line 122, in parse
    self.preprocessor_parser.parse(filename)
  File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 176, in parse
    ppout = decode(ppout)
  File "/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.7.0/etc/python/grass/script/utils.py", line 191, in decode
    return bytes_.decode(enc)
  File "/Applications/GRASS-7.5.app/Contents/Resources/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 1298644: invalid start byte
make[1]: *** [OBJ.x86_64-apple-darwin17.7.0/nviz.py] Error 1
make: *** [default] Error 2

Please update and try again, I attempted to fix it.

Thanks,

Anna

______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA

voice:    480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:      http://csdc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=jhSe4abFSbPAVBVHXBpbGJp08BWRgd9xIgQOt7qaXMI&s=mepugwBqGFurAHuUty0kxR6ARgU8kwGZbQC6Z5QAF6s&e=>, http://shesc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__shesc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=jhSe4abFSbPAVBVHXBpbGJp08BWRgd9xIgQOt7qaXMI&s=ad1lnS7tMRRm1JlJXJJlsl6mH7u81LjSYI8Jpv2YwPo&e=>
                                http://www.public.asu.edu/~cmbarton<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=jhSe4abFSbPAVBVHXBpbGJp08BWRgd9xIgQOt7qaXMI&s=wfHbFetMlReG8Nc0KhsmM6WNvpBQcWI6duv8RJtM0Hc&e=>
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=jhSe4abFSbPAVBVHXBpbGJp08BWRgd9xIgQOt7qaXMI&s=W2YB2PqAXbZh4D_2t81JuotZZVFUdxwNl1WxMzj69t4&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180911/229e95ee/attachment-0001.html>


More information about the grass-dev mailing list