Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2025 16:10:05 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: e2c93ed09f25 - main - sys/font.h: avoid warnings about too-long initializer strings
Message-ID:  <1552440A-518D-4F08-9019-7006EC3ADCF7@FreeBSD.org>
In-Reply-To: <5FAF9BAC-37B2-4B13-9146-65401C067BAE@FreeBSD.org>
References:  <694e9c7d.3cfe6.7a265e1e@gitrepo.freebsd.org> <CAFDf7ULL=yTWXmD946XX-t45aEsfoWbys0q=SBTcwkSagj4hrA@mail.gmail.com> <5FAF9BAC-37B2-4B13-9146-65401C067BAE@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1552440A-518D-4F08-9019-7006EC3ADCF7>