From nobody Sun Oct 10 20:41:15 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2AF7517FE4F0 for ; Sun, 10 Oct 2021 20:41:52 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HSDPD08thz4f1q; Sun, 10 Oct 2021 20:41:52 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: by mail-wr1-x436.google.com with SMTP id e3so15512480wrc.11; Sun, 10 Oct 2021 13:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HW6c5h0c08WNYn2ZHhVKhvrPe2X2kuRaLp3MOdDZCtk=; b=YCK+616h8GEosnCL4GPC+d5xZCIT5lS5D7b/Tmt9L9ALxtFpOj1uyGf8CACbtgk6ZG Y2xYBwOWgujICf35elhd+SvaJZCeY04u8d8nwvTabVyn3gikkcv3dnfIf+3t2K4MBui1 uFACTsFU5vYzo6kNNP/yVzDDlGElQRMwFPBSoouaWuuTUnDmYkyZvrzr8viODedMYqVJ 9s4Ph3Ykoc7OBKaLil7GG22mVe4qcxMsKufUJj95SGsIjM+EeSgjvDyQ1fyRF76JPXQq FEINy27AIEWBoSM+YI29Kn1VQLDOA4eKhWTLya8JLbbjI2NZ5yt14tbbDs0eBQQn3Qwt oyZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HW6c5h0c08WNYn2ZHhVKhvrPe2X2kuRaLp3MOdDZCtk=; b=3fZJXTNooza8QHr5DuX8CTsgaRIWAGXRto8cxY2K6r+YBDIKrndWwfBvUAhjmCrwAq jf/upUzVpizFxGFmyogfknPuVGVXS8qzWxYXnWNiiKlYEA4L4aesDVpGNtg39MzzBTb1 Pqb4+sto4fmeQKvDq7fbD+uDu5dn5Y/Q0ijcKfAreH8pTQ0ClEBKecO+qCG7LgS/voXp N+1giahaCd8H9A6cbYz++k/xxE1NewaN75lVbJBHFZxcYoshvcXjR8A2vEralCvS0cQe Lj9pQOYgDvkREX+aFrZBW3JIxhCbvLDsGlETOft5DXWTgiI4CmzNsJJmqLUM+T83R6lC 8sxQ== X-Gm-Message-State: AOAM5308VLas6mpR6QYJww3cHMZ8Cavxi8eghfMEwv1BPfuMFEnmG2Tj JO8R0//OlTqgygDTVUJeSP80xxt38WI4H9JBuOhmc69XB+oh4A== X-Google-Smtp-Source: ABdhPJz3OQh6vkRmaxfFzSj/58fjWQN6YYoTEnRWaINChl2g7NACLLXag0E9nD+vp4Bcc2m3gzc+uCf3DF5AkvYXlYM= X-Received: by 2002:adf:e101:: with SMTP id t1mr20514407wrz.395.1633898510215; Sun, 10 Oct 2021 13:41:50 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20211010040637.3fw7q6nl7gn7aum4@aniel.nours.eu> <20211010044111.mvzuepff34ztqctq@aniel.nours.eu> <20211010054519.ennyyt3qba3reaop@aniel.nours.eu> <339723c9-24d1-403e-bea8-a6978967db95@FreeBSD.org> In-Reply-To: <339723c9-24d1-403e-bea8-a6978967db95@FreeBSD.org> From: Daniel Nebdal Date: Sun, 10 Oct 2021 22:41:15 +0200 Message-ID: Subject: Re: clang/llvm-tblgen --- ld: error: undefined symbol: setupterm To: Baptiste Daroussin Cc: Warner Losh , Kyle Evans , Konstantin Belousov , Dimitry Andric , FreeBSD User , FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HSDPD08thz4f1q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 10 Oct 2021 at 22:17, Baptiste Daroussin 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