Re: git: e2c93ed09f25 - main - sys/font.h: avoid warnings about too-long initializer strings
Date: Fri, 26 Dec 2025 15:40:33 UTC
Here my config: # cat /etc/src.conf WITH_MALLOC_PRODUCTION=yes WITHOUT_LLVM_ASSERTIONS=yes WITHOUT_PTHREADS_ASSERTIONS=yes WITHOUT_ASSERT_DEBUG=yes WITH_LLVM_LINK_STATIC_LIBRARIES=yes # cat /etc/src-env.conf WITH_META_MODE=yes Cheers, Dimitry Andric <dim@freebsd.org> escreveu (sexta, 26/12/2025 à(s) 15:10): > On 26 Dec 2025, at 15:53, Dimitry Andric <dim@freebsd.org> wrote: > > > > On 26 Dec 2025, at 15:49, Nuno Teixeira <eduardo@freebsd.org> wrote: > >> > >> I've just spoted by luck that world fails at this commit: > >> > >> Building > /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.sbin/zic/_debuginstall > >> In file included from /usr/src/usr.bin/vtfontcvt/vtfontcvt.c:32: > >> /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include/sys/font.h:111:22: > error: expected ';' at end of declaration list > >> 111 | uint8_t fh_magic[8] __nonstring; > >> | ^ > >> | ; > > > > Strange, I did a full buildworld and it worked just fine? Are you using > any special configuration settings? > > Oh I see, commit 802c6d5d61d1 on 2025-12-16 introduced the attribute. For > some reason, the vtfontcvt bootstrap build is using <sys/font.h> from the > source tree, but <sys/cdefs.h> from the host system. This is weird, I will > have to look into it. If I cannot resolve it quickly, I will revert for now. > > -Dimitry > > -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org