From nobody Tue Jun 18 15:41:11 2024 X-Original-To: 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 4W3WFP0tX6z5P1H3 for ; Tue, 18 Jun 2024 15:41:29 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W3WFM5Xn1z4hkb; Tue, 18 Jun 2024 15:41:27 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 7EFCC8D4A126; Tue, 18 Jun 2024 15:41:18 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 8E1DF2D029D8; Tue, 18 Jun 2024 15:41:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 95T6krQe_BJ2; Tue, 18 Jun 2024 15:41:13 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 09E792D029D2; Tue, 18 Jun 2024 15:41:12 +0000 (UTC) Date: Tue, 18 Jun 2024 15:41:11 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@FreeBSD.org cc: bofh@FreeBSD.org, Baptiste Daroussin Subject: ncurses /usr vs. /usr/local vs. undefined symbols Message-ID: <3q7s965n-8o40-sqr5-o1o3-7np391o86on8@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4W3WFM5Xn1z4hkb Hi, I have no idea where to start but I know if I uninstall the ncruses port the problem goes away. I am trying to build a few packages on main/arm64 (from the last 24h) and this is like the 5th port I run into this problem now: ld: error: undefined symbol: newterm >>> referenced by clamdtop.c >>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) ld: error: undefined symbol: start_color >>> referenced by clamdtop.c >>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) ld: error: undefined symbol: nonl >>> referenced by clamdtop.c >>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) ld: error: undefined symbol: noecho >>> referenced by clamdtop.c >>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) ..... # ldconfig -r | grep curses 62:-lncursesw.9 => /lib/libncursesw.so.9 289:-lncurses.6 => /usr/local/lib/libncurses.so.6 Something tells me something has changed but I don't even know where to start digging. I didn't see this the last time I did in March. Is this a src or a ports problem, ncurses or even linker? /bz -- Bjoern A. Zeeb r15:7