lotherk 4facdf5c9b userland cross: the target's X is reachable to the compiler, and libXft's missing prototype is brought in
fonts/Xft2 stopped at three X problems in a row (build/logs/userland-2026-11-13t.log,
build/logs/xft2-single*.log):

- x11-links builds a shadow tree from ${X11BASE}/<file> and /usr/<file>, both this
  host's paths in a cross build: it linked Debian's xorgproto headers and never
  Xrender.h.  For that one package X11BASE is now the sysroot's /usr/X11R7.
- mk/x11.buildlink3.mk:31 passes --x-includes=/usr/X11R7/include, and neither
  --sysroot nor the cwrappers make that resolve here (tested: plain gcc with
  --sysroot still fails; the wrapper rewrites the path into a shadow tree of the
  host's X).  GCC's sysroot-relative form works and the wrapper passes it
  through untouched (tested in a work directory): CPPFLAGS+= -I=${X11BASE}/include,
  LDFLAGS+= -L=${X11BASE}/lib.
- libXft 2.1.7 calls FT_GlyphSlot_Embolden with no declaration in scope and GCC
  14 errors on that; configure proves the symbol is in the library, the prototype
  is in <freetype/ftsynth.h>, so that header is included for the package.

fonts/Xft2 now builds and installs (build/logs/xft2-single4-2026-11-13.log
exit=0).  tools/userland.sh's comment records that a CFLAGS change in the
fragment needs a clean work directory.
2026-11-13 22:43:42 +00:00
S
Description
The Modern Unix Workstation OS
https://makronix.hiddenbox.org
7.1 GiB
0 Stars 3 Watchers 0 Forks
Languages
C 83.2%
Roff 5.6%
Assembly 5.3%
Shell 1.5%
Makefile 1.3%
Other 2.6%