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

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sat Sep 18 00: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 CompilerCompiling cntnodes.src...error 2 opening /sbbs/exec/sbbsdefs.inc for readmake[1]: *** [GNUmakefile:37: cntnodes.bin] Error 1make[1]: Leaving directory '/home/bbs/exec'make: *** [GNUmakefile:158: baja] Error 2The build was obtained by fetching the GNUMakefile and running make in the bbs user's home directory.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Sep 23 22: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/bajamake[1]: Entering directory '/home/rswindell/sbbstest/repo/exec'BAJA v2.34-Linux (rev 1.52) - Synchronet Shell/Module CompilerCompiling cntnodes.src...Resolving labels...Done....$ ls /sbbsls: cannot access '/sbbs': No such file or directoryI 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)?
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Rob Swindell on Thu Sep 30 02: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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Sep 30 13: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 triedagain and it worked so, yeah, I can't reproduce either. I did have a /sbbslink to a directory which I had deleted but don't think that caused it. Ohwell. Let's close this one and move on.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Thu Sep 30 13:18:58 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/289
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)