Squeak in FreeBSD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak in FreeBSD

Edwin Ancaer
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,



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Squeak - Dev mailing list
I am not sure how it turned out, but there was a long thread on this back last July



---- On Fri, 27 Mar 2020 12:22:07 -0400 Edwin Ancaer <[hidden email]> 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,






Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
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. :-(


Op vr 27 mrt. 2020 om 17:27 schreef gettimothy via Squeak-dev <[hidden email]>:
I am not sure how it turned out, but there was a long thread on this back last July



---- On Fri, 27 Mar 2020 12:22:07 -0400 Edwin Ancaer <[hidden email]> 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,







Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Hi Edwin

> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]> 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,
>
>
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Jakob Reschke
What about adding a check add the top of the script and an informative error message? Or a cd to the root.

Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
Hi Edwin

> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]> 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,
>
>
>
>
>
>





Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Eliot Miranda-2
In reply to this post by Tobias Pape
Hi Tobias,


> On Mar 28, 2020, at 4:48 AM, Tobias Pape <[hidden email]> wrote:
>
> Hi Edwin
>
>> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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.

Yesterday I got bit by this when doing an MSVC compile of the Terf VM.  So I fixed it for the windows and Mac makefiles (well, almost; Nicolas corrected a slip I made with the mingw/Cygwin windows makefiles).

The fix is simply to search for the unexpanded version string whenever extracting stings from sqSCCSVersion.h.  Will anyone volunteer to make similar changes to the Unix makefiles?  To the plugin builds?

>
> Best regards
>    -tobias
>
>
>>
>>
>> Op vr 27 mrt. 2020 om 17:27 schreef gettimothy via Squeak-dev <[hidden email]>:
>> 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 <[hidden email]> 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,
>>
>>
>>
>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
In reply to this post by Jakob Reschke
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 <[hidden email]>:
What about adding a check add the top of the script and an informative error message? Or a cd to the root.

Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
Hi Edwin

> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]> 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,
>
>
>
>
>
>






Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
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 <[hidden email]>:
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 <[hidden email]>:
What about adding a check add the top of the script and an informative error message? Or a cd to the root.

Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
Hi Edwin

> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]> 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,
>
>
>
>
>
>






Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Jakob Reschke
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 <[hidden email]>:

>
> 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 <[hidden email]>:
>>
>> 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 <[hidden email]>:
>>>
>>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
>>>
>>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
>>>>
>>>> Hi Edwin
>>>>
>>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
>>>> > 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 <[hidden email]> 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,
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
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.

Thanks again,

Edwin Ancaer


Op za 4 apr. 2020 om 16:14 schreef Jakob Reschke <[hidden email]>:
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 <[hidden email]>:
>
> 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 <[hidden email]>:
>>
>> 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 <[hidden email]>:
>>>
>>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
>>>
>>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
>>>>
>>>> Hi Edwin
>>>>
>>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
>>>> > 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 <[hidden email]> 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,
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Dear Edwin

> On 05.04.2020, at 15:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]>:
> >
> > 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 <[hidden email]>:
> >>
> >> 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 <[hidden email]>:
> >>>
> >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> >>>
> >>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
> >>>>
> >>>> Hi Edwin
> >>>>
> >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> >>>> > 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 <[hidden email]> 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,
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>
> >
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
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 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 <[hidden email]>:
Dear Edwin

> On 05.04.2020, at 15:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> 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 <[hidden email]>:
> >
> > 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 <[hidden email]>:
> >>
> >> 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 <[hidden email]>:
> >>>
> >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> >>>
> >>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
> >>>>
> >>>> Hi Edwin
> >>>>
> >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> >>>> > 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 <[hidden email]> 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,
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>
> >
>
>





Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Dear Edwin

Thanks for tracing this in all its details,
this rigor is much appreciated

> On 05.04.2020, at 22:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> Dear Edwin
>
> > On 05.04.2020, at 15:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > 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 <[hidden email]>:
> > >
> > > 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 <[hidden email]>:
> > >>
> > >> 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 <[hidden email]>:
> > >>>
> > >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> > >>>
> > >>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
> > >>>>
> > >>>> Hi Edwin
> > >>>>
> > >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > >>>> > 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 <[hidden email]> 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,
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >
> >
> >
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer

It might be useful tho have the FreeBSD version:
$ uname -a
FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64

The git version is:
$ git --version
git version 2.25.2

As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
I installed that too, It did not help anyway.
$ git-lfs --version
git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)

