• sbbs:next-js aarch64

    From deon@VERT/ALTERANT to Digital Man on Wed Apr 15 20:41:39 2026
    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 Wed Apr 15 08:22:24 2026
    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 Wed Apr 15 10:51:23 2026
    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 Wed Apr 15 10:40:28 2026
    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 Digital Man@VERT to deon on Wed Apr 15 20:04:20 2026
    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