NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/56181: build.sh fails on OpenBSD 6.9 #3 - sysinst fails to build due to counting error in msg_xlat.sh



>Number:         56181
>Category:       toolchain
>Synopsis:       build.sh fails on OpenBSD 6.9 #3 - sysinst fails to build due to counting error in msg_xlat.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 12:55:00 +0000 2021
>Originator:     Chris Pinnock
>Release:        NetBSD-current, recent sources as of 16/5/2021
>Organization:
>Environment:
OpenBSD blowfish.home 6.9 GENERIC.MP#473 amd64
OpenBSD clang version 10.0.1
Target: amd64-unknown-openbsd6.9
Thread model: posix

>Description:
cf PR#56179 & PR#56180

sysinst will not build due to the check for formatting in one of the 
German messages files. This looks like a bug/feature/characteristic of the 
OpenBSD sh running msg_xlat.sh in the count logic.  I was able to get 
past this by using bash as HOST_SH (which of course is not native 
to the build, but on Open sh == ksh leaving little other options).

msg_xlat.sh: ERROR Wrong number of format specifiers in "openfail", got 5, expected 4
*** Failed target:  sysinstmsgs.de
*** Failed command: /home/cjep/usr/src/obj/tooldir.OpenBSD-6.9-amd64/bin/nbsed "s/@@VERSION@@/9.99.82/" /home/cjep/usr/src/usr.sbin/sysinst/arch/amd64/.    ./../msg.mi.de /home/cjep/usr/src/usr.sbin/sysinst/arch/amd64/../i386/msg.md    .de /home/cjep/usr/src/usr.sbin/sysinst/arch/amd64/../../msg.mbr.de /home/cj    ep/usr/src/usr.sbin/sysinst/arch/amd64/../../msg.pm.de | /home/cjep/usr/src/    obj/tooldir.OpenBSD-6.9-amd64/bin/nbsed "s/@@MACHINE@@/amd64/" | /home/cjep/    usr/src/obj/tooldir.OpenBSD-6.9-amd64/bin/nbawk -f /home/cjep/usr/src/usr.sb    in/sysinst/arch/amd64/../../unif.awk -v defines="BOOTSEL AOUT2ELF HAVE_INSTA    LL_IMAGE" | /bin/sh /home/cjep/usr/src/usr.sbin/sysinst/arch/amd64/../../msg    _xlat.sh -f sysinstmsgs.fmtcnt > sysinstmsgs.de
>How-To-Repeat:
Install OpenBSD 6.9 
Grab src
./build.sh -U -m amd64 release
(Note that whilst PR#56179 & PR#56180 remain open you will need to apply the
workarounds their to be able to get to the sysinst problem.)


>Fix:

>Unformatted:
 ber


Home | Main Index | Thread Index | Old Index