Kind regards,

Edwin Ancaer

Op zo 5 apr. 2020 om 23:54 schreef Tobias Pape <[hidden email]>:
Dear Edwin

Thanks for tracing this in all its details,
this rigor is much appreciated

> On 05.04.2020, at 22:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> Dear Edwin
>
> > On 05.04.2020, at 15:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > 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 <[hidden email]>:
> > >
> > > 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 <[hidden email]>:
> > >>
> > >> 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 <[hidden email]>:
> > >>>
> > >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> > >>>
> > >>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
> > >>>>
> > >>>> Hi Edwin
> > >>>>
> > >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > >>>> > 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 <[hidden email]> 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,
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >
> >
> >
>
>
>
>





Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Dear Edwin

> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
>
>
> It might be useful tho have the FreeBSD version:
> $ uname -a
> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
>
> The git version is:
> $ git --version
> git version 2.25.2
>
> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
> I installed that too, It did not help anyway.
> $ git-lfs --version
> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)

Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
Let me investigate.

Best regards
        -Tobias

>
> Kind regards,
>
> Edwin Ancaer
>
> Op zo 5 apr. 2020 om 23:54 schreef Tobias Pape <[hidden email]>:
> Dear Edwin
>
> Thanks for tracing this in all its details,
> this rigor is much appreciated
>
> > On 05.04.2020, at 22:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > Dear Edwin
> >
> > > On 05.04.2020, at 15:48, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > > 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 <[hidden email]>:
> > > >
> > > > 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 <[hidden email]>:
> > > >>
> > > >> 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 <[hidden email]>:
> > > >>>
> > > >>> What about adding a check add the top of the script and an informative error message? Or a cd to the root.
> > > >>>
> > > >>> Tobias Pape <[hidden email]> schrieb am Sa., 28. März 2020, 12:49:
> > > >>>>
> > > >>>> Hi Edwin
> > > >>>>
> > > >>>> > On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> 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 <[hidden email]>:
> > > >>>> > 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 <[hidden email]> 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,
> > > >>>> >
> > > >>>> >
> > > >>>> >
> > > >>>> >
> > > >>>> >
> > > >>>> >
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>
> > > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Dear Edwin

> On 06.04.2020, at 09:10, Tobias Pape <[hidden email]> wrote:
>
> Dear Edwin
>
>> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
>>
>>
>> It might be useful tho have the FreeBSD version:
>> $ uname -a
>> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
>>
>> The git version is:
>> $ git --version
>> git version 2.25.2
>>
>> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
>> I installed that too, It did not help anyway.
>> $ git-lfs --version
>> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
>
> Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> Let me investigate.
>

Do you have Perl installed?
When I try to run the filters manually, I get a different error message:

$ .git_filters/RevDateURL.clean
zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
zsh: exit 127   .git_filters/RevDateURL.clean
$ which perl
/usr/local/bin/perl


So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).

HTH

Best regards
        -Tobias



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
Tobias, 

The updates you made solved the script isue. Nice.

perl was installed, but in /usr/local/bin. That seems the standard in Freebsd.
Looking at it now, I should have found this myself. I was close, but jou beat me to it by a few hours....

Now the next hurdle, a linker error. The library libiconv is not linked. I suppose this is because the script is not finding all plug-ins, en libiconv is linker by ons of this. I will now try to bind all plug-ins, and see if the libiconv issue  gets solved.

Otherwise, I might need your help again. (I' m afraid this is the more realistic scenario).

Thanks Alain towqb9ĺ





9IS/  lot,

Edwin, 




On Mon, 6 Apr 2020, 13:17 Tobias Pape, <[hidden email]> wrote:
Dear Edwin

> On 06.04.2020, at 09:10, Tobias Pape <[hidden email]> wrote:
>
> Dear Edwin
>
>> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
>>
>>
>> It might be useful tho have the FreeBSD version:
>> $ uname -a
>> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
>>
>> The git version is:
>> $ git --version
>> git version 2.25.2
>>
>> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
>> I installed that too, It did not help anyway.
>> $ git-lfs --version
>> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
>
> Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> Let me investigate.
>

Do you have Perl installed?
When I try to run the filters manually, I get a different error message:

$ .git_filters/RevDateURL.clean
zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
zsh: exit 127   .git_filters/RevDateURL.clean
$ which perl
/usr/local/bin/perl


So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).

HTH

