• can't connect to cvs...

    From mark lewis@1:3634/12.73 to digital man on Wed Aug 16 13:35:06 2017

    as of 2017-08-16 13:11:01 we can't connect to cvs or vert :(

    ----->8 snip 8<-----
    $ /sbbs/updatesbbs

    *** logging to /sbbs/updatesbbs_201708161311.log ***

    ********** starting in /sbbs **********
    ********** Start Date: 2017-08-16 13:11:01 **********

    *** saving CTRL directory ***
    tar -czf ctrl_201708161311.tgz ctrl

    *** saving EXEC directory ***
    tar -czf exec_201708161311.tgz exec

    *** cvs update of EXEC directory ***
    cvs [update aborted]: connect to cvs.synchro.net(71.95.196.36):2401 failed: Connection timed out

    *** cvs update of SRC and 3RDP directory ***
    cvs [update aborted]: connect to cvs.synchro.net(71.95.196.36):2401 failed: Connection timed out

    *** cvs update of XTRN directory ***
    cvs [update aborted]: connect to cvs.synchro.net(71.95.196.36):2401 failed: Connection timed out

    [...]

    *** grabbing latest sbbs_run to update text.dat ***
    --2017-08-16 13:18:31-- ftp://vert.synchro.net/Synchronet/sbbs_run.tgz
    => '/home/sbbs/downloads/sbbs-dev/sbbs_run-20170816.tgz'
    Resolving vert.synchro.net (vert.synchro.net)... 71.95.196.34
    Connecting to vert.synchro.net (vert.synchro.net)|71.95.196.34|:21... failed: Connection timed out.
    ----->8 snip 8<-----


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... And God said, Let there be Digital Man: and there was Digital Man.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Wed Aug 16 14:16:26 2017
    Re: can't connect to cvs...
    By: mark lewis to digital man on Wed Aug 16 2017 01:35 pm

    as of 2017-08-16 13:11:01 we can't connect to cvs or vert :(

    We had about a 2 hour ISP outage today. Now fixed.

    digital man

    Synchronet "Real Fact" #23:
    The third ever Synchronet BBS was The Beast's Domain (sysop: King Drafus). Norco, CA WX: 80.2oF, 47.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Thu Aug 17 01:49:12 2017

    On 2017 Aug 16 14:16:26, you wrote to me:

    as of 2017-08-16 13:11:01 we can't connect to cvs or vert :(

    We had about a 2 hour ISP outage today. Now fixed.

    yeah, we saw that... max was on the phone rather frantic as she was trying to rebuild after cleaning stuff up and removing all the gcc.linux.x64.exe.debug type directories... there were a bunch of links that had been pointing to the release build directories so they were removed because we've been running debug
    builds... another update was attempted hoping that the links would be regenerated and pointing to the debug directories... things blew up everywhere because the links didn't exist any more and the update process' gmakefile and makefile don't create them... apparently only the original makefile used in the
    "quick install from cvs" instructions on the wiki makes them and they never get
    changed after that... so she was a little whacked until your system came back online... aaannnnyyyywwaaayyy, we finally got things back in order and online... we've switched away from SYMLINKS=1 and are just letting the system copy the binaries in this INSTALL=CLASSIC installation... this way we should be
    able to switch easily between debug and release builds without having to learn or remember any nasty dances... we just hope that the makefiles will copy the binaries when we do our updates...

    oh! before i forget, the dance described above also brought out that the scfghelp.dat and scfghelp.ibx files are still required in the build... when trying to get the symlinks recreated or the binaries copied over, the make process kept failing on those two files until we went to the cvs and pulled the
    two 15 year old ones from there and manually copied them into the gcc.linux.x64.exe.debug directory... we'll have to remember to copy them to the
    gss.linux.x86.exe.release directory, too, when we decide to go back to release builds... just thought we'd let you know about that so the make files could be updated...

    now that we refreshed everything from the repo, we also had to adjust the scripts in xtrn/dpoker, xtrn/sbj, xtrn/sbl, and xtrn/tbd... on our systems sh is pointing to dash... the first problem was no double quotes around "$machine"
    in the last test... then there was the uname stuff piped thru "egrep -v"... there wasn't any output even though these systems are x86_64... we had to remove the "-v" parms from the egrep lines and then the scripts started working
    properly...


    FWIW: here's a diff of the scripts... since they're all identical, this should apply to all of them... we invalidated the first line's three dashes so the mail system would not think it was a tear line...

    ----->8 snip 8<-----
    -!- /sbbs/xtrn/sbl/sbl,old 2017-08-16 17:49:38.000000000 -0400
    +++ /sbbs/xtrn/sbl/sbl.new 2017-08-17 00:38:13.000000000 -0400
    @@ -1,14 +1,14 @@
    #!/bin/sh
    os=`uname | tr "[A-Z]" "[a-z]"`
    -if uname -m | egrep -v "(i[3456789]*|x)86" > /dev/null
    +if uname -m | egrep "(i[3456789]*|x)86" > /dev/null
    then
    machine=`uname -m | tr "[A-Z]" "[a-z]" | tr " " "_"`
    fi
    -if uname -m | egrep -v "64" > /dev/null
    +if uname -m | egrep "64" > /dev/null
    then
    machine=`uname -m | tr "[A-Z]" "[a-z]" | tr " " "_"`
    fi
    -if [ $machine = "x86_64" ]
    +if [ "$machine" = "x86_64" ]
    then
    machine=x64
    fi
    ----->8 snip 8<-----

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Yes! You may have already won!
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Thu Aug 17 13:00:44 2017
    Re: can't connect to cvs...
    By: mark lewis to Digital Man on Thu Aug 17 2017 01:49 am

    oh! before i forget, the dance described above also brought out that the scfghelp.dat and scfghelp.ibx files are still required in the build... when trying to get the symlinks recreated or the binaries copied over, the make process kept failing on those two files until we went to the cvs and pulled the
    two 15 year old ones from there and manually copied them into the gcc.linux.x64.exe.debug directory... we'll have to remember to copy them to the
    gss.linux.x86.exe.release directory, too, when we decide to go back to release builds... just thought we'd let you know about that so the make files could be updated...

    I could find no lasting references to scfghelp.*. Perhaps you just had some old dependency (*.d) files. Runnnig 'make clean' should clear that up.

    now that we refreshed everything from the repo, we also had to adjust the scripts in xtrn/dpoker, xtrn/sbj, xtrn/sbl, and xtrn/tbd... on our systems sh is pointing to dash... the first problem was no double quotes around "$machine"
    in the last test... then there was the uname stuff piped thru "egrep -v"... there wasn't any output even though these systems are x86_64... we had to remove the "-v" parms from the egrep lines and then the scripts started working
    properly...


    FWIW: here's a diff of the scripts... since they're all identical, this should apply to all of them... we invalidated the first line's three dashes so the mail system would not think it was a tear line...

    ----->8 snip 8<-----
    -!- /sbbs/xtrn/sbl/sbl,old 2017-08-16 17:49:38.000000000 -0400
    +++ /sbbs/xtrn/sbl/sbl.new 2017-08-17 00:38:13.000000000 -0400
    @@ -1,14 +1,14 @@
    #!/bin/sh
    os=`uname | tr "[A-Z]" "[a-z]"`
    -if uname -m | egrep -v "(i[3456789]*|x)86" > /dev/null
    +if uname -m | egrep "(i[3456789]*|x)86" > /dev/null
    then
    machine=`uname -m | tr "[A-Z]" "[a-z]" | tr " " "_"`
    fi
    -if uname -m | egrep -v "64" > /dev/null
    +if uname -m | egrep "64" > /dev/null
    then
    machine=`uname -m | tr "[A-Z]" "[a-z]" | tr " " "_"`
    fi
    -if [ $machine = "x86_64" ]
    +if [ "$machine" = "x86_64" ]
    then
    machine=x64
    fi
    ----->8 snip 8<-----

    Deuce made the most recent changes to those scripts. I'm not sure why the use of '-v' (Invert the sense of matching), but that seems like a pretty significant change. The quotes around $machine, probably not.

    digital man

    Synchronet/BBS Terminology Definition #42:
    SCFG = Synchronet Configuration Utility
    Norco, CA WX: 82.0oF, 49.0% humidity, 6 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From Daryl Stout@1:103/705 to DIGITAL MAN on Thu Aug 17 16:29:00 2017
    Rob,

    as of 2017-08-16 13:11:01 we can't connect to cvs or vert :(

    We had about a 2 hour ISP outage today. Now fixed.

    Hate it when that happens. I had thunderstorms here overnight (with
    intense lightning), so I was offline.

    Daryl

    ---
    * OLX 1.53 * Cmdr: "Mount Your Horses" - Men: "We're not that lonely!"
    * Synchronet * The Thunderbolt BBS - wx1der.dyndns.org
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Fri Aug 18 04:54:42 2017

    On 2017 Aug 17 13:00:44, you wrote to me:

    oh! before i forget, the dance described above also brought out that the
    scfghelp.dat and scfghelp.ibx files are still required in the build...
    when trying to get the symlinks recreated or the binaries copied over,
    the make process kept failing on those two files until we went to the
    cvs and pulled the two 15 year old ones from there and manually copied
    them into the gcc.linux.x64.exe.debug directory... we'll have to
    remember to copy them to the gss.linux.x86.exe.release directory, too,
    when we decide to go back to release builds... just thought we'd let
    you know about that so the make files could be updated...

    I could find no lasting references to scfghelp.*. Perhaps you just had
    some
    old dependency (*.d) files. Runnnig 'make clean' should clear that up.

    where would that be executed from? we've been cleaning our script and adding the new things that have appeared on the wiki... now our script automatically cleans

    $SBBSDIR/src/comio
    $SBBSDIR/src/conio
    $SBBSDIR/src/smblib
    $SBBSDIR/src/uifc
    $SBBSDIR/src/xpdev
    $SBBSDIR/src/sbbs3
    $SBBSDIR/src/sbbs3/scfg
    $SBBSDIR/exec

    by stepping into each and executing

    gmake $BUILDOPTS clean

    where BUILDOPTS is our current options of

    DEBUG=1 USEDOSEMU=1 INSTALL=CLASSIC SBBSDIR=/sbbs SBBSUSER=sbbs SBBSGROUP=sbbs

    we use these BUILDOPTS everywhere to try to ensure that everything is built with the same settings...

    our current workflow is:

    1. save exec and ctrl
    2. update from CVS
    3. apply our patches
    4. clean
    5. compile

    are we missing anything?


    FWIW, we don't understand the makefile build stuff but we found these... perhaps the targets.mk file is at fault? where is $SCFGHELP defined?

    /sbbs/src $ egrep -ir "scfghelp*" *

    sbbs2/scfg/makehelp.c:if((out=fopen("SCFGHELP.DAT","wb"))==NULL) { sbbs2/scfg/makehelp.c: printf("error opening SCFGHELP.DAT\r\n"); sbbs2/scfg/makehelp.c:if((ixb=open("SCFGHELP.IXB",O_WRONLY|O_CREAT|O_BINARY,S_IWRITE|S_IREAD))==-1) {
    sbbs2/scfg/makehelp.c: printf("error opening SCFGHELP.IXB\r\n"); sbbs2/scfg/scfg.c: sprintf(helpdatfile,"..\\EXEC\\SCFGHELP.DAT"); sbbs2/scfg/scfg.c: sprintf(helpixbfile,"..\\EXEC\\SCFGHELP.IXB"); } sbbs2/scfg/scfg.c: sprintf(helpdatfile,"%s\\SCFGHELP.DAT",str); sbbs2/scfg/scfg.c: sprintf(helpixbfile,"%s\\SCFGHELP.IXB",str); }
    Binary file sbbs2/scfg/makehelp.exe matches
    sbbs3/scfg/makehelp.vcxproj: <Outputs>$(OutDir)scfghelp.dat;$(OutDir)scfghelp.ixb;%(Outputs)</Outputs>
    sbbs3/scfg/makehelp.vcxproj: <Outputs>$(OutDir)scfghelp.dat;$(OutDir)scfghelp.ixb;%(Outputs)</Outputs>
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.dat" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.ixb" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.dat" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.ixb" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.c: sprintf(str,"%s/scfghelp.dat",dir); sbbs3/scfg/makehelp.c: sprintf(str,"%s/scfghelp.ixb",dir); sbbs3/scfg/targets.mk: $(SCFG) $(SCFGHELP) sbbs3/install.iwz:Group1File55=C:\SBBS\EXEC\Scfghelp.dat sbbs3/install.iwz:Group1File56=C:\SBBS\EXEC\Scfghelp.ixb

    all we know is we had to make those two files available and the script completed... we also checked in scfg and the help F1 does work but we've not tried it without those two files...

    now that we refreshed everything from the repo, we also had to adjust
    the scripts in xtrn/dpoker, xtrn/sbj, xtrn/sbl, and xtrn/tbd... on our

    [trim]

    Deuce made the most recent changes to those scripts. I'm not sure why the use of '-v' (Invert the sense of matching), but that seems like a
    pretty significant change. The quotes around $machine, probably not.

    as noted previously, on our ubuntu based systems sh is symlinked to dash... apparently dash is extremely POSIX... it definitely whined about the missing quotes around "$machine" in that one test... after we fixed that, we found the other problems by manually running each line and looking for the results... there was nothing output at all for any of them until we removed the "-v"... when we finally got things working, we knew it was right when the scripts lead to "SBBSNODE is not set" or something to that effect... since we were running the script, sbl in this case, manually from the command line, this was a good thing :)


    $ which sh
    /bin/sh

    $ ls -la /bin/sh
    lrwxrwxrwx 1 root root 4 Jan 4 2015 /bin/sh -> dash

    $ ls -la /bin/dash
    -rwxr-xr-x 1 root root 121272 Feb 19 2014 /bin/dash


    EDIT: we just saw the two new commits posted in SYNC_PROGRAMMING... we're updating again! ;) O:)

    thanks!

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Let me close by stipulating that I am a clueless idiot.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Fri Aug 18 02:34:46 2017
    Re: can't connect to cvs...
    By: mark lewis to Digital Man on Fri Aug 18 2017 04:54 am


    On 2017 Aug 17 13:00:44, you wrote to me:

    oh! before i forget, the dance described above also brought out that the
    scfghelp.dat and scfghelp.ibx files are still required in the build...
    when trying to get the symlinks recreated or the binaries copied over,
    the make process kept failing on those two files until we went to the
    cvs and pulled the two 15 year old ones from there and manually copied
    them into the gcc.linux.x64.exe.debug directory... we'll have to
    remember to copy them to the gss.linux.x86.exe.release directory, too,
    when we decide to go back to release builds... just thought we'd let
    you know about that so the make files could be updated...

    I could find no lasting references to scfghelp.*. Perhaps you just had
    some
    old dependency (*.d) files. Runnnig 'make clean' should clear that up.

    where would that be executed from?

    From src/sbbs3/scfg

    we've been cleaning our script and adding
    the new things that have appeared on the wiki... now our script automatically cleans

    $SBBSDIR/src/comio
    $SBBSDIR/src/conio
    $SBBSDIR/src/smblib
    $SBBSDIR/src/uifc
    $SBBSDIR/src/xpdev
    $SBBSDIR/src/sbbs3
    $SBBSDIR/src/sbbs3/scfg
    $SBBSDIR/exec

    by stepping into each and executing

    gmake $BUILDOPTS clean

    where BUILDOPTS is our current options of

    DEBUG=1 USEDOSEMU=1 INSTALL=CLASSIC SBBSDIR=/sbbs SBBSUSER=sbbs SBBSGROUP=sbbs

    we use these BUILDOPTS everywhere to try to ensure that everything is built with the same settings...

    our current workflow is:

    1. save exec and ctrl
    2. update from CVS
    3. apply our patches
    4. clean
    5. compile

    are we missing anything?

    Not that I can think of.

    FWIW, we don't understand the makefile build stuff but we found these... perhaps the targets.mk file is at fault? where is $SCFGHELP defined?

    It's not, so it'd just be a blank string and do nothing. I've since removed it anyway.

    /sbbs/src $ egrep -ir "scfghelp*" *

    sbbs2/scfg/makehelp.c:if((out=fopen("SCFGHELP.DAT","wb"))==NULL) {

    Binary file sbbs2/scfg/makehelp.exe matches

    You're not running sbbs2, so that's not relevant.

    sbbs3/scfg/makehelp.vcxproj: <Outputs>$(OutDir)scfghelp.dat;$(OutDir)scfghelp.ixb;%(Outputs)</Outputs> sbbs3/scfg/makehelp.vcxproj: <Outputs>$(OutDir)scfghelp.dat;$(OutDir)scfghelp.ixb;%(Outputs)</Outputs> sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.dat" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.ixb" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.dat" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.dsp:"$(OutDir)\scfghelp.ixb" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
    sbbs3/scfg/makehelp.c: sprintf(str,"%s/scfghelp.dat",dir); sbbs3/scfg/makehelp.c: sprintf(str,"%s/scfghelp.ixb",dir);

    None of those makehelp.* files have been used for years. They've since been removed from CVS.

    sbbs3/scfg/targets.mk: $(SCFG) $(SCFGHELP) sbbs3/install.iwz:Group1File55=C:\SBBS\EXEC\Scfghelp.dat sbbs3/install.iwz:Group1File56=C:\SBBS\EXEC\Scfghelp.ixb

    Just legacy files, unused.

    all we know is we had to make those two files available and the script completed...

    And my builds work just fine without those files as do the nightlies which are built in a sandbox.

    we also checked in scfg and the help F1 does work but we've not
    tried it without those two files...

    scfg (v3) hasn't used scfghelp.* for several years now.

    now that we refreshed everything from the repo, we also had to adjust
    the scripts in xtrn/dpoker, xtrn/sbj, xtrn/sbl, and xtrn/tbd... on our

    [trim]

    Deuce made the most recent changes to those scripts. I'm not sure why the use of '-v' (Invert the sense of matching), but that seems like a pretty significant change. The quotes around $machine, probably not.

    as noted previously, on our ubuntu based systems sh is symlinked to dash... apparently dash is extremely POSIX... it definitely whined about the missing quotes around "$machine" in that one test... after we fixed that, we found the other problems by manually running each line and looking for the results... there was nothing output at all for any of them until we removed the "-v"... when we finally got things working, we knew it was right when the scripts lead to "SBBSNODE is not set" or something to that effect... since we were running the script, sbl in this case, manually from the command line, this was a good thing :)

    My Debian system is the same. I don't normally use those scripts (I use symlinks), but I tested and reproduced the same failure you reported.

    digital man

    Synchronet "Real Fact" #88:
    SBBSecho v3.00 was first committed to cvs.synchro.net on Apr-11-2016.
    Norco, CA WX: 64.0oF, 89.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Fri Aug 18 08:49:20 2017

    On 2017 Aug 18 02:34:46, you wrote to me:

    I could find no lasting references to scfghelp.*. Perhaps you just
    had some old dependency (*.d) files. Runnnig 'make clean' should
    clear that up.
    where would that be executed from?

    From src/sbbs3/scfg

    ok, we're covered there...

    our current workflow is:

    1. save exec and ctrl
    2. update from CVS
    3. apply our patches
    4. clean
    5. compile

    are we missing anything?

    Not that I can think of.

    thanks...

    FWIW, we don't understand the makefile build stuff but we found
    these... perhaps the targets.mk file is at fault? where is $SCFGHELP
    defined?

    It's not, so it'd just be a blank string and do nothing. I've since removed it anyway.

    yeah, we saw the later commits where you were cleaning things up a little more :)

    /sbbs/src $ egrep -ir "scfghelp*" *

    sbbs2/scfg/makehelp.c:if((out=fopen("SCFGHELP.DAT","wb"))==NULL) {

    Binary file sbbs2/scfg/makehelp.exe matches

    You're not running sbbs2, so that's not relevant.

    i just included all output from that grep ;)

    sbbs3/install.iwz:Group1File55=C:\SBBS\EXEC\Scfghelp.dat
    sbbs3/install.iwz:Group1File56=C:\SBBS\EXEC\Scfghelp.ixb

    Just legacy files, unused.

    all we know is we had to make those two files available and the script
    completed...

    And my builds work just fine without those files as do the nightlies which are built in a sandbox.

    it may have been the install stuff where it came up... remember, we were trying
    to get the symlinks rebuilt or have the files copied to the exec directory... building after cvs updates doesn't do that... at elast not that we've seen... only the install does that but the only install we've found is the one in the "quick install from CVS" where the makefile stuff actually starts an update and
    build run... we did find the "nocvs" option to take care of that, though...

    we did an update and build with our script, now that we've switched to copying the binaries instead of symlinks... the new binaries are built but they're not copied to exec by the makefiles... we're not sure what the best solution would be... symlinks are good for this except when you change between release and debug modes because the links are not updated to point to the freshly built binaries... that's why we switched to the copy option... things that make ya go
    "hummmmm" ;)

    as noted previously, on our ubuntu based systems sh is symlinked to
    dash... apparently dash is extremely POSIX... it definitely whined
    about the missing quotes around "$machine" in that one test... after we
    fixed that, we found the other problems by manually running each line
    and looking for the results... there was nothing output at all for any
    of them until we removed the "-v"... when we finally got things
    working, we knew it was right when the scripts lead to "SBBSNODE is
    not set" or something to that effect... since we were running the
    script, sbl in this case, manually from the command line, this was a
    good thing :)

    My Debian system is the same. I don't normally use those scripts (I
    use symlinks), but I tested and reproduced the same failure you
    reported.

    thanks :)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... //This code sucks, you know it and I know it.
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to Digital Man on Fri Aug 18 09:31:24 2017

    On 2017 Aug 18 08:49:20, I wrote to you:

    And my builds work just fine without those files as do the nightlies
    which are built in a sandbox.

    it may have been the install stuff where it came up... remember, we were trying to get the symlinks rebuilt or have the files copied to the exec directory...

    it is/was in our old GNUmakefile that we pulled to do the "quick install from CVS"... ours has an $ID of v1.68 but we now see that v1.69 removed those help file entries and there's also a v1.70 available so we're going to update to that to make sure we've got the latest in case we have to dance this dance again...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Check your mind at the door... NONE allowed in this echo! ;*)
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Fri Aug 18 13:30:26 2017
    Re: can't connect to cvs...
    By: mark lewis to Digital Man on Fri Aug 18 2017 08:49 am

    all we know is we had to make those two files available and the script
    completed...

    And my builds work just fine without those files as do the nightlies which are built in a sandbox.

    it may have been the install stuff where it came up... remember, we were trying
    to get the symlinks rebuilt or have the files copied to the exec directory... building after cvs updates doesn't do that... at elast not that we've seen... only the install does that but the only install we've found is the one in the "quick install from CVS" where the makefile stuff actually starts an update and
    build run... we did find the "nocvs" option to take care of that, though...

    Referring to this: http://wiki.synchro.net/install:nix#non-cvs ?

    we did an update and build with our script, now that we've switched to copying the binaries instead of symlinks... the new binaries are built but they're not copied to exec by the makefiles... we're not sure what the best solution would be... symlinks are good for this except when you change between release and debug modes because the links are not updated to point to the freshly built binaries... that's why we switched to the copy option... things that make ya go
    "hummmmm" ;)

    When you say "the makefiles", I assume you're referring to src/sbbs3/GNUmakefile (and scfg/GNUmakefile). The makefile in the install directory does perform the copy or symlink of the output files to the Synchronet "exec" directory. The src/*/GNUmakefiles do not know where your Synchronet exec directory is located, so they're not going to mess with it.

    Another option is to just not use the Synchronet exec directory for your native executable binaries. This would require updating anything/anywhere that executes exec/sbbs, exec/sbbsecho, etc. and changing to use either the full path to the build output directory or (preferably) a short symlink that you could then change to point to either *.exe.release or *.exe.debug output directories. You'd also need to update your LD_LIBRARY_PATH environment variable to point to either the *.lib.debug or *.lib.release directories. The symlink or copy method is simpler, but I use all of these methods myself at different times and under different testing conditions.

    digital man

    Synchronet "Real Fact" #76:
    Michael Swindell still has the "Synchronet Blimp" in his possession.
    Norco, CA WX: 82.9oF, 46.0% humidity, 13 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Fri Aug 18 20:24:06 2017

    On 2017 Aug 18 13:30:26, you wrote to me:

    it may have been the install stuff where it came up... remember, we
    were trying to get the symlinks rebuilt or have the files copied to the
    exec directory... building after cvs updates doesn't do that... at
    elast not that we've seen... only the install does that but the only
    install we've found is the one in the "quick install from CVS" where
    the makefile stuff actually starts an update and build run... we did
    find the "nocvs" option to take care of that, though...

    Referring to this: http://wiki.synchro.net/install:nix#non-cvs ?

    no... this 20th line...

    # $Id: GNUmakefile,v 1.70 2015/05/12 20:21:39 deuce Exp $
    # Global GNU makefile for Synchronet
    #
    # Usage:
    # ------
    # [g]make install [variable=value]...
    #
    # variables:
    # ----------
    # DEBUG = Set to force a debug build
    # RELEASE = Set to force a release build
    # INSTALL = Set to CLASSIC (All in one sbbs dir) or UNIX (use /etc, /sbin...)
    # SYMLINK = Don't copy binaries, rather create symlinks in $(SBBSDIR)/exec
    # SBBSDIR = Directory to do CLASSIC install to
    # PREFIX = Set to the UNIX base directory to install to
    # bcc = Set to use Borland compiler
    # os = Set to the OS name (Not required)
    # SBBSUSER = Owner for the installed files
    # SBBSGROUP = Group for the installed files
    # NOCVS = do not do CVS update
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    # JSLIB = Library name of JavaScript library.
    # JSLIBDIR = Full path to JavaScript library
    # CRYPTLIBINCLUDE = Path to cryptlib header file(s)
    # CRYPTLIBDIR = Path to libcl.*
    # NSPRDIR = Path to nspr4 library
    # NSPRINCLUDE = Path to NSPR header files
    # SDL_CONFIG = Path to sdl-config program
    # CVSTAG = CVS tag to pull
    # NO_X = Don't include build conio library (ciolib) for X
    # NO_GTK = Don't build GTK-based sysop tools
    # X_PATH = /path/to/X (if not /usr/X11R6)

    remember, we reran the original install script to try to get the symlinks back or get the copy function for the binaries and libs working... rerunning this initial install makefile grabs cvs again but we already did that and built everything... we just needed the symlinks or the binaries copied...

    the biggest thing on the symlinks was having them actually change where they were pointing when we switched between release and debug builds... the reason max removed all of those the other day was because some of them were still pointing to release binaries when we have been building debug... they didn't switch for some reason and we were trying to just clean them up and find a way to get them back and pointing at the proper binaries...

    we did an update and build with our script, now that we've switched to
    copying the binaries instead of symlinks... the new binaries are built
    but they're not copied to exec by the makefiles... we're not sure what
    the best solution would be... symlinks are good for this except when
    you change between release and debug modes because the links are not
    updated to point to the freshly built binaries... that's why we
    switched to the copy option... things that make ya go "hummmmm" ;)

    When you say "the makefiles", I assume you're referring to src/sbbs3/GNUmakefile (and scfg/GNUmakefile). The makefile in the
    install directory does perform the copy or symlink of the output files
    to the Synchronet "exec" directory. The src/*/GNUmakefiles do not know where your Synchronet exec directory is located, so they're not going
    to mess with it.

    they should know where they are because we always use the same options all the time...

    BUILDOPTS="DEBUG=1 USEDOSEMU=1 INSTALL=CLASSIC SBBSDIR=/sbbs SBBSUSER=sbbs SBBSGROUP=sbbs"

    or this one if we're using symlinks...

    BUILDOPTS="DEBUG=1 SYMLINK=1 USEDOSEMU=1 INSTALL=CLASSIC SBBSDIR=/sbbs SBBSUSER=sbbs SBBSGROUP=sbbs"

    this is why we have a script... specifically so we don't forget all these options that we used when we initially built and installed the system... we've done that too many times and mucked things up... every call to make or gmake is
    like the following...

    cd $SBBSDIR/src/sbbs3
    gmake $BUILDOPTS clean
    [...]
    cd $SBBSDIR/src/sbbs3
    gmake $BUILDOPTS

    of course, that's just a very short snip ;)

    so anyway, we figured that since the initial install makefile (above) knows where the directories are, what user:group and to use symlinks (or not), that the other makefiles would also know these details... that way everything an update from CVS and compile new binaries session would be done the same way... we're kinda learning and starting to understand that this is not true... only the initial installation makefile (above) carries that intelligence...

    Another option is to just not use the Synchronet exec directory for
    your native executable binaries. This would require updating anything/anywhere that executes exec/sbbs, exec/sbbsecho, etc. and changing to use either the full path to the build output directory or (preferably) a short symlink that you could then change to point to
    either *.exe.release or *.exe.debug output directories. You'd also
    need to update your LD_LIBRARY_PATH environment variable to point to either the *.lib.debug or *.lib.release directories. The symlink or
    copy method is simpler, but I use all of these methods myself at
    different times and under different testing conditions.

    yeah, we prefer to keep the system build and install like you guys already have
    it... we're just (still) trying to figure it all out and make sure we understand it ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I will never get over the shame of belonging to the same species as you. ---
    * Origin: (1:3634/12.73)