• Build failure on nightly - genwrap.c

    From Tristan Greaves@VERT to GitLab issue in main/sbbs on Sat Feb 12 00:51:01 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/339

    Hi,

    On a pull of the latest code, building results as follows. Initial build and install a week or so ago on this machine was successful.

    ```
    @synchronet:/sbbs/repo/src/sbbs3$ make RELEASE=1 SYMLINK=1
    make -C /sbbs/repo/src/sbbs3/../../3rdp/build jslib
    make[1]: Entering directory '/sbbs/repo/3rdp/build'
    make[1]: Nothing to be done for 'jslib'.
    make[1]: Leaving directory '/sbbs/repo/3rdp/build'
    make -C /sbbs/repo/src/sbbs3/../smblib lib
    make[1]: Entering directory '/sbbs/repo/src/smblib'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/sbbs/repo/src/smblib'
    make -C /sbbs/repo/src/sbbs3/../xpdev mtlib
    make[1]: Entering directory '/sbbs/repo/src/xpdev'
    Compiling genwrap.c
    genwrap.c: In function `msclock':
    genwrap.c:698:11: error: expected identifier or `(' before `=' token
    698 | uint64_t = (uint64_t)(xp_timer() * 1000);
    | ^
    genwrap.c:700:19: error: `t' undeclared (first use in this function); did you mean `tm'?
    700 | return (clock_t)(t&0xffffffff);
    | ^
    | tm
    genwrap.c:700:19: note: each undeclared identifier is reported only once for each function it appears in
    genwrap.c: In function `xp_randomize':
    genwrap.c:521:3: warning: ignoring return value of `read', declared with attribute warn_unused_result [-Wunused-result]
    521 | read(rf, &seed, sizeof(seed));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [../build/Common.gmake:462: gcc.linux.x64.obj.release-mt/genwrap.o] Error 1
    make[1]: Leaving directory '/sbbs/repo/src/xpdev'
    make: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:493: xpdev-mt] Error 2 ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sat Feb 12 00:55:49 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/339#note_2279

    That's not a "nightly" (nightlies are no a different branch, e.g. dailybuild_linux-x64).

    And yeah, I think build issue's already been fixed just minutes ago. But if you want a guaranteed build, use the nightly branch.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Sat Feb 12 00:55:49 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/339

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