[squeak-dev] Squeak in FreeBSD
Tobias Pape
Das.Linux at gmx.de
Sun Apr 5 21:54:35 UTC 2020
Dear Edwin
Thanks for tracing this in all its details,
this rigor is much appreciated
> On 05.04.2020, at 22:48, Edwin Ancaer <eancaer at gmail.com> wrote:
>
> Tobias,
>
> I restarted completely, by deleting and recreating a directory Smalltalk in my home directory,
> I retrace all my steps, starting with a clone of the opensmalltalk-vm project in git. Maybe this is helpful:
>
> $ git clone https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> Cloning into 'opensmalltalk-vm'...
> remote: Enumerating objects: 436, done.
> remote: Counting objects: 100% (436/436), done.
> remote: Compressing objects: 100% (184/184), done.
> remote: Total 140919 (delta 324), reused 322 (delta 248), pack-reused 140483
> Receiving objects: 100% (140919/140919), 655.41 MiB | 1.14 MiB/s, done.
> Resolving deltas: 100% (98898/98898), done.
> Checking out files: 100% (7093/7093), done.
>
>
> 2. let's check the status of git
>
> $ cd opensmalltalk-vm
> $ git status
> On branch Cog
> Your branch is up to date with 'origin/Cog'.
>
> nothing to commit, working tree clean
>
>
> 3. that looks ok, now I execute the mvn-script:
>
> $ pwd
> /usr/home/edwin/Smalltalk/opensmalltalk-vm
> $ cd build.linux64x64
> $ cd squeak.cog.spur
> $ cd build
> $ ./mvm
> platforms/Cross/vm/sqSCCSVersion.h not up-to-date.
> You must run ../../../scripts/updateSCCSVersions
>
> 4. let's check the status of git
>
> $ pwd
> /usr/home/edwin/Smalltalk/opensmalltalk-vm
> $ git status
> On branch Cog
> Your branch is up to date with 'origin/Cog'.
>
> nothing to commit, working tree clean
>
> 5. nuw run the updateSCCSVersions script, that seems to go wrong:
>
> $ pwd
> /usr/home/edwin/Smalltalk/opensmalltalk-vm
> $
> $ scripts/updateSCCSVersions
> fatal: cannot run .git_filters/RevDateURL.smudge: No such file or directory
> error: cannot fork to run external filter '.git_filters/RevDateURL.smudge'
> error: external filter '.git_filters/RevDateURL.smudge' failed
> fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: smudge filter RevDateURL failed
>
>
> 6. and now git looks not ok:
>
> $ git status
> fatal: cannot run .git_filters/RevDateURL.clean: No such file or directory
> error: cannot fork to run external filter '.git_filters/RevDateURL.clean'
> error: external filter '.git_filters/RevDateURL.clean' failed
> fatal: platforms/Cross/vm/sqSCCSVersion.h: clean filter 'RevDateURL' failed
I suspect that `scripts/updateSCCSVersions` itself runs fine, but, in fact, it installs the .gitconfig file in the
toplevel directory, which says
[filter "RevDateURL"]
smudge = .git_filters/RevDateURL.smudge
clean = .git_filters/RevDateURL.clean
required
[merge]
renormalize = true
Since these files obviously exist (you re-cloned, after all), what happens could be
(a) the files are not marked executable, so they're not "found"
(they are marked executable in the repo, but maybe freebsd git chose to ignore this?)
or
(b) the "working path" for git is not the toplevel, so it wont find the files on its path
this also looks strange to me :(
Sorry I can just guess here, even though your input is impeccable ;)
Could you hint us what git version you're using?
% git version
git version 2.25.0
We'll find out what's happening!
Best regards
-Tobias
>
>
> I hope this helps in some way. If you need some displays from the executed scripts, I can always try to make some modifications.
> It's that for now, I don't understand what is happening, so for me, it's hard to find out what could be useful.
>
> Thanks,
>
> Edwin Ancaer
>
>
> Op zo 5 apr. 2020 om 16:46 schreef Tobias Pape <Das.Linux at gmx.de>:
> Dear Edwin
>
> > On 05.04.2020, at 15:48, Edwin Ancaer <eancaer at gmail.com> wrote:
> >
> > Jakob,
> >
> >
> > no luck, another error:
> >
> > $ pwd
> > /usr/home/edwin/Smalltalk/opensmalltalk-vm
> > $ scripts/updateSCCSVersions
> > fatal: cannot run .git_filters/RevDateURL.smudge: No such file or directory
> > error: cannot fork to run external filter '.git_filters/RevDateURL.smudge'
> > error: external filter '.git_filters/RevDateURL.smudge' failed
> > fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: smudge filter RevDateURL failed
> > $ cd .git_filters
> > $ ls -al
> > total 16
> > drwxr-xr-x 2 edwin edwin 512 Apr 5 14:50 .
> > drwxr-xr-x 40 edwin edwin 1536 Apr 5 14:50 ..
> > -rwxr-xr-x 1 edwin edwin 140 Apr 5 14:50 RevDateURL.clean
> > -rwxr-xr-x 1 edwin edwin 1042 Apr 5 14:50 RevDateURL.smudge
> >
> >
> > In the process, the file sqPluginsSCCSVersion.h seems to have disappeared:
> > /usr/home/edwin/Smalltalk/opensmalltalk-vm
> > $ scripts/updateSCCSVersions
> > fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: no such path in the working tree.
> > Use 'git <command> -- <path>...' to specify paths that do not exist locally.s
> >
> >
> > And maybe some more problems, because I cannot get the file back from git:
> > $ git checkout platforms/Cross/plugins/sqPluginsSCCSVersion.h
> > fatal: cannot run .git_filters/RevDateURL.smudge: No such file or directory
> > error: cannot fork to run external filter '.git_filters/RevDateURL.smudge'
> > error: external filter '.git_filters/RevDarteURL.smudge' failed
> > fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: smudge filter RevDateURL failed
> >
> > I wonder what can be 'wrong' on my computer to cause this behaviour: version of perl,version of git...
> > I hope you see any indication on how to solve this.
>
> This looks strange, indeed.
>
> what is the output of git status?
>
> Best regards
> -Tobias
>
> >
> > Thanks again,
> >
> > Edwin Ancaer
> >
> >
> > Op za 4 apr. 2020 om 16:14 schreef Jakob Reschke <forums.jakob at resfarm.de>:
> > The opensmalltalk-vm directory (the one with the .git directory in it)
> > is the root, yes.
> >
> > The header file should be there:
> > https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/Cross/plugins/sqPluginsSCCSVersion.h
> > If it is missing, maybe check it out again:
> >
> > git checkout -- platforms/Cross/plugins/sqPluginsSCCSVersion.sh
> >
> > Am Mo., 30. März 2020 um 08:55 Uhr schrieb Edwin Ancaer <eancaer at gmail.com>:
> > >
> > > Hello,
> > >
> > > another bservation, there is no file platforms/Cross/plugins/sqPluginsSCCSVersion.h: to be found in the directory opensmalltalk-vm.
> > > So even if the script was started from the right directory, it would still fail?
> > >
> > > Kind regards,
> > >
> > > Op zo 29 mrt. 2020 om 17:00 schreef Edwin Ancaer <eancaer at gmail.com>:
> > >>
> > >> Hello,
> > >>
> > >> sorry guys, but what is the root directory?
> > >> I'm afraid you're gone have to be more specific for me.
> > >>
> > >> I supposed the root was opensmallk-vm, but apparently, that was a mistake:
> > >>
> > >> $ pwd
> > >> /usr/home/edwin/Smalltalk/opensmalltalk-vm
> > >> $ scripts/updateSCCSVersions
> > >> fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: no such path in the working tree.
> > >> Use 'git <command> -- <path>...' to specify paths that do not exist locally.
> > >> $
> > >>
> > >> Thanks for helping out,
> > >>
> > >> Edwin Ancaer
> > >>
> > >>
> > >> Op zo 29 mrt. 2020 om 15:45 schreef Jakob Reschke <forums.jakob at resfarm.de>:
> > >>>
> > >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> > >>>
> > >>> Tobias Pape <Das.Linux at gmx.de> schrieb am Sa., 28. März 2020, 12:49:
> > >>>>
> > >>>> Hi Edwin
> > >>>>
> > >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <eancaer at gmail.com> wrote:
> > >>>> >
> > >>>> > Ok, it says it should build out of the box, so I cloned the git repository for the opensmalltalk-vm.
> > >>>> >
> > >>>> > TheHowToBuild says:
> > >>>> > Then cd to the build directory of your choice, e.g.
> > >>>> > build.linux64x64/squeak.cog.spur/build
> > >>>> > Then execute ./mvm
> > >>>> >
> > >>>> > This is what I did (I took the stack vm because I thought this was the easiest to build);
> > >>>> > cd build.linux64x64/squeak.stack.spur/build
> > >>>> > $ ./mvm
> > >>>> > platforms/Cross/vm/sqSCCSVersion.h not up-to-date.
> > >>>> > You must run ../../../scripts/updateSCCSVersions
> > >>>> > $ cd ../../../scripts
> > >>>> > $ cd ..
> > >>>> > $ cd build.linux64x64/squeak.stack.spur/build
> > >>>> > $ ../../../scripts/updateSCCSVersions
> > >>>> > fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: no such path in the working tree.
> > >>>> > Use 'git <command> -- <path>...' to specify paths that do not exist locally.
> > >>>> >
> > >>>> > If asking these questions shows my knowledge is not at the right level,no problem, just tell me. It will save my and your time.
> > >>>> > I always have Windows as an alternative. :-(
> > >>>>
> > >>>> You need to run this script in the root of the checkout. Sorry that this is not made more clear.
> > >>>>
> > >>>> Best regards
> > >>>> -tobias
> > >>>>
> > >>>>
> > >>>> >
> > >>>> >
> > >>>> > Op vr 27 mrt. 2020 om 17:27 schreef gettimothy via Squeak-dev <squeak-dev at lists.squeakfoundation.org>:
> > >>>> > I am not sure how it turned out, but there was a long thread on this back last July
> > >>>> >
> > >>>> > http://forum.world.st/OpenSmalltalk-opensmalltalk-vm-Support-for-OpenBSD-413-tt5101741.html#a5101745
> > >>>> >
> > >>>> >
> > >>>> > ---- On Fri, 27 Mar 2020 12:22:07 -0400 Edwin Ancaer <eancaer at gmail.com> wrote ----
> > >>>> >
> > >>>> > Hello,
> > >>>> >
> > >>>> > has anybody succesfully build a usable recent Squeak in FreeBSD?
> > >>>> >
> > >>>> > The only links I found reported a successful build, but errors when running the image.
> > >>>> >
> > >>>> > There is a port for FreeBSD, but that is building version 4.10.
> > >>>> >
> > >>>> > Thanks,
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >
> >
> >
>
>
>
>
More information about the Squeak-dev
mailing list
|