• Fresh ssbs build fails if /sbbs doesn't exist.

    From Nigel Reed@VERT to GitLab issue in main/sbbs on Sat Sep 18 07:14:33 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/289

    Not every user may have a /sbbs directory for some reason or another, especially if it's on a share hosting platform and they don't have root permissions. File locations shouldn't be hard coded to rely on an absolute path.

    make[1]: Entering directory '/home/bbs/exec'

    BAJA v2.34-Linux (rev 1.52) - Synchronet Shell/Module Compiler

    Compiling cntnodes.src...
    error 2 opening /sbbs/exec/sbbsdefs.inc for read
    make[1]: *** [GNUmakefile:37: cntnodes.bin] Error 1
    make[1]: Leaving directory '/home/bbs/exec'
    make: *** [GNUmakefile:158: baja] Error 2

    The build was obtained by fetching the GNUMakefile and running make in the bbs user's home directory.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Sep 24 05:42:48 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/289#note_2081

    Unable to reproduce.

    make -C /home/rswindell/sbbstest/exec MAKEFLAGS= os=linux RELEASE=1 BAJAPATH=/home/rswindell/sbbstest/repo/src/sbbs3/gcc.linux.x64.exe.release/baja
    make[1]: Entering directory '/home/rswindell/sbbstest/repo/exec'

    BAJA v2.34-Linux (rev 1.52) - Synchronet Shell/Module Compiler

    Compiling cntnodes.src...
    Resolving labels...

    Done.

    ...

    $ ls /sbbs
    ls: cannot access '/sbbs': No such file or directory

    I agree: "File locations shouldn't be hard coded to rely on an absolute path." and we strive not to, so I'm not sure what you're doing here. Please provide more detailed steps on how to reproduce.

    Was a Git or tarball install used?

    Was the SBBSCTRL or SBBSEXEC environment variable set (maybe incorrectly even)?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Rob Swindell on Thu Sep 30 09:23:49 2021
    Rob wrote:
    https://gitlab.synchro.net/main/sbbs/-/issues/289#note_2081

    Unable to reproduce.

    make -C /home/rswindell/sbbstest/exec MAKEFLAGS= os=linux RELEASE=1 BAJAPATH=/home/rswindell/sbbstest/repo/src/sbbs3/gcc.linux.x64.exe.release/baja
    make[1]: Entering directory '/home/rswindell/sbbstest/repo/exec'

    BAJA v2.34-Linux (rev 1.52) - Synchronet Shell/Module Compiler

    Compiling cntnodes.src...
    Resolving labels...

    Done.

    ...

    $ ls /sbbs
    ls: cannot access '/sbbs': No such file or directory

    I agree: "File locations shouldn't be hard coded to rely on an absolute path." and we strive not to, so I'm not sure what you're doing here. Please provide more detailed steps on how to reproduce.

    Was a Git or tarball install used?

    Was the SBBSCTRL or SBBSEXEC environment variable set (maybe incorrectly even)?
    It was, but I unset them, deleted everything and tried to rebuild and got the same issue. I created a completely new user and got the GNUMakefile and tried again and it worked so, yeah, I can't reproduce either. I did have a /sbbs
    link to a directory which I had deleted but don't think that caused it. Oh well. Let's close this one and move on.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Thu Sep 30 20:18:58 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/289#note_2091

    From Nelgin:
    I created a completely new user and got the GNUMakefile and tried
    again and it worked so, yeah, I can't reproduce either. I did have a /sbbs
    link to a directory which I had deleted but don't think that caused it. Oh well. Let's close this one and move on.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Thu Sep 30 20:18:58 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/289

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net