<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 15-Jun-16 22:59, Gregor Jasny wrote:<br>
    </div>
    <blockquote
      cite="mid:ed76b829-4dda-ef92-e6e0-1b521f1e629e@googlemail.com"
      type="cite">
      <pre wrap="">Hello,

Thanks for the patch!

On 15/06/16 16:41, Ruslan Baratov wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Sending some fixes found by testing with Xcode 7.3
</pre>
      </blockquote>
      <pre wrap="">
We were chasing some errors regarding the unified build some time ago.
But it appeared some for of heisenbug: the more I looked the less likely
it happened.

Is the error 100% reproducible for you?</pre>
    </blockquote>
    Yes - for the Travis VM with xcode7.3 image. Not - for my local
    machine.<br>
    <br>
    <blockquote
      cite="mid:ed76b829-4dda-ef92-e6e0-1b521f1e629e@googlemail.com"
      type="cite">
      <pre wrap=""> And do you know what goes wrong?</pre>
    </blockquote>
    Yes, I've leaved a note in the comments section. There are some
    messages in error stream, they are not related to lipo location.
    Here is example of the log with error:<br>
    <span id="1-1874"><br>
    </span>
    <blockquote><span id="1-1874">CMake Error at
/Users/travis/build/ingenue/hunter/_ci/cmake/share/cmake-3.5/Modules/CMakeIOSInstallCombined.cmake:102
        (message):</span><br>
      <span id="1-1875"> Command failed (File name too long): 2016-05-31
        18:37:15.058</span><br>
      <span id="1-1876"> xcodebuild[6590:18239] Build settings from
        command line:</span><br>
      <span id="1-1877"></span><span id="1-1878">2016-05-31 18:37:15.059
        xcodebuild[6590:18239] TOOLCHAINS =</span><br>
      <span id="1-1879"> com.apple.dt.toolchain.XcodeDefault</span><br>
      <span id="1-1880"></span><span id="1-1881">2016-05-31 18:37:15.059
        xcodebuild[6590:18239]</span><br>
      <span id="1-1882"> XCODE_DEFAULT_TOOLCHAIN_OVERRIDE =</span><br>
      <span id="1-1883">
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain</span><br>
      <span id="1-1884"></span><span id="1-1887">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo;-info;/Users/travis/build/ingenue/hunter/_testing/Hunter/_Base/7f9eaa4/f53c868/1c14a4b/Build/GTest/Build/GTest-Release-prefix/src/GTest-Release-build/googlemock/Release-iphonesimulator/libgmock.a</span><br>
    </blockquote>
    <br>
    <blockquote
      cite="mid:ed76b829-4dda-ef92-e6e0-1b521f1e629e@googlemail.com"
      type="cite">
      <pre wrap="">

Does the

   list(LENGTH _lipo_path len)
   if(NOT len EQUAL 1)

take paths with spaces into account?</pre>
    </blockquote>
    Nope as far as I know. In fact it doesn't catch the error I've seen,
    I decide to add some sanity checks just to be sure.<br>
    <br>
    Ruslo<br>
  </body>
</html>