From nobody Mon Nov 11 04:41:18 2024 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 4XmxhH05W6z5cmJK for ; Mon, 11 Nov 2024 04:41:19 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XmxhG2DKmz4J55 for ; Mon, 11 Nov 2024 04:41:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731300078; 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=18vrPtbzXuvBqQGthFY4wjhVj3fxIU2DkQPlmu7EX+U=; b=m0jkgLNNju2zNY7QjEsUl2BT2awkxvxvVqYrxnfrPIkgNucFqsO3DmlRrouBI4UssVxLIA ZELYJbg0cQBrJJL/lP3I/LX6NGpGPs0OmQ+dua1vjZ9vJdHLjgpYAjXlx07KSzdgLVPjKw zEWFaBDPvFHSnQeuImk73X3t92DqUeTYVBT1pP429FWWrUCgWdjhjh586pWTHcVU0pQHBB 6XVqreCLrMQ4acoOipWVqYorJsN1MRYvrTTgebF9qxnJqHSULfd6sfdpqTzAdr/XKZNnA/ Foo6ylVB39fu8s17wjRPurpME2Koj0uC9nFe+QkQEa03Z38HBEFFcaHxRcy4sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731300078; a=rsa-sha256; cv=none; b=BblExyGvlQtTcMs4v1MYwbvfL5uI8gGHgsHWt4iF5OgSbwHGjFAQhwySJD/AnZlQab7ZeV d9pXtm2vflAumhpRSepujPCmwnc9jGZqpwdhVhiA5GB4a2vEfJvzZTs1k4ZLxz6IJye5cR +nzyJ4CWP+oPYc7m9guvZCgWJubC8banCOGX0Pwac1c44w+0zXeaqsKDno7NGHrUSdFfdG 1j+ko3xWrtD5y2nxi5+S+mJyGRdKyKBH1io7HKyUXzkftLyrtlItgiQS0hMz+TZqkSAvlu 9lcjt7T3+BbFXQKCy9ncxyi++hikQSmEvlLd2ZaNMuhXCGCp6BzN7ehistrx+w== 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 4XmxhG1l3Jz1BSv for ; Mon, 11 Nov 2024 04:41:18 +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 4AB4fIvL079782 for ; Mon, 11 Nov 2024 04:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AB4fIwC079781 for ports-bugs@FreeBSD.org; Mon, 11 Nov 2024 04:41:18 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 282687] filesystems/smbnetfs: fails to find installed libsecret dependency if libsecret-storage.so installed Date: Mon, 11 Nov 2024 04:41:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282687 Bug ID: 282687 Summary: filesystems/smbnetfs: fails to find installed libsecret dependency if libsecret-storage.so installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com sysutils/syslog-ng installs lib/libsecret-storage.so If that is installed when trying to build filesystems/smbnetfs, the followi= ng shows it fails to find the installed =3D=3D=3D> fusefs-smbnetfs-0.6.3_1 depends on shared library: libsecret-*= .sotest: /usr/local/lib/libsecret-1.so: unexpected operator test: /usr/local/lib/libsecret-1.so: unexpected operator - not found The dependency is specified in filesystems/smbnetfs/Makefile with a wildcar= d: LIBSECRET_LIB_DEPENDS=3D libsecret-*.so:security/libsecret If libsecret-1.so and libsecret-storage.so are both installed, then Mk/Scripts/find-lib.sh gets two args, and it is not prepared for that, caus= ing the above error. That makes it seem like libsecret-1.so is not installed (= even though it is), and the build process tries to build / install libsecret aga= in which fails (because it is already installed). I think it's better to be explicit and not use a wildcard in the build dependency: diff --git a/filesystems/smbnetfs/Makefile b/filesystems/smbnetfs/Makefile index a577b6ece99b..5a07f103f7ea 100644 --- a/filesystems/smbnetfs/Makefile +++ b/filesystems/smbnetfs/Makefile @@ -16,7 +16,7 @@ OPTIONS_DEFINE=3D DOCS LIBSECRET LIBSECRET_DESC=3D Use libsecret to store credentials LIBSECRET_CONFIGURE_WITH=3D libsecret -LIBSECRET_LIB_DEPENDS=3D libsecret-*.so:security/libsecret +LIBSECRET_LIB_DEPENDS=3D libsecret-1.so:security/libsecret DOCSDIR=3D ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} This is the only instance of a wildcard in LIB_DEPENDS I could find in the ports tree. find-lib.sh admittedly should probably not fail this way (with= a bourne shell parsing error), but I don't think smbnetfs should depend on ju= st any libsecret-*.so that happens to be installed. --- Comment #1 from Bugzilla Automation --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=