[Bug 275614] make TARGET=i386 buildworld fails while building ncurses

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Dec 2023 21:37:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275614

            Bug ID: 275614
           Summary: make TARGET=i386 buildworld fails while building
                    ncurses
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: dmk@ncf.ca

Created attachment 246885
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246885&action=edit
log of make TARGET=i386 buildworld

I have recently upgraded to 14.0-RELEASE-p1. I keep an i386 jail to build the
x86 packages for wine. The crosscompile buildworld (make TARGET=i386
buildworld) consistently fails while trying to build ncurses

Building /usr/obj/usr/src/i386.i386/lib/ncurses/ncurses/lib_color.o
/usr/src/contrib/ncurses/ncurses/base/lib_color.c:192:5: error: call to
undeclared function '_nc_tiparm'; ISO C99 and later do not support implicit
function declarations [-Werror,-Wimplicit-function-declaration]
                                TIPARM_1(set_a_background, bg),
                                ^
/usr/src/contrib/ncurses/include/nc_tparm.h:81:23: note: expanded from macro
'TIPARM_1'
#define TIPARM_1(s,a) _nc_tiparm(1,s,a)

I've attached a complete build log.

-- 
You are receiving this mail because:
You are the assignee for the bug.