Date: Sun, 10 Oct 2021 22:41:15 +0200 From: Daniel Nebdal <dnebdal@gmail.com> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>, Dimitry Andric <dim@freebsd.org>, FreeBSD User <freebsd@walstatt-de.de>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: clang/llvm-tblgen --- ld: error: undefined symbol: setupterm Message-ID: <CA%2Bt49P%2B5OFUPjFBXy0xvcDZXi51BSF0z294Q8Eok8ZivjD9O8w@mail.gmail.com> In-Reply-To: <339723c9-24d1-403e-bea8-a6978967db95@FreeBSD.org> References: <CANCZdfok58DEoCfZk_6w6p_3vJ9mV0FopAnuX6Av4C%2Bs8s5E8g@mail.gmail.com> <YWIifx%2BT0ETlzVIU@kib.kiev.ua> <CANCZdfpMHTKqRE=byupGpHpmJ-_bk9ZLTDv=_hxXYSkFMKa3Og@mail.gmail.com> <YWIrWtxlXwSpBi4i@kib.kiev.ua> <20211010040637.3fw7q6nl7gn7aum4@aniel.nours.eu> <20211010044111.mvzuepff34ztqctq@aniel.nours.eu> <CANCZdfpu2tLJV%2B1RFwAbCeX-AvvUy7iKqKOP6fWcwwhjvYY=jA@mail.gmail.com> <CANCZdfrKCBHfem77PFxNzqO-Z9mB1QKgxYDXyK2GH488YLe4AA@mail.gmail.com> <CACNAnaGXDE1PRtHXTiX=AmG=M5kxtW%2B8J--iW_hgZa8R3=i7%2Bg@mail.gmail.com> <CANCZdfr5fAB6K4Zj82X35VX1ZVG4YL9POZRA7=qqqF3VeUHDMw@mail.gmail.com> <20211010054519.ennyyt3qba3reaop@aniel.nours.eu> <CA%2Bt49PLYniWTmxTUw5aLeZmm3L3U0WnBMbxThpuwXgPbwVr4BQ@mail.gmail.com> <339723c9-24d1-403e-bea8-a6978967db95@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Oct 2021 at 22:17, Baptiste Daroussin <bapt@freebsd.org> wrote: > > > > > I don't know if this is the right place to jump in, but I suspect this > > is a related issue? > > I'm trying to do the opposite - building 14 on a 13-STABLE machine. It > > fails when trying to build ncurses: > > > > root@p14s-bsd:/usr/src # uname -v > > FreeBSD 13.0-STABLE #0 stable/13-n247584-fdbbd118faa: Sun Oct 10 > > 03:25:38 CEST 2021 > > root@p14s-bsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > > root@p14s-bsd:/usr/src # git pull > > Already up to date. > > root@p14s-bsd:/usr/src # git status > > On branch main > > Your branch is up to date with 'origin/main'. > > > > nothing to commit, working tree clean > > root@p14s-bsd:/usr/src # make buildworld > build.log > > (...) > > > > The full log is at http://eurostar.nebdal.no/build.log > > It's all variations over this: > > > > ===> lib/ncurses/ncurses (obj,all,install) > > Building /usr/obj/usr/src/amd64.amd64/lib/ncurses/ncurses/lib_color.o > > /usr/src/contrib/ncurses/ncurses/base/lib_color.c:192:5: error: > > implicit declaration of function '_nc_tiparm' is invalid in C99 > > [-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) > > ^ > > /usr/src/contrib/ncurses/ncurses/base/lib_color.c:192:5: error: > > incompatible integer to pointer conversion passing 'int' to parameter > > of type 'const char *' [-Werror,-Wint-conversion] > > 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) > > ^~~~~~~~~~~~~~~~~ > > > > -DanielN > > It is an entirely different storry that deserves its own investigation! > > I will try to find time in the next couple of days. > > In the meantile could you provide your make.conf, src.conf and src-env.conf? > > Best regards > Bapt Sure - they're plain enough: # cat /etc/make.conf cat: /etc/make.conf: No such file or directory # cat /etc/src.conf cat: /etc/src.conf: No such file or directory # cat /etc/src-env.conf WITH_META_MODE=YES I did try with meta mode disabled as well, with the same result. -DanielN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bt49P%2B5OFUPjFBXy0xvcDZXi51BSF0z294Q8Eok8ZivjD9O8w>