From nobody Tue Jun 18 16:24:12 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 4W3XBy6g2zz5P445 for ; Tue, 18 Jun 2024 16:24:26 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W3XBy649cz4nd9; Tue, 18 Jun 2024 16:24:26 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718727866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WiB+qWHZgw49RagHiLhXONljzlrJcQpoC9vnlnbeJp0=; b=ECsbLx7xb3xdGiLjyXV4L8m6aKWbRy/niIY8MScJ8fJy/0rNd5dCOvZR1ML0pMw8NElfEB L517CSpvj1rgl7qGDjcc0KkuEuw+8/miqMN0FZPi/aSbZFhko27PL3FjU71R6PYcqu77vP /3HwEf8XGwmHCI2H/DgMCD//tzoZk3hLn92hBumvhj9cx6zbvbfqlXCwDQF6cNnVj0oAYY 53ZKy666rIl12v99J4wKxtZIdqZRnV0OGBkoIf3BDFReETwLw6R6cHC+KTekXVb0cVfrDi hBZRlOylkIW/+wCVDud0xLVsII97E/hwnJopsVxZheXJqjfyWGrr4ze6zAmq+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718727866; a=rsa-sha256; cv=none; b=IU7U4vDlvgMuFRza+8FyT76vlnZRcrifkmAzZBIVQg4riacweWwR0AefZyZZpUmbAVuvz9 RhU5Yp987oAl8iZtzMnK4dY4Pn+QxWoRuwB+L4TV2JqQ1lz1UCBJ+shduik+reoayI8/6t EzEt3dvBreq2/oI7SRBpoOstnQk8AyG/3W3CjDMTs9UqVQUVwYxfPE4cZY6alL9XyhK6OQ foeD0jLuT61Qz9Zp1/1xpWfMiYzUQKXWpAkgk+pehS+GjsuSB+lPTCIAlI9wES5FuHmK0p QTHSZ+J7KaoBjKiCpARv5su9gCUCgm0LIut7K5bPWvWBKdQXAd248tg8CQE3KQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718727866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WiB+qWHZgw49RagHiLhXONljzlrJcQpoC9vnlnbeJp0=; b=rcpB3Y+5Cy//nUCN0xVAXnAe/ecAsOWim1gFIb1hEDrmesiRo7kFgGSsC/MT2T8lFSibPD YW/WzrQafzxBw1qwwF10QW570IJautW00w9l75wthETRk/rZE+l36Ud1W9UeTd+K6WjqNT aaSC2lXEH8CkFvlparERSTE1FNA/+lbfdt2pgpME5gU8E0LMoWqoSn831qYbj0BRYRITL+ 2LsyiKKGSLmVlQPBuwTQdCAOfV3OcF3n9phhuvodJqvnlae3yPd+0EhA4P1TT9NNEtGw47 dcnC0UP6R0x5UkFCxHZ0e/455OQe7pm5F/1gglHZPVZ5+/HwMlKRKo/TiCmykw== Received: from mx.bofh.network (mx.bofh.network [IPv6:2a01:4f8:261:25de::227]) (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) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4W3XBy2TQcz1C59; Tue, 18 Jun 2024 16:24:26 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id eb7abace (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 18 Jun 2024 16:24:23 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_6C255065-D673-4C8C-B870-1D1C9E88F12D"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: ncurses /usr vs. /usr/local vs. undefined symbols From: Moin Rahman In-Reply-To: Date: Tue, 18 Jun 2024 18:24:12 +0200 Cc: "current@freebsd.org" , Baptiste Daroussin Message-Id: <2A8D4448-A44C-4ABD-A386-0C7170EAFA74@freebsd.org> References: <3q7s965n-8o40-sqr5-o1o3-7np391o86on8@yvfgf.mnoonqbm.arg> To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_6C255065-D673-4C8C-B870-1D1C9E88F12D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jun 18, 2024, at 6:13 PM, Moin Rahman wrote: >=20 >=20 >=20 >> On Jun 18, 2024, at 5:41 PM, Bjoern A. Zeeb = wrote: >>=20 >> Hi, >>=20 >> I have no idea where to start but I know if I uninstall the ncruses = port >> the problem goes away. >>=20 >> 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: >>=20 >> ld: error: undefined symbol: newterm >>>>> referenced by clamdtop.c >>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) >>=20 >> ld: error: undefined symbol: start_color >>>>> referenced by clamdtop.c >>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) >>=20 >> ld: error: undefined symbol: nonl >>>>> referenced by clamdtop.c >>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) >>=20 >> ld: error: undefined symbol: noecho >>>>> referenced by clamdtop.c >>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main) >>=20 >> ..... >>=20 >>=20 >> # ldconfig -r | grep curses >> 62:-lncursesw.9 =3D> /lib/libncursesw.so.9 >> 289:-lncurses.6 =3D> /usr/local/lib/libncurses.so.6 >>=20 >>=20 >> 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? >>=20 >> /bz >>=20 >> -- >> Bjoern A. Zeeb = r15:7 >=20 > Hi, >=20 > I did update ncurses sometimes in April or May. Can you confirm = whether > if this is happening after that? >=20 > Kind regards, > Moin My Goldfish memory just recollected that there is a long outstanding issue regarding this. And it's mostly for libraries which exist in both worlds. The linkers and libraries do not play well when the build system mainly picks up the library from the ports and headers from src or vice versa. It just goes wonky. Let me know the ports which are affected and also if this is the case in head or quarterly. I will have a look if something can be done. Kind regards, Moin --Apple-Mail=_6C255065-D673-4C8C-B870-1D1C9E88F12D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmZxtKxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJFg2BAAh9RvBairUqgTZt2T6JX5s0YGescivlv3g1Lp8fQrRV5V3FvMe5ksF0Uv ANKEblkYyXRwp52sF/eGzuDi27TqFjRQW4hPwnvJOJi6qsnRJDtFh06SyxzKdDio t6l5L93ZmIDRRE0+W1UF/rUo3h4frigUNELPbfkldzpkTcFDtyiDpM5sPHejW/WV tDizTy+OlF9m9YXs54TJNJVNsy3Fo+HSJR20x8PSA9ReY/DNMvF8h470UgbSeodK mfbfiEKXbfXrcNGD7+QrwRwogApDaDD2vypzWJI9uYr9UvSwrfy+ciE6GzUcg0tV Ab3Z+jGXQjMX4/JhtWsjMLVzfQ9tSJncF/N/+GH89DgnYabJwtTO7/eBoh7IJEkQ J2AsFM/fVOxN+Vngnn4tC/uL4lleJDWCSIkS5ctAH5V9fE7hCOjqOgxJf5KSeal5 49ltB4WgAJsSl4KxnN+1icUxFSaKj6XiRm+RAVpYO8WBaK30YcBAsDJurDvo+9N6 r7I216w6I7juGyGQe/EAyWz3xdnaZvsakyvOW3hS1npL1LHBruWjC8BbnCZR+F9R fh60EoZJFY42pq4tioRmgsySdKGbJLXk3H+7fnKn7GIm1U+w2AYpqC+YOb7Gnk7h BIpCReCLgXGc3N9Uom/ITOegJQFXGqwa86epWV587MrWokM5RDU= =nbKa -----END PGP SIGNATURE----- --Apple-Mail=_6C255065-D673-4C8C-B870-1D1C9E88F12D--