<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Grande";
panose-1:2 11 6 0 4 5 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I just now tried to compile trunk (r73309) on the Mac and got an Error 2 in ..</span> /<span style="font-size:11.0pt">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Michael<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "./ctypesgen.py", line 162, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> descriptions = ctypesgencore.parser.parse(options.headers, options)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/__init__.py", line 22, in parse<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> parser.parse()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py", line 74, in parse<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> ctypesparser.CtypesParser.parse(self, fname, False)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/cparser.py", line 122, in parse<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> self.preprocessor_parser.parse(filename)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Users/cmbarton/grass_source/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 176, in parse<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> ppout = decode(ppout)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.7.0/etc/python/grass/script/utils.py", line 191, in decode<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> return bytes_.decode(enc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> File "/Applications/GRASS-7.5.app/Contents/Resources/lib/python2.7/encodings/utf_8.py", line 16, in decode<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> return codecs.utf_8_decode(input, errors, True)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 1298644: invalid start byte<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[1]: *** [OBJ.x86_64-apple-darwin17.7.0/nviz.py] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make: *** [default] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">______________________________</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">C. Michael Barton </span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Director, Center for Social Dynamics & Complexity</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Professor of Anthropology, School of Human Evolution & Social Change</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Head, Graduate Faculty in Complex Adaptive Systems Science</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Arizona State University</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Tempe, AZ 85287-2402</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">USA</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Lucida Grande",sans-serif;color:black">voice: 480-965-6262 (SHESC), 480-965-8130/</span><span style="font-size:9.0pt;font-family:Helvetica;color:black">727-9746 (CSDC)</span><span style="font-size:10.0pt;font-family:Helvetica;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">www: http://csdc.asu.edu, http://shesc.asu.edu</span><span style="font-size:10.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black"> http://www.public.asu.edu/~cmbarton</span><o:p></o:p></p>
</div>
</body>
</html>