Bug 191114

Summary: [build] buildworld failure using WITHOUT_NCURSESW
Product: Base System Reporter: dewayne
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: avos
Priority: ---    
Version: 10.0-STABLE   
Hardware: Any   
OS: Any   

Description dewayne 2014-06-17 01:21:42 UTC
Performing a buildworld using 10.Stable on both amd64 and i386 platforms result in the error (below) during stage 5.1. /etc/src.conf contains this line
WITHOUT_NCURSESW=YES
when the line is removed, the build completes successfully. The world is prepared for headless servers, so unnecessary material is removed.

uname -vK
FreeBSD 10.0-STABLE #0 r267307M: Mon Jun 16 18:04:07 EST 2014     root@hathor:/usr/obj/usr/src/sys/hqdev-vga  1000710


CC='cc -m32 -march=core-avx-i -DCOMPAT_32BIT  -isystem /usr/obj/usr/src/lib32/usr/include/  -L/us
--- lib/ncurses/ncursesw__L ---
--- init_keytry.h ---
./make_keys keys.list > init_keytry.h
./make_keys: Exec format error
*** [init_keytry.h] Error code 126

make[4]: stopped in /usr/src/lib/ncurses/ncursesw
1 error

make[4]: stopped in /usr/src/lib/ncurses/ncursesw


To reproduce
echo WITHOUT_NCURSESW=YES > /etc/src.conf
echo 'CPUTYPE?= core-avx-I' > /etc/make.conf
echo 'ARCH=amd64'>> /etc/make.conf
cd /usr/src
make -j8 buildworld DESTDIR=/tmp/no-ncursesw > /tmp/n-ncursesw.log 2>&1
Comment 1 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-21 03:41:23 UTC
Cannot reproduce on base r343244 (with 10-STABLE) + it was removed in base r266157, so this option does not exist for newer releases.