• Build Failing

    From Mortifis@VERT/ALLEYCAT to All on Wednesday, September 26, 2018 18:29:17
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    ---
    þ Synchronet þ Twisted Truckers BS (AlleyCat! BBS)
  • From Nelgin@VERT/EOTLBBS to Mortifis on Thursday, September 27, 2018 01:03:46
    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much as close as you're going to get and have no problems. If you use make --trace
    then it'll give you some extra output and hint at what is going wrong.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Mortifis@VERT/ALLEYCAT to Nelgin on Saturday, September 29, 2018 15:19:59
    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much as close as you're going to get and have no problems. If you use make --trace then it'll give you some extra output and hint at what is going wrong.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com

    This is the output when I build using libmozjs185-dev (using make RELEASE=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185)

    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    Compiling jsexec.c
    Compiling js_uifc.c
    Compiling js_conio.c
    Linking gcc.linux.x64.exe.release/jsexec
    /usr/bin/ld: gcc.linux.x64.obj.release-mt/jsexec.o: undefined reference to symbol 'JS_EndRequest'
    //usr/lib/libmozjs185.so.1.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    GNUmakefile:209: recipe for target 'gcc.linux.x64.exe.release/jsexec' failed make: *** [gcc.linux.x64.exe.release/jsexec] Error 1

    ---
    þ Synchronet þ Twisted Truckers BS (AlleyCat! BBS)
  • From Mortifis@VERT/ALLEYCAT to Nelgin on Saturday, September 29, 2018 15:22:14
    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much as close as you're going to get and have no problems. If you use make --trace then it'll give you some extra output and hint at what is going wrong.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com


    This is the error when I build using the cvs repos with typical make SYMLINK=1

    config/rules.mk:1475: recipe for target 'jscompartment.o' failed
    make[4]: *** [jscompartment.o] Error 1
    make[4]: Leaving directory '/home/pi/sbbs/3rdp/src/mozjs/js-1.8.5/js/src' config/rules.mk:753: recipe for target 'default' failed
    make[3]: *** [default] Error 2
    make[3]: Leaving directory '/home/pi/sbbs/3rdp/src/mozjs/js-1.8.5/js/src' GNUmakefile:52: recipe for target '../build/../../src/../3rdp/gcc.linux.x64.release/mozjs/lib/libmozjs185-1.0.a' failed
    make[2]: *** [../build/../../src/../3rdp/gcc.linux.x64.release/mozjs/lib/libmozjs185-1.0.a] Error 2
    make[2]: Leaving directory '/home/pi/sbbs/3rdp/build' /home/pi/sbbs/src/sbbs3/../build/Common.gmake:498: recipe for target 'js' failed
    make[1]: *** [js] Error 2
    make[1]: Leaving directory '/home/pi/sbbs/src/sbbs3'
    GNUmakefile:151: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    ---
    þ Synchronet þ Twisted Truckers BS (AlleyCat! BBS)
  • From Digital Man@VERT to Mortifis on Saturday, September 29, 2018 08:52:33
    Re: Re: Build Failing
    By: Mortifis to Nelgin on Sat Sep 29 2018 03:19 pm

    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much as close as you're going to get and have no problems. If you use make --trace then it'll give you some extra output and hint at what is going wrong.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com

    This is the output when I build using libmozjs185-dev (using make RELEASE=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185)

    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    Compiling jsexec.c
    Compiling js_uifc.c
    Compiling js_conio.c
    Linking gcc.linux.x64.exe.release/jsexec
    /usr/bin/ld: gcc.linux.x64.obj.release-mt/jsexec.o: undefined reference to symbol 'JS_EndRequest'

    Try commenting out or deleting the line from src/sbbs3/js_request.c:
    JS_EndRequest(cx);

    It's only used in the jsexec debugger, which no one (apparently) uses.

    digital man

    This Is Spinal Tap quote #23:
    David St. Hubbins: I envy us.
    Norco, CA WX: 62.3øF, 92.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mortifis on Saturday, September 29, 2018 08:53:56
    Re: Re: Build Failing
    By: Mortifis to Nelgin on Sat Sep 29 2018 03:22 pm

    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ... Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful Build (which I am currently logged into and using. I have discussed this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling errors but basically ... if I install libmozjs and use that option on the make command line I get at
    least as far as compliing and linking but get a segmentation fault when executing sbbs ... when I use the libmozjs from the cvs it doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much as close as you're going to get and have no problems. If you use make --trace then it'll give you some extra output and hint at what is going wrong.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com


    This is the error when I build using the cvs repos with typical make SYMLINK=1

    config/rules.mk:1475: recipe for target 'jscompartment.o' failed
    make[4]: *** [jscompartment.o] Error 1
    make[4]: Leaving directory '/home/pi/sbbs/3rdp/src/mozjs/js-1.8.5/js/src' config/rules.mk:753: recipe for target 'default' failed
    make[3]: *** [default] Error 2
    make[3]: Leaving directory '/home/pi/sbbs/3rdp/src/mozjs/js-1.8.5/js/src' GNUmakefile:52: recipe for target '../build/../../src/../3rdp/gcc.linux.x64. release/mozjs/lib/libmozjs185-1.0.a' failed
    make[2]: *** [../build/../../src/../3rdp/gcc.linux.x64.release/mozjs/lib/lib mozjs185-1.0.a] Error 2
    make[2]: Leaving directory '/home/pi/sbbs/3rdp/build' /home/pi/sbbs/src/sbbs3/../build/Common.gmake:498: recipe for target 'js' failed
    make[1]: *** [js] Error 2
    make[1]: Leaving directory '/home/pi/sbbs/src/sbbs3'
    GNUmakefile:151: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    You need to go further back in the output to find the real error (before the 'jscompartment.o' failed line).

    digital man

    This Is Spinal Tap quote #24:
    David St. Hubbins: You're a haughty one, saucy Jack.
    Norco, CA WX: 62.3øF, 92.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Digital Man on Sunday, September 30, 2018 21:57:31
    Digital wrote:
    Re: Re: Build Failing
    By: Mortifis to Nelgin on Sat Sep 29 2018 03:19 pm

    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various versions
    of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ...
    Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same PC as
    well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on the
    same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful
    Build (which I am currently logged into and using. I have discussed
    this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling
    errors but basically ... if I install libmozjs and use that option on
    the make command line I get at
    least as far as compliing and linking but get a segmentation fault
    when executing sbbs ... when I use the libmozjs from the cvs it
    doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else had
    this problem under Debian?

    Having some output would really help. I use Ubuntu which is pretty much
    as close as you're going to get and have no problems. If you use make
    --trace then it'll give you some extra output and hint at what is going
    wrong.

    ---
    â–  Synchronet â–  End Of The Line BBS - endofthelinebbs.com

    This is the output when I build using libmozjs185-dev (using make RELEASE=1
    JSINCLUDE=/usr/include/js JSLIB=mozjs185)

    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    Compiling jsexec.c
    Compiling js_uifc.c
    Compiling js_conio.c
    Linking gcc.linux.x64.exe.release/jsexec
    /usr/bin/ld: gcc.linux.x64.obj.release-mt/jsexec.o: undefined reference to
    symbol 'JS_EndRequest'

    Try commenting out or deleting the line from src/sbbs3/js_request.c:
    JS_EndRequest(cx);

    It's only used in the jsexec debugger, which no one (apparently) uses.

    Cos nobody can figure out how to get it to work?

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From michael2@VERT to Nelgin on Sunday, September 30, 2018 22:19:21
    On 09/30/18, Nelgin said the following...
    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various vers
    of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ...
    Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same P
    well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on
    same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful
    Build (which I am currently logged into and using. I have discu
    this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling
    errors but basically ... if I install libmozjs and use that opti
    the make command line I get at
    least as far as compliing and linking but get a segmentation fau
    when executing sbbs ... when I use the libmozjs from the cvs it
    doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else h
    this problem under Debian?


    For what its worth, I too have the exact same problem but, my case is a bit more different, I am using debian for windows (WSL)

    Michael2

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Mike's Mansion - fluxcap.dynv6.net:2323 (1:340/201)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT to michael2 on Tuesday, October 02, 2018 12:30:01
    On 09/30/18, Nelgin said the following...
    Mortifis wrote:
    ok, so, I have been trying to Build from the cvs on various vers
    of Debian 9; on my Raspberry Pi 3 under Raspbian Stretch arm ...
    Raspbian x86_64 PC (Debian 9
    Stretch) omn my PC, under full blown Debian x86_64 on the same P
    well as under Ubuntu 16.04 and 18.04 (all Debian 9 variants) on
    same PC... all have failed to
    compile ... and on the same PC under Slackware 14.2 a very successful
    Build (which I am currently logged into and using. I have discu
    this with Rob a few times and
    he suggested I post here ... I do not have a log of the compling
    errors but basically ... if I install libmozjs and use that opti
    the make command line I get at
    least as far as compliing and linking but get a segmentation fau
    when executing sbbs ... when I use the libmozjs from the cvs it
    doesn't even as far as compiling and
    it always seems to fail at jscompartment.o ... has anyone else h
    this problem under Debian?


    For what its worth, I too have the exact same problem but, my case is a bit more different, I am using debian for windows (WSL)

    Michael2

    I am really starting to believe that it is a Debian x86_64 issue and nothing to do with SBBS. I have tried to build it on serveral PC's running various flavours of Deb9x and it always fails ... adding JSINCLUDE=libmoz etc gets alot further and actually compiles and links but returns segmentation fault when executing ... just running make using the included jslib craps out alot sooner ... both seem to be in the jscompartment.o ... I was finally able to get it to Compile on my RPI, showed many notices but works ... seems to be a few issues with some events

    I might add, I have incorrect :-P had a problem building SBBS on any windows or Linux systems that runing any version of Slackware, which is why I conclude it is a Deb version issue, but I am always open to being incorrect :-P

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Marisag@VERT/AMIGAC to Mortifis on Tuesday, October 02, 2018 13:07:20
    Re: Re: Build Failing
    By: Mortifis to michael2 on Tue Oct 02 2018 12:30:01

    I use Ubuntu for my hosted servers and SBBS compiles and runs fine...

    Marisa
    --- https://AmigaCity.xyz - Portal for the Amiga - More than 2,600 free DLs
    --- https://AmigaCityLaptops.com - Laptops & Handhelds that run AmigaOS
    --- https://AmigaCity.xyz/radio.html - Amiga game music 24/7
    --- https://BBSlist.SynchronetBBS.org - Active BBS List for all BBS types
    --- https://SynchronetBBS.org/OurServers - A list of all our websites
    --- https://gamenet.SynchronetBBS.org - GameNet BBS Network
    þ Synchronet þ Amiga City - The BBS for the Amiga - more than 2,500+ files