Best regards


        -Tobias


 


Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape

> On 06.04.2020, at 19:38, Edwin Ancaer <[hidden email]> wrote:
>
> Tobias,
>
> The updates you made solved the script isue. Nice.
>
> perl was installed, but in /usr/local/bin. That seems the standard in Freebsd.
> Looking at it now, I should have found this myself. I was close, but jou beat me to it by a few hours....
>
> Now the next hurdle, a linker error. The library libiconv is not linked. I suppose this is because the script is not finding all plug-ins, en libiconv is linker by ons of this. I will now try to bind all plug-ins, and see if the libiconv issue  gets solved.

No, the issue is different. I'm onto it :)

Best regards
        -Tobias

>
> Otherwise, I might need your help again. (I' m afraid this is the more realistic scenario).
>
> Thanks Alain towqb9ĺ
>
>
>
>
>
> 9IS/  lot,
>
> Edwin,
>
>
>
>
> On Mon, 6 Apr 2020, 13:17 Tobias Pape, <[hidden email]> wrote:
> Dear Edwin
>
> > On 06.04.2020, at 09:10, Tobias Pape <[hidden email]> wrote:
> >
> > Dear Edwin
> >
> >> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
> >>
> >>
> >> It might be useful tho have the FreeBSD version:
> >> $ uname -a
> >> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
> >>
> >> The git version is:
> >> $ git --version
> >> git version 2.25.2
> >>
> >> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
> >> I installed that too, It did not help anyway.
> >> $ git-lfs --version
> >> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
> >
> > Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> > Let me investigate.
> >
>
> Do you have Perl installed?
> When I try to run the filters manually, I get a different error message:
>
> $ .git_filters/RevDateURL.clean
> zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
> zsh: exit 127   .git_filters/RevDateURL.clean
> $ which perl
> /usr/local/bin/perl
>
>
> So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).
>
> HTH
>
> Best regards
>
>
>         -Tobias
>
>
>  
>



Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Edwin Ancaer
Tobias,
Sorry it took this long to reply, but this mail got sent to a wrong address. I'm used to using Outlook to send mails, and make stupid mistakes with GMAIL from time to time.

Compiling the Cog VM with the correct branch. I have an issue in the B3DAcceleratorPlugin. In the display below, you see I have the file GL/gl.h in /usr/local/include, and it looks as of the Makefile for the plugin did not take
/usr/local/include  as an include library.

clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0 -Wall -pthread -DLSB_FIRST=1 -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN  -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm   -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/plugins/FilePlugin  -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable   -c -o sqUnixMain.o /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c
In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:134:
In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/SqDisplay.h:16:
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:13: fatal error: 'GL/gl.h' file not found
#   include <GL/gl.h>
            ^~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/vm
*** Error code 1

Stop.
make: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
$ locate GL/gl.h
/usr/local/include/GL/gl.h
/usr/local/poudriere/da
ta/.m/1

Thanks again,

Edwin

Op di 7 apr. 2020 om 22:15 schreef Tobias Pape <[hidden email]>:

> On 06.04.2020, at 19:38, Edwin Ancaer <[hidden email]> wrote:
>
> Tobias,
>
> The updates you made solved the script isue. Nice.
>
> perl was installed, but in /usr/local/bin. That seems the standard in Freebsd.
> Looking at it now, I should have found this myself. I was close, but jou beat me to it by a few hours....
>
> Now the next hurdle, a linker error. The library libiconv is not linked. I suppose this is because the script is not finding all plug-ins, en libiconv is linker by ons of this. I will now try to bind all plug-ins, and see if the libiconv issue  gets solved.

No, the issue is different. I'm onto it :)

Best regards
        -Tobias

>
> Otherwise, I might need your help again. (I' m afraid this is the more realistic scenario).
>
> Thanks Alain towqb9ĺ
>
>
>
>
>
> 9IS/  lot,
>
> Edwin,
>
>
>
>
> On Mon, 6 Apr 2020, 13:17 Tobias Pape, <[hidden email]> wrote:
> Dear Edwin
>
> > On 06.04.2020, at 09:10, Tobias Pape <[hidden email]> wrote:
> >
> > Dear Edwin
> >
> >> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
> >>
> >>
> >> It might be useful tho have the FreeBSD version:
> >> $ uname -a
> >> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
> >>
> >> The git version is:
> >> $ git --version
> >> git version 2.25.2
> >>
> >> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
> >> I installed that too, It did not help anyway.
> >> $ git-lfs --version
> >> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
> >
> > Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> > Let me investigate.
> >
>
> Do you have Perl installed?
> When I try to run the filters manually, I get a different error message:
>
> $ .git_filters/RevDateURL.clean
> zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
> zsh: exit 127   .git_filters/RevDateURL.clean
> $ which perl
> /usr/local/bin/perl
>
>
> So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).
>
> HTH
>
> Best regards
>
>
>         -Tobias
>
>

