<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Javier,</p>
    <p>the latest builds in master exhibit that too.</p>
    <p>Last known good build:
      <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/PROJ/actions/runs/12826500139/job/35766533105">https://github.com/OSGeo/PROJ/actions/runs/12826500139/job/35766533105</a>:</p>
    <p>clang -I/tmp/proj_static_install_from_dist/include
      -I/Users/runner/micromamba/envs/proj/include
      -I/Users/runner/micromamba/envs/proj/include/webp
      -I/Users/runner/micromamba/envs/proj/include -Werror 
      -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs
      -Wl,-rpath,/Users/runner/micromamba/envs/proj/lib
      -L/Users/runner/micromamba/envs/proj/lib -o c_app c_app-c_app.o
      -L/tmp/proj_static_install_from_dist/lib
      -L/Users/runner/micromamba/envs/proj/lib -lproj -lc++ -lm -ldl
      -lsqlite3 -lz -ltiff -lwebp -lzstd -llzma -lLerc -ljpeg -ldeflate
      -lz -lwebp -lsharpyuv -llzma -pthread -lpthread -lLerc -ljpeg
      -ldeflate -lcurl -framework CoreFoundation -framework CoreServices
      -framework Security -framework CoreFoundation -framework
      CoreServices -framework SystemConfiguration -lnghttp2 -lssh2 -lssl
      -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv -lzstd -lz -lzstd
      -lssl -lssh2 -lcrypto -lz -lcrypto -lz -lnghttp2 <br>
    </p>
    <p>First KO:
      <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/PROJ/actions/runs/12844774258/job/35818143240">https://github.com/OSGeo/PROJ/actions/runs/12844774258/job/35818143240</a></p>
    <p>So apparently @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@ is
      supposed to expand to -lz. I assume those missing LDFLAGS beyond
      to sqlite3.</p>
    <p>One interesting finding is that sqlite3 is found from a
      mono.framework and not from Conda:<br>
    </p>
    <pre>
2025-01-17T09:47:21.7877050Z -- Found SQLite3: /Library/Frameworks/Mono.framework/Headers (found version "3.26.0")</pre>
    <p></p>
    <p>But that happens in both OK and KO builds... A workaround could
      perhaps be to try force using SQLite3 from Conda ?<br>
    </p>
    <p>Comparing the logs show no obvious differences in runner version,
      compilers or third party libraries. So this is totally mysterious.
      I guess someone with access to a Mac will probably have to look at
      that</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 21/01/2025 à 23:28, Javier Jimenez
      Shaw via PROJ a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADRrdKuwOJb+ie03X9A2BiNJBoqSKhJmsp_WDmoDYQiMLF+OcQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi <br>
        </div>
        <div><br>
        </div>
        <div>I just updated my fork to master, and there are some
          failing test in macOS in CI<br>
        </div>
        <div><a
href="https://github.com/jjimenezshaw/PROJ/actions/runs/12895569637"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/jjimenezshaw/PROJ/actions/runs/12895569637</a></div>
        <div><br>
        </div>
        <div>Should I worry?</div>
        <div><br>
        </div>
        <div>Looks like some CMake vars are not properly set:</div>
        <div><br>
        </div>
        <div>clang -I/tmp/proj_static_install_from_dist/include
          -I/Users/runner/micromamba/envs/proj/include
          -I/Users/runner/micromamba/envs/proj/include/webp
          -I/Users/runner/micromamba/envs/proj/include -Werror
           -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs
          -Wl,-rpath,/Users/runner/micromamba/envs/proj/lib
          -L/Users/runner/micromamba/envs/proj/lib -o c_app
          c_app-c_app.o -L/tmp/proj_static_install_from_dist/lib
          -L/Users/runner/micromamba/envs/proj/lib -lproj -lc++ -lm -ldl
          -lsqlite3 @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@ -ltiff
          -lwebp -lzstd -llzma -lLerc -ljpeg -ldeflate -lz -lwebp
          -lsharpyuv -llzma -pthread -lpthread -lLerc -ljpeg -ldeflate
          -lcurl -framework CoreFoundation -framework CoreServices
          -framework Security -framework CoreFoundation -framework
          CoreServices -framework SystemConfiguration -lnghttp2 -lssh2
          -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv -lzstd
          -lz -lzstd -lssl -lssh2 -lcrypto -lz -lcrypto -lz -lnghttp2 <br>
          clang: error: no such file or directory: '@LDFLAGS_MATH@'<br>
          clang: error: no such file or directory: '@LDFLAGS_ZLIB@'<br>
          clang: error: no such file or directory: '@LDFLAGS_ICU@'<br>
          make: *** [c_app] Error 1<br>
          Error: Process completed with exit code 2.</div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>