<div>Um, why doesn't the first step of make run the script that populates the SCCS version?  It takes just a second or two.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div ><br></div><div class="ik_mail_quote"><div>On 2021-07-18T21:24:07.000+02:00, Phil B <pbpublist@gmail.com> wrote:</div><blockquote class="ws-ng-quote"><div class="ws-ng-mail-style--460986eJzz9HPyjwAABGYBgQ"><hr><div dir="ltr"><div dir="ltr">Jakob,<div><br></div><div>That appears to be how it's currently set up.  The issue is that the updateSCCSVersions script is not being run before the tarball is generated to actually populate the placeholders.  As far as I can tell, as a result there's no version information in the resulting archive. (i.e. <a class="defaultMailLink" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/archive/refs/tags/202003021730.tar.gz" target="_blank" rel="noopener noreferrer" data-ik="ik-secure">https://github.com/OpenSmalltalk/opensmalltalk-vm/archive/refs/tags/202003021730.tar.gz</a>)</div><div><br></div><div>For my purposes, the simplest solution would be if updateSCCSVersions were run immediately before generating the tarball.  But I have no idea if that would cause problems elsewhere as that would depend on how the backend generating it is set up and/or what assumptions are being made by anything that might run after the tarball is generated.</div><div><br></div><div>Thanks,</div><div>Phil</div></div><br>
</div></div><div class="gmail_quote-460986eJzz9HPyjwAABGYBgQ"><div dir="ltr" class="gmail_attr-460986eJzz9HPyjwAABGYBgQ">On Sun, Jul 18, 2021 at 2:24 AM Jakob Reschke <<a class="defaultMailLink" href="mailto:jakres%2Bsqueak@gmail.com" target="_blank" rel="noopener noreferrer">jakres+squeak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote-460986eJzz9HPyjwAABGYBgQ" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"> <div dir="auto">Hi Phil,<div dir="auto"><br></div><div dir="auto">I think usually git-archive + smudge filters in .gitattributes for the version numbers are the solution.</div><div dir="auto"><br></div><div dir="auto">Is that an option here?</div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto">Jakob</div></div><br><div class="gmail_quote-460986eJzz9HPyjwAABGYBgQ"><div dir="ltr" class="gmail_attr-460986eJzz9HPyjwAABGYBgQ">Phil B <<a class="defaultMailLink" href="mailto:pbpublist@gmail.com" target="_blank" rel="noopener noreferrer">pbpublist@gmail.com</a>> schrieb am So., 18. Juli 2021, 03:04:<br></div><blockquote class="gmail_quote-460986eJzz9HPyjwAABGYBgQ" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"> <div dir="ltr">I am working on packaging up the VM for Debian and related distros.  My current approach is to download the stable tarball release from <a class="defaultMailLink" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/latest" target="_blank" rel="noopener noreferrer" data-ik="ik-secure">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/latest</a>.  The problem I'm having is that unless manual hacks are applied each time it is downloaded, the build will fail since platforms/Cross/vm/sqSCCSVersion.h has not been updated and the script to update it fails as the tarball is just a snapshot of the source files rather than a clone of the repo. (the snapshot is actually what is preferred vs a repo clone from a Debian packaging standpoint)<div><br></div><div>Ideally, the generated tarball would include a pre-updated sqSCCSVersion.h since this is a point in time snapshot.  Is this something that makes sense and could be changed for the generated tarball?  If not, any suggestions on how to handle this in an automated way for tarball builds?  If I should be sourcing the tarball a different way, I'm open to that as well.<br><div><br></div><div>Thanks,</div><div>Phil</div></div></div>
</blockquote></div>
</blockquote></div></blockquote></div>