<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>The Mac CI workflow does work in my fork. There's nothing special
to do.</p>
<p>Given the difference in logs, I suspect there's an issue with the
following snippet of travis/install.sh where the TRAVIS_OS_NAME ==
osx check fail for you, for a mysterious reason<br>
</p>
<p>if [ "$TRAVIS_OS_NAME" == "osx" ]; then<br>
# on macOS /tmp is a symblink to /private/tmp only for the
shared build<br>
INST=/private/tmp<br>
else<br>
INST=/tmp<br>
fi</p>
<p>which makes <br>
</p>
<p>In the raw log of your job
<a class="moz-txt-link-freetext" href="https://pipelines.actions.githubusercontent.com/serviceHosts/6b542973-dcef-4e06-8169-ff9422a73985/_apis/pipelines/1/runs/282/signedlogcontent/2?urlExpires=2022-11-19T12%3A54%3A07.7428761Z&urlSigningMethod=HMACV1&urlSignature=5oeDXu%2B5VGns2RgjAs%2Fwh%2BRlljoKD5Kfckam7x7Y9fQ%3D">https://pipelines.actions.githubusercontent.com/serviceHosts/6b542973-dcef-4e06-8169-ff9422a73985/_apis/pipelines/1/runs/282/signedlogcontent/2?urlExpires=2022-11-19T12%3A54%3A07.7428761Z&urlSigningMethod=HMACV1&urlSignature=5oeDXu%2B5VGns2RgjAs%2Fwh%2BRlljoKD5Kfckam7x7Y9fQ%3D</a></p>
<p>I do see<br>
</p>
<pre>2022-11-19T11:50:33.1529890Z TRAVIS_OS_NAME: osx
</pre>
<p><br>
</p>
<p>UPDATE: while comparing more closely the logs of a successful
build with yours, I see that successful builds have right at their
beginning <br>
</p>
<pre>2022-11-19T11:42:28.3777650Z Image: macos-11
2022-11-19T11:42:28.3777950Z Version: 20221028.1</pre>
<p>whereas yours as</p>
<pre>2022-11-19T11:47:36.9113510Z Image: macos-12
2022-11-19T11:47:36.9113920Z Version: 20221027.1
</pre>
<p><br>
</p>
<p>.github/workflows/mac.yml has "runs-on: macos-latest", so I
suspect github is progressively deploying a new version of their
macos-latest image to be now macos-12, and that it hasn't still
reached OSGeo/PROJ, but this might be just a matter of time.</p>
<p>So travis/install.sh should be adapted to work with macos-12</p>
<p>You could perhaps try changing line 184 to be</p>
<p>grep "Downloading from <a class="moz-txt-link-freetext" href="https://cdn.proj.org">https://cdn.proj.org</a> into
/tmp/proj_static_install_from_dist_renamed/subdir/share/proj"
static.out || grep "Downloading from <a class="moz-txt-link-freetext" href="https://cdn.proj.org">https://cdn.proj.org</a> into
$INST/proj_static_install_from_dist_renamed/subdir/share/proj"
static.out<br>
</p>
<p>to test for both /tmp and /private/tmp</p>
<p>The comment at line 176 should be adjusted to something like "#
on macOS 11 /tmp is resolved by PROJ as a symlink to /private/tmp
only for the shared build. on macOS 12 for both static and shared
builds"<br>
</p>
<p>Even<br>
</p>
<p></p>
<div class="moz-cite-prefix">Le 19/11/2022 à 13:19, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKv1wHcK-k2wdTJh13iZnW1ufzpcB2snWEoN77WpEpcscA@mail.gmail.com">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>I have rebased my master into origin master, and there is a
consistent failing action: macos_build <br>
</div>
<div>(all the other jobs are fine)<br>
</div>
<div><br>
</div>
<div>for instance here: <a
href="https://github.com/jjimenezshaw/PROJ/actions/runs/3503183916/jobs/5868045291#step:6:3001"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/jjimenezshaw/PROJ/actions/runs/3503183916/jobs/5868045291#step:6:3001</a></div>
<div><br>
</div>
<div>The last lines of the log are:<br>
</div>
<div><br>
</div>
<div><span>Check that we can retrieve the resource directory in
a relative way after renaming the installation prefix<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/private/tmp/proj_shared_install_from_dist_renamed/subdir/share/proj<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/private/tmp/proj_shared_install_from_dist_renamed/subdir/share/proj<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/private/tmp/proj_static_install_from_dist_renamed/subdir/share/proj<br>
Error: Process completed with exit code 1.</span></div>
<div><br>
</div>
<div>Compared with a similar job in origin master, the same part
of the log says</div>
<div><br>
</div>
<div><span>Check that we can retrieve the resource directory in
a relative way after renaming the installation prefix<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/private/tmp/proj_shared_install_from_dist_renamed/subdir/share/proj<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/private/tmp/proj_shared_install_from_dist_renamed/subdir/share/proj<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/tmp/proj_static_install_from_dist_renamed/subdir/share/proj<br>
Downloading from <a href="https://cdn.proj.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cdn.proj.org</a>
into
/tmp/proj_static_install_from_dist_renamed/subdir/share/proj<br>
Skipping test_autotools.sh test for osx<br>
Running post-install tests with CMake (shared)<br>
Testing C app</span></div>
<div>...</div>
<div><br>
</div>
<div>Should I change anything in my repo actions to have it
green?</div>
<div><br>
</div>
<div>Thanks<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr" data-smartmail="gmail_signature">.___ ._ ..._
.. . ._. .___ .. __ . _. . __.. ... .... ._ .__<br>
Entre dos pensamientos racionales <br>
hay infinitos pensamientos irracionales.<br>
<br>
</div>
</div>
</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>