From nobody Fri Sep 22 00:56:15 2023 X-Original-To: ports-bugs@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 4RsDNb30w2z4vFFN for ; Fri, 22 Sep 2023 00:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsDNb1qC5z4WWZ for ; Fri, 22 Sep 2023 00:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695344175; a=rsa-sha256; cv=none; b=lT06lf6jDk+meJKfAbYo7xNA3TyKGJCFx//zWEO3LjteElTwj46LrnKG2hc9x/zUdGZiO4 XdzkC4w7yUWVkPIcJR8/t7FfessQGkir7ZOoJQLEUF8KtSfRn6aAC2uti4Cf9gWirZbjJW S5teuGVcDQundGgyKHzmxh2wBpZg1GtyTpjaQWC4xJa32SXVnbHN+IdmTofL3NAM/2Bs7e IaDWI7NZHTfxD53qRauYHeiUBqR3t0Tkm0LBiQwrItBAZeb7w+85Q6Mzgscr3mIkb8wsVg xcrbkkIz/87COtiqbO9Jk9Ib1vC7s4QX6DxKxE00mSbeutMstv4vidf+XZVQxQ== 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=1695344175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lIZA1lkeNHYtiOBa2lv148DfocS9/PxMPtNkWgE5l0o=; b=Ljrf+MdcUBE8fF+hB5g1+8LLldVGINCyl0UUGmHJlTI5zxU9AsB+7idWExEvUovGXIHc2o WGx0LBuQBCqxGQa8i5C6OttTx3UhCacSlfiftoxgXAL8UBiephAa2pVv7K9Ub5EjgqLBMP 4Vt9KpGR6hMybGWtdiCf3CetT3nOvLyDm0Lkae5y7a+fpl0RSsAelkNMMAv8qqmamojk9p vMzIZ5jCRtsDSI1qE9xheiN0yDgQDYQEo1JTQFNlJe3FIw9s3fAek15JvIPJHlKUbCkTT2 8LEVXpAGkWMKOS42UTiHbNh8tBZTOzRWqeTfePaPxn/VVV7OKaOO/bY/I2rVXw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsDNb0mrdz110L for ; Fri, 22 Sep 2023 00:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38M0uFwT000421 for ; Fri, 22 Sep 2023 00:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38M0uFMl000420 for ports-bugs@FreeBSD.org; Fri, 22 Sep 2023 00:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274012] warnings about unused LIB_DEPENDS entries warn about libraries that are actually used Date: Fri, 22 Sep 2023 00:56:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274012 Bug ID: 274012 Summary: warnings about unused LIB_DEPENDS entries warn about libraries that are actually used Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@freebsd.org CC: ports-bugs@FreeBSD.org The commit f3790c0170d85995b0fa58c6c50cef03088bf5ec on Sep 12 08:21:03 2023 introduced these warnings. However, when the shared library names contain versions it issues warnings saying that these libraries aren't needed when they are actually needed. Testcase: security/tor security/tor depends on libevent.so which is a symlink: > $ ls -l /usr/local/lib/libevent.so > lrwxr-xr-x 1 root wheel 21 Aug 5 18:07 /usr/local/lib/libevent.so -> = libevent-2.1.so.7.0.1 The port has LIB_DEPENDS=3Dlibevent.so:devel/libevent, which is correct. The toolchain links binaries with libevent-2.1.so.7.0.1 which is also corre= ct. But then 'make stage-qa' prints "Warning: you might not need LIB_DEPENDS on libevent.so" which is wrong. --=20 You are receiving this mail because: You are on the CC list for the bug.=