• Build failure on nightly - genwrap.c

    From Tristan Greaves@1:103/705 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=1make -C /sbbs/repo/src/sbbs3/../../3rdp/build jslibmake[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 libmake[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 mtlibmake[1]: Entering directory '/sbbs/repo/src/xpdev'Compiling genwrap.cgenwrap.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); | ^ | tmgenwrap.c:700:19: note: each undeclared identifier is reported only once for each function it appears ingenwrap.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 1make[1]: Leaving directory '/sbbs/repo/src/xpdev'make: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:493: xpdev-mt] Error 2```
    --- 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 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.
    --- 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 Sat Feb 12 00:55:49 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/339
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)