Hi Branden, On Mon, Oct 06, 2025 at 05:42:24AM -0500, G. Branden Robinson wrote: > [looping in groff@gnu list]
[Actually looping in [email protected]; I think you forgot. :] > [was: '^\}$' is (not) changed to a space character] [...] > > I tried building groff from git HEAD to see if that fixed the issues > > in my server. However, it seems groff doesn't build at the moment: > > [...] > > > > Did you forget some #include? > > It builds for me and others, like Deri and Grisha Levit. > > https://lists.gnu.org/archive/html/groff/2025-10/msg00009.html > > Have you "bootstrapped" lately? That's necessary for Git users when we > bump the version of gnulib we include, which we probably did after > either 1.23.0.2695-49927 or 1.23.0.1254-19a18, and maybe both. One > thing I do recall is bumping gnulib to get at the checked arithmetic > functions--precisely the ones you see above. Yes, I bootstrapped today. I also ran 'git submodule update' prior to that. > > Also, FYI: > > $ git describe origin/master > 1.23.0-4017-g3ea378d35 I can reproduce both on my server (Debian) and on my desktop (Devuan). I'm using Sid, so that may have something to do (maybe I have a more recent compiler that errors where yours doesn't?). alx@devuan:~/src/gnu/groff/master$ git describe HEAD 1.23.0-4017-g3ea378d35 alx@devuan:~/src/gnu/groff/master$ git status On branch master Your branch is up to date with 'gnu/master'. nothing to commit, working tree clean alx@devuan:~/src/gnu/groff/master$ git submodule update alx@devuan:~/src/gnu/groff/master$ git submodule 3fbc2c7bb371916a6f3433ef28d84874909d1052 gnulib (v1.0-1350-g3fbc2c7bb3) alx@devuan:~/src/gnu/groff/master$ set -o pipefail alx@devuan:~/src/gnu/groff/master$ time ./bootstrap |& wc -l; echo $? 681 real 0m5.284s user 0m3.950s sys 0m0.496s 0 alx@devuan:~/src/gnu/groff/master$ time ./configure |& wc -l; echo $? 430 real 0m11.332s user 0m8.099s sys 0m2.322s 0 alx@devuan:~/src/gnu/groff/master$ time make -j24 -k |& wc -l; echo $? 1385 real 0m4.765s user 0m35.467s sys 0m2.930s 2 alx@devuan:~/src/gnu/groff/master$ make make all-recursive make[1]: Entering directory '/srv/alx/src/gnu/groff/master' make[2]: Entering directory '/srv/alx/src/gnu/groff/master' CXX src/roff/troff/div.o In file included from src/roff/troff/div.cpp:29: src/roff/troff/hvunits.h: In member function ‘units vunits::to_units()’: src/roff/troff/hvunits.h:91:7: error: ‘ckd_mul’ was not declared in this scope 91 | if (ckd_mul(&r, n, vresolution)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator+(const vunits&, const vunits&)’: src/roff/troff/hvunits.h:105:7: error: ‘ckd_add’ was not declared in this scope 105 | if (ckd_add(&r.n, r.n, y.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator-(const vunits&, const vunits&)’: src/roff/troff/hvunits.h:114:7: error: ‘ckd_sub’ was not declared in this scope 114 | if (ckd_sub(&r.n, r.n, y.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator-(const vunits&)’: src/roff/troff/hvunits.h:123:7: error: ‘ckd_mul’ was not declared in this scope 123 | if (ckd_mul(&r.n, x.n, -1)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator*(const vunits&, int)’: src/roff/troff/hvunits.h:145:7: error: ‘ckd_mul’ was not declared in this scope 145 | if (ckd_mul(&r.n, x.n, n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator*(int, const vunits&)’: src/roff/troff/hvunits.h:154:7: error: ‘ckd_mul’ was not declared in this scope 154 | if (ckd_mul(&r.n, n, x.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In member function ‘units hunits::to_units()’: src/roff/troff/hvunits.h:208:7: error: ‘ckd_mul’ was not declared in this scope 208 | if (ckd_mul(&r, n, hresolution)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘hunits operator+(const hunits&, const hunits&)’: src/roff/troff/hvunits.h:222:7: error: ‘ckd_add’ was not declared in this scope 222 | if (ckd_add(&r.n, r.n, y.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘hunits operator-(const hunits&, const hunits&)’: src/roff/troff/hvunits.h:231:7: error: ‘ckd_sub’ was not declared in this scope 231 | if (ckd_sub(&r.n, r.n, y.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘hunits operator-(const hunits&)’: src/roff/troff/hvunits.h:241:7: error: ‘ckd_mul’ was not declared in this scope 241 | if (ckd_mul(&r.n, x.n, -1)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘hunits operator*(const hunits&, int)’: src/roff/troff/hvunits.h:263:7: error: ‘ckd_mul’ was not declared in this scope 263 | if (ckd_mul(&r.n, x.n, n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘hunits operator*(int, const hunits&)’: src/roff/troff/hvunits.h:272:7: error: ‘ckd_mul’ was not declared in this scope 272 | if (ckd_mul(&r.n, x.n, n)) | ^~~~~~~ src/roff/troff/div.cpp: In member function ‘virtual void macro_diversion::output(node*, bool, vunits, vunits, hunits)’: src/roff/troff/div.cpp:325:7: error: ‘ckd_add’ was not declared in this scope 325 | if (ckd_add(&new_vpos, vpos, lineht)) | ^~~~~~~ make[2]: *** [Makefile:9395: src/roff/troff/div.o] Error 1 make[2]: Leaving directory '/srv/alx/src/gnu/groff/master' make[1]: *** [Makefile:11776: all-recursive] Error 1 make[1]: Leaving directory '/srv/alx/src/gnu/groff/master' make: *** [Makefile:6977: all] Error 2 Cheers, Alex -- <https://www.alejandro-colomar.es> Use port 80 (that is, <...:80/>).
signature.asc
Description: PGP signature
