Bug 191114 - [build] buildworld failure using WITHOUT_NCURSESW
Summary: [build] buildworld failure using WITHOUT_NCURSESW
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 01:21 UTC by dewayne
Modified: 2019-01-21 03:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.