syncterm from gslapt won't run

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

syncterm from gslapt won't run

Post by fatdoguser »

syncterm from gslapt ... doen't run once installed, crashes with a "illegal instruction" error

May be missing libtinfo.so.6
Compiling with a .configure switch of --with-termlib may be the key.

jamesbond
Posts: 534
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 71 times
Been thanked: 291 times

Re: syncterm from gslapt won't run

Post by jamesbond »

@fatdoguser, I am unable to reproduce the problem. Syncterm runs well here (I only try up to the point it shows the welcome screen, didn't try any further).

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: syncterm from gslapt won't run

Post by fatdoguser »

@jamesbond

Thanks. At least now I know its my setup :)

User avatar
JakeSFR
Posts: 254
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 124 times

Re: syncterm from gslapt won't run

Post by JakeSFR »

@jamesbond, the package from repo also gives me "Illegal instruction".
The local one works ok.

Code: Select all

Good:	e009cd95ed1b9365def41503ee652fa1  syncterm-1.1-x86_64-4.txz
Bad:	20c7bf75dbdd709ed25b84b99cb7b700  syncterm-1.1-x86_64-4.txz

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: syncterm from gslapt won't run

Post by fatdoguser »

Saw your post @JakeSFR as I was logging in to post that under a fresh install of Fatdog syncterm fails with the illegal instruction error :thumbup:

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: syncterm from gslapt won't run

Post by fatdoguser »

gslapt installed syncterm, the one that throws a instant error when started
extracted the /usr/src/pkgbuild/source syncterm...tgz file and copied the recipe (and patches) for that into /usr/src/pkgbuild/pkg/syncterm
Used gslapt to remove syncterm (as though it wasn't installed)
In /usr/pkg/pkgbuild ran
./build-pkg.sh syncterm
When that finished I right clicked the /usr/src/pkgbuild/output/syncterm.,,,tgz file and selected the install option
That compiled version of syncterm works (in as much as it starts up to a gui dialog)

So its not the recipe, rather a faulty binary in gslapt syncterm.

jamesbond
Posts: 534
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 71 times
Been thanked: 291 times

Re: syncterm from gslapt won't run

Post by jamesbond »

@JakeSFR, but what you said as "bad" is actually my local copy, and it works here on my machine.

I think the compiler is "optimising" on the CPU it is running on, and fails when run under a different CPU. I need to find the compile flag to force it to use general instructions, but cryptlib is old and it's not easy to find the compile switch (I think that I need to do is just to disable -march=native ...). The only problem is that cryptlib is ... well, cryptic :)

EDIT: I have found the location where -march=native is specified, I have rebuilt syncterm with it disabled. I have uploaded it to gslapt too. If Jake or fatdoguser can test and confirm, that would be good, thanks.

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: syncterm from gslapt won't run

Post by fatdoguser »

Works for me :thumbup2:

Did first time load into a scrambled smaller window, that corrected when the terminal window was maximized, but that seems to be common to syncterm on *nix code, not a Fatdog issue (I guess something to do with first time run config files being set up).

Seasonal thanks and best wishes @jamesbond

User avatar
JakeSFR
Posts: 254
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 124 times

Re: syncterm from gslapt won't run

Post by JakeSFR »

Works for me, too, thanks!

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
jamesbond
Posts: 534
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 71 times
Been thanked: 291 times

Re: syncterm from gslapt won't run

Post by jamesbond »

@fatdoguser, @JakeSFR, thank you for confirming. Merry Christmas to you too.

Post Reply

Return to “FatDog64”