• sbbs:next-js aarch64

    From deon@VERT/ALTERANT to Digital Man on Wednesday, April 15, 2026 20:41:39
    Hey DM,

    Noticing something odd and looking for advise.

    On intel:

    ====
    /opt/sbbs # jsexec binkit

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    Loading configuration files from /opt/sbbs/ctrl
    JavaScript-C128.14.0
    JavaScript: Initializing engine: 16777216 bytes max

    Reading script from /opt/sbbs/exec/binkit.js
    /opt/sbbs/exec/binkit.js compiled in 0.00 seconds
    ====

    All good.

    However on aarch64

    ====
    /opt/sbbs # jsexec binkit

    !No JavaScript module-name or expression specified

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    usage: jsexec [-opts] [[path/]module[.js] [args]
    or: jsexec [-opts] -r js-expression [args]
    or: jsexec -v

    available opts:
    ...
    Returning error code: 1
    /opt/sbbs # ls -al exec/binkit.js
    -rw-r--r-- 1 sbbs root 36851 Apr 15 07:19 exec/binkit.js
    ====

    Cannot run jsexec on the command line to run any commands (connecting via telnet is working fine).

    Any ideas?


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
  • From Gamgee@VERT/PALANTIR to deon on Wednesday, April 15, 2026 08:22:24
    deon wrote to Digital Man <=-

    Noticing something odd and looking for advise.

    On intel:

    ====
    /opt/sbbs # jsexec binkit

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    Loading configuration files from /opt/sbbs/ctrl
    JavaScript-C128.14.0
    JavaScript: Initializing engine: 16777216 bytes max

    Reading script from /opt/sbbs/exec/binkit.js
    /opt/sbbs/exec/binkit.js compiled in 0.00 seconds
    ====

    All good.

    However on aarch64

    ====
    /opt/sbbs # jsexec binkit

    !No JavaScript module-name or expression specified

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    usage: jsexec [-opts] [[path/]module[.js] [args]
    or: jsexec [-opts] -r js-expression [args]
    or: jsexec -v

    available opts:
    ...
    Returning error code: 1
    /opt/sbbs # ls -al exec/binkit.js
    -rw-r--r-- 1 sbbs root 36851 Apr 15 07:19 exec/binkit.js ====

    Cannot run jsexec on the command line to run any commands (connecting
    via telnet is working fine).

    Any ideas?

    I'm not DM..., but one difference is see is the lack of this line:

    Loading configuration files from /opt/sbbs/ctrl

    on your aarch64 version.

    Do you have your SBBSCTRL environment variable set on that device?



    ... Gone crazy, be back later, please leave message.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Accession@VERT/PHARCYDE to deon on Wednesday, April 15, 2026 10:51:23
    Hey Deon!

    On Wed, Apr 15 2026 05:41:39 -0500, you wrote:

    Noticing something odd and looking for advise.

    /opt/sbbs # jsexec binkit

    !No JavaScript module-name or expression specified

    If what Gamgee suggested isn't the culprit, try adding the ".js" extension to see if it works then?

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    ---
    þ Synchronet þ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to deon on Wednesday, April 15, 2026 10:40:28
    Re: sbbs:next-js aarch64
    By: deon to Digital Man on Wed Apr 15 2026 08:41 pm

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    I don't recommend you run this branch for now - there are still a lot of known and unknown issues.
    --
    digital man (rob)

    Steven Wright quote #21:
    Eagles may soar, but weasels don't get sucked into jet engines.
    Norco, CA WX: 65.4øF, 54.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deon@VERT/ALTERANT to Gamgee on Thursday, April 16, 2026 08:19:38
    Re: Re: sbbs:next-js aarch64
    By: Gamgee to deon on Wed Apr 15 2026 08:22 am

    Howdy,

    I'm not DM..., but one difference is see is the lack of this line:
    Loading configuration files from /opt/sbbs/ctrl
    on your aarch64 version.
    Do you have your SBBSCTRL environment variable set on that device?

    Yup,

    /opt/sbbs # echo $SBBSCTRL
    /opt/sbbs/ctrl

    These are built with the same docker build files, built the same way, just one was built on intel and the other on aarch64.


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
  • From deon@VERT/ALTERANT to Accession on Thursday, April 16, 2026 08:20:37
    Re: Re: sbbs:next-js aarch64
    By: Accession to deon on Wed Apr 15 2026 10:51 am

    Howdy,

    If what Gamgee suggested isn't the culprit, try adding the ".js" extension to see if it works then?

    Yup, thanks, tried that too. Even tried full path, relative path and using strace, it just doesnt attempt to open binkit.js


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
  • From deon@VERT/ALTERANT to Digital Man on Thursday, April 16, 2026 08:22:50
    Re: sbbs:next-js aarch64
    By: Digital Man to deon on Wed Apr 15 2026 10:40 am

    Howdy,

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    I don't recommend you run this branch for now - there are still a lot of known and unknown issues.

    Bummer, for what I want to use it for, its working really well, except cannot jsxexec on aarch64.

    My workaround is run the intel images my mac, and its working fine. Just thought you'd want to know that aarch64 seems to be an issue.


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
  • From Digital Man@VERT to deon on Wednesday, April 15, 2026 17:52:33
    Re: sbbs:next-js aarch64
    By: deon to Digital Man on Thu Apr 16 2026 08:22 am

    Re: sbbs:next-js aarch64
    By: Digital Man to deon on Wed Apr 15 2026 10:40 am

    Howdy,

    JSexec v3.30a-Linux next-js/6a2a5eef1 - Execute Synchronet JavaScript Module Compiled Apr 14 2026 07:54 with GCC 15.2.0

    I don't recommend you run this branch for now - there are still a lot of known and unknown issues.

    Bummer, for what I want to use it for, its working really well, except cannot jsxexec on aarch64.

    My workaround is run the intel images my mac, and its working fine. Just thought you'd want to know that aarch64 seems to be an issue.

    There are a lot of issues, but for what its worth, there's a CI job that builds and runs the jsexec test suite (exec/tests/*) on an M4 Mac Mini and it appears to be currently working. That said, I'm not surprised at all that you're seeing issues with that branch at the moment, it's very early still.
    --
    digital man (rob)

    Synchronet "Real Fact" #107:
    Weedpuller "Beat It Out Of You" http://youtu.be/xWZ6vFvx4Kg
    Norco, CA WX: 71.9øF, 41.0% humidity, 10 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deon@VERT/ALTERANT to Digital Man on Thursday, April 16, 2026 12:07:25
    Re: sbbs:next-js aarch64
    By: Digital Man to deon on Wed Apr 15 2026 05:52 pm

    Howdy,

    There are a lot of issues, but for what its worth, there's a CI job that builds and runs the jsexec test suite (exec/tests/*) on an M4 Mac Mini and it appears to be currently working. That said, I'm not surprised at all that you're seeing issues with that branch at the moment, it's very early still.

    Is that test suite darwin/aarch64?

    I'm running alpine-linux/aarch64, which from memory, I only saw an intel runner for alpine. My alpine-linux/intel is working fine on my M1.

    Could this be another issue with the set_personality() that deuce was working on originaly with linux/aarch64?


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
  • From Digital Man@VERT to deon on Wednesday, April 15, 2026 20:04:20
    Re: sbbs:next-js aarch64
    By: deon to Digital Man on Thu Apr 16 2026 12:07 pm

    Re: sbbs:next-js aarch64
    By: Digital Man to deon on Wed Apr 15 2026 05:52 pm

    Howdy,

    There are a lot of issues, but for what its worth, there's a CI job that builds and runs the jsexec test suite (exec/tests/*) on an M4 Mac Mini and it appears to be currently working. That said, I'm not surprised at all that you're seeing issues with that branch at the moment, it's very early still.

    Is that test suite darwin/aarch64?

    Yes.

    I'm running alpine-linux/aarch64, which from memory, I only saw an intel runner for alpine. My alpine-linux/intel is working fine on my M1.

    Could this be another issue with the set_personality() that deuce was working on originaly with linux/aarch64?

    <shrug> It's a whole new set of problems with libmozjs-128 now, so could be just about anything.
    --
    digital man (rob)

    Sling Blade quote #20:
    Doyle: Hey is this the kind of retard that drools and rubs shit in his hair? Norco, CA WX: 65.1øF, 58.0% humidity, 6 mph WSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net