Subject: Re: i386-current floppies won't build because of Spanish messages?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 10/06/2005 22:01:09
On Thu, Oct 06, 2005 at 01:42:15PM -0700, Hisashi T Fujinaka wrote:
> Sorry, I have no idea how to debug this stuff.
$ cd $SRC/distrib/utils/sysinst
$ nbmake
> # create i386/sysinstmsgs.es
> sed "s/@@VERSION@@/3.99.9/"
> /usr/src/distrib/utils/sysinst/arch/i386/../../msg.mi.es
> /usr/src/distrib/utils/sysinst/arch/i386/msg.md.es
> /usr/src/distrib/utils/sysinst/arch/i386/../../msg.mbr.es | awk -f
> /usr/src/distrib/utils/sysinst/arch/i386/../../unif.awk -v defines="BOOTSEL
> AOUT2ELF" | sh /usr/src/distrib/utils/sysinst/arch/i386/../../msg_xlat.sh
> -f sysinstmsgs.fmtcnt > sysinstmsgs.es
> ERROR: Wrong number of format specifiers in "onedisk", got 3, expected 4
Here a 'grep -r onedisk' is enough...
Note that the text in msg.mi.es has a different number of format arguments
than the one in msg.mi.en.
The build script just counts the % characters, maybe it could check more,
but counting the % chars does quite well.
David
Someone else seems to have beaten me to the fix...
--
David Laight: david@l8s.co.uk