<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Ha! It was exactly that:
<div><a href="https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks"><span style="font-size: 10pt">https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks</span></a><br>
</div>
<div><br>
</div>
<div>I just had to add this to our linux-arm.yml:</div>
<div><span style="font-size: 13.3333px">   git config --global --add safe.directory ${{ github.workspace }}</span><br>
</div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">Took me about 3 hours to figure this out ... -.-"</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">Best,</span></div>
<div><span style="font-size: 13.3333px">Marcel</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 09.01.2023 16:25:19 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Hi Tim --
<div><br>
</div>
<div>I think that "strftime" and/or "gmtime" are not working anymore correctly in our QEMU environment, that we set up on GitHub Actions in a Debian "Buster" container.</div>
<div><br>
</div>
<div>See this extract from ".git_filters/RevDateURL.smudge":</div>
<div><br>
</div>
<div>
<div><span style="font-size: 13.3333px">#!/usr/bin/env perl</span></div>
<div><span style="font-size: 13.3333px">use POSIX qw(strftime);</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">$myrev = `git log -n1 --format="%at"`;</span></div>
<div><span style="font-size: 13.3333px">$myrev =~ s/\s+$//m;</span></div>
<div><span style="font-size: 13.3333px">$ENV{'TZ'} = 'UTC';</span></div>
<div><span style="font-size: 13.3333px">$myrev = strftime "%Y%m%d%H%M", gmtime($myrev);</span></div>
<div><span style="font-size: 13.3333px">$myrev =~ s/\s+$//m;</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">"..."</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">Not sure how to debug this locally. All assets have the wrong revision:</span></div>
<div><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/runs/3834141967"><span style="font-size: 10pt">https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/runs/3834141967</span></a></div>
<div>Only a few of them were wrong a month ago:</div>
<div><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/runs/3691011134"><span style="font-size: 10pt">https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/runs/3691011134</span></a><br>
</div>
<div><br>
</div>
<div>Hmm... anyway, the revision gets extracted via "scripts/ci/actions_build.sh":</div>
<div><br>
</div>
<div>"..."</div>
<div>
<div><span style="font-size: 13.3333px">echo "$(cat platforms/Cross/vm/sqSCCSVersion.h | .git_filters/RevDateURL.smudge)" > platforms/Cross/vm/sqSCCSVersion.h</span></div>
<div><span style="font-size: 13.3333px">echo "$(cat platforms/Cross/plugins/sqPluginsSCCSVersion.h | .git_filters/RevDateURL.smudge)" > platforms/Cross/plugins/sqPluginsSCCSVersion.h</span></div>
</div>
<div><span style="font-size: 13.3333px">"..."</span></div>
<div><span style="font-size: 13.3333px">readonly ASSET_REVISION=$(grep -m1 "SvnRawRevisionString" "platforms/Cross/vm/sqSCCSVersion.h" | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')</span><br>
</div>
<div><span style="font-size: 13.3333px">"..."</span></div>
<div><span style="font-size: 13.3333px"><br>
</span></div>
<div><span style="font-size: 13.3333px">Which means that if our .smudge script does not work, the revision data cannot be extracted from </span><span style="font-size: 10pt">sqSCCSVersion.h. Hmm... any perl-related year-2023-bug out there? :-D</span></div>
<div><span style="font-size: 10pt"><br>
</span></div>
<div><span style="font-size: 10pt">No clue. We could try:</span></div>
<div><span style="font-size: 10pt"><br>
</span></div>
<div><span style="font-size: 10pt">A) Bumping "Buster" to "Bullseye". Yet, "Buster" is not that old. 2021.</span></div>
<div><span style="font-size: 10pt">B) Fix those "fatal warnings":</span></div>
<div><span style="font-size: 10pt">   </span><span style="white-space: pre-wrap;font-size: 10pt">fatal: detected dubious ownership in repository at '/home/runner/work/opensmalltalk-vm/opensmalltalk-vm'</span></div>
<div><span style="white-space: pre-wrap;font-size: 10pt"><br>
</span></div>
<div><span style="white-space: pre-wrap;font-size: 10pt">Maybe, "git log" is actually not working here... But those warnings have been around since we migrated to GHA in 2021. So...</span></div>
<div><span style="font-size: 10pt"><br>
</span></div>
<div><span style="font-size: 10pt">Maybe this is something that changed April 2022?</span></div>
<div><a href="https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks"><span style="font-size: 10pt">https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks</span></a><br>
</div>
<div><br>
</div>
<div>Hmm...</div>
<div><span style="font-size: 10pt"><br>
</span></div>
<div><span style="font-size: 10pt">Best,</span><br>
</div>
<div><span style="font-size: 10pt">Marcel</span></div>
<div><br>
</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 07.01.2023 01:17:34 schrieb tim Rowledge <tim@rowledge.org>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">The latest downloadable ARMv8 build - https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/latest-build/squeak.cog.spur_linux64ARMv8.tar.gz - has a weird looking directory structure.<br>
<br>
Normally I'd expect an sqcogspur64ARMv8linuxht directory I can drag out of the archive app and into my main Squeak directory, whereupon the contents get overlaid onto what was already there. Amongst other things I'd expect to find a new lib/squeak/5.0-20230103xxxxxxxx-64bit
 directory or similar. Instead it has lib/squeak/5.0-197001010000-64bit and I'm fairly sure we didn't have spur & cog in 1970. Who done broke the clock?<br>
<br>
<br>
<br>
tim<br>
--<br>
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim<br>
Long computations that yield zero are probably all for naught.<br>
<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</body>
</html>