>





Reply | Threaded
Open this post in threaded view
|

Re: Squeak in FreeBSD

Tobias Pape
Hi Edwin, all


> On 09.04.2020, at 16:23, Edwin Ancaer <[hidden email]> wrote:
>
> Tobias,
> Sorry it took this long to reply, but this mail got sent to a wrong address. I'm used to using Outlook to send mails, and make stupid mistakes with GMAIL from time to time.
>
> Compiling the Cog VM with the correct branch. I have an issue in the B3DAcceleratorPlugin. In the display below, you see I have the file GL/gl.h in /usr/local/include, and it looks as of the Makefile for the plugin did not take
> /usr/local/include  as an include library.
>
> clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0 -Wall -pthread -DLSB_FIRST=1 -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN  -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm   -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/plugins/FilePlugin  -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable   -c -o sqUnixMain.o /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c
> In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:134:
> In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/SqDisplay.h:16:
> /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:13: fatal error: 'GL/gl.h' file not found
> #   include <GL/gl.h>
>             ^~~~~~~~~
> 1 error generated.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/vm
> *** Error code 1
>
> Stop.
> make: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
> $ locate GL/gl.h
> /usr/local/include/GL/gl.h
> /usr/local/poudriere/data/.m/1
>
> Thanks again,

So I have had time to look into it.

This commit: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/481/commits/57aad88504923635796e2a17c4b028b1eecf9434
should fix it. (I had hardcoded such a think previously, but this should work…)

If noone opposes, I'll merge this soon.

Best
        -tobias

>
> Edwin
>
> Op di 7 apr. 2020 om 22:15 schreef Tobias Pape <[hidden email]>:
>
> > On 06.04.2020, at 19:38, Edwin Ancaer <[hidden email]> wrote:
> >
> > Tobias,
> >
> > The updates you made solved the script isue. Nice.
> >
> > perl was installed, but in /usr/local/bin. That seems the standard in Freebsd.
> > Looking at it now, I should have found this myself. I was close, but jou beat me to it by a few hours....
> >
> > Now the next hurdle, a linker error. The library libiconv is not linked. I suppose this is because the script is not finding all plug-ins, en libiconv is linker by ons of this. I will now try to bind all plug-ins, and see if the libiconv issue  gets solved.
>
> No, the issue is different. I'm onto it :)
>
> Best regards
>         -Tobias
>
> >
> > Otherwise, I might need your help again. (I' m afraid this is the more realistic scenario).
> >
> > Thanks Alain towqb9ĺ
> >
> >
> >
> >
> >
> > 9IS/  lot,
> >
> > Edwin,
> >
> >
> >
> >
> > On Mon, 6 Apr 2020, 13:17 Tobias Pape, <[hidden email]> wrote:
> > Dear Edwin
> >
> > > On 06.04.2020, at 09:10, Tobias Pape <[hidden email]> wrote:
> > >
> > > Dear Edwin
> > >
> > >> On 06.04.2020, at 08:40, Edwin Ancaer <[hidden email]> wrote:
> > >>
> > >>
> > >> It might be useful tho have the FreeBSD version:
> > >> $ uname -a
> > >> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
> > >>
> > >> The git version is:
> > >> $ git --version
> > >> git version 2.25.2
> > >>
> > >> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and  git-lfs (for downloading large files from git-repository?),
> > >> I installed that too, It did not help anyway.
> > >> $ git-lfs --version
> > >> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
> > >
> > > Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> > > Let me investigate.
> > >
> >
> > Do you have Perl installed?
> > When I try to run the filters manually, I get a different error message:
> >
> > $ .git_filters/RevDateURL.clean
> > zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
> > zsh: exit 127   .git_filters/RevDateURL.clean
> > $ which perl
> > /usr/local/bin/perl
> >
> >
> > So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).
> >
> > HTH
> >
> > Best regards
> >
> >
> >         -Tobias
> >
> >
> >  
> >
>
>
>
>