<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 1:32 PM, Luís Oliveira <span dir="ltr"><<a href="mailto:luismbo@gmail.com" target="_blank">luismbo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Wed, Nov 11, 2015 at 6:14 PM, Mirko Vukovic <<a href="mailto:mirko.vukovic@gmail.com">mirko.vukovic@gmail.com</a>> wrote:<br>
> I traced INVOKE, and UIOP/RUN-PROGRAM:RUN-PROGRAM.<br>
><br>
> The problem originates in reading the output of<br>
> uiop/run-program:run-program.  Here are the trace outputs for<br>
> (CFFI-TOOLCHAIN:INVOKE "pkg-config.exe" "--version"):<br>
><br>
>  <1 UIOP/RUN-PROGRAM:RUN-PROGRAM returned 3 values :<br>
>  <1      NIL<br>
>  <1      NIL<br>
>  <1      0<br>
> <0 CFFI-TOOLCHAIN:INVOKE returned 3 values :<br>
> <0      NIL<br>
> <0      NIL<br>
> <0      0<br>
><br>
> For some reason, the output of pkg-config is not being read.<br>
><br>
> I will play with CCL:run-program to get output out of it, and then trace<br>
> this back to uiop and invoke.<br>
<br>
</span>Good job. Thanks for debugging this. Perhaps Faré can chime in since<br>
he touched this code last. (I've cced him.)<br>
<br>
Cheers,<br>
<div class=""><div class="h5"><br>
--<br>
Luís Oliveira<br>
<a href="http://kerno.org/~luis/" rel="noreferrer" target="_blank">http://kerno.org/~luis/</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">To augment: this is not just a Windows+CCL issue.  On Windows+SBCL I get the same behavior:</div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">CL-USER> (trace cffi-toolchain:invoke uiop/run-program:run-program)</div><div class="gmail_extra">(CFFI-TOOLCHAIN:INVOKE UIOP/RUN-PROGRAM:RUN-PROGRAM)</div><div class="gmail_extra">CL-USER> (CFFI-TOOLCHAIN:INVOKE "pkg-config.exe" "--version")</div><div class="gmail_extra">  0: (CFFI-TOOLCHAIN:INVOKE "pkg-config.exe" "--version")</div><div class="gmail_extra">; pkg-config.exe --version</div><div class="gmail_extra">    1: (UIOP/RUN-PROGRAM:RUN-PROGRAM ("pkg-config.exe" "--version") :OUTPUT</div><div class="gmail_extra">                                     :INTERACTIVE :ERROR-OUTPUT :INTERACTIVE)</div><div class="gmail_extra">    1: UIOP/RUN-PROGRAM:RUN-PROGRAM returned NIL NIL 0</div><div class="gmail_extra">  0: CFFI-TOOLCHAIN:INVOKE returned NIL NIL 0</div><div class="gmail_extra">NIL</div><div class="gmail_extra">NIL</div><div class="gmail_extra">0</div><div><br></div><div>Mirko</div></div></div>