From nobody Wed May 25 20:47:35 2022 X-Original-To: freebsd-ports@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 6D96E1B51BAE for ; Wed, 25 May 2022 20:47:38 +0000 (UTC) (envelope-from se@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 4L7jn62dcfz3n9Y; Wed, 25 May 2022 20:47:38 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653511658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=XM7gKUtdJxTavGDGYaWtrmJBKO6VVwkhmKxy3qPpyco=; b=lTUCR2ir+ljijSB+1Jp6I2nkT957f9bzynyw33DqAfY+wCEXiUXt4v3FADEJODPtFpp2Kt VzrmyLElT6Cp7mYX767AB9gIlv1H/Pbdl4b4nVfiQ2lQmxeWMXUb17UaD36m5sP/vv2wrQ lVlVdYrvaY00c1F6Gk9/Md3oGEl4RlZT0YTVvkEROannQ1AuxrKwSZEIhyegefY6CuN3ai Rt+JeB0ZHd7qtIfN52HvbfTtPZU10ftSA0CrRJhl3bANskNlMof6Sp9vAArFt306ERn1pR Y2Q+jO5JZmIbtmr0WAOWRsPCWzs1iPgnVQj1exUGtmKDYPXs0/R1X3L25+3q9w== Received: from [IPV6:2003:cd:5f17:a100:484b:e4c:a99b:546e] (p200300cd5f17a100484b0e4ca99b546e.dip0.t-ipconnect.de [IPv6:2003:cd:5f17:a100:484b:e4c:a99b:546e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C658720BF9; Wed, 25 May 2022 20:47:37 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: Date: Wed, 25 May 2022 22:47:35 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US From: Stefan Esser To: FreeBSD ports Subject: HOWTO: specify a run dependency on a port without a single executable? Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------k0Z8psjJKv0dAlFnr9LNJ26i" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653511658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=XM7gKUtdJxTavGDGYaWtrmJBKO6VVwkhmKxy3qPpyco=; b=O9ANC02zmhj4III7SuJORnE+K58Vs8BO2bsWlHvnQsAx5pi8hC1gtRNjhqGSGE0GEvURLs C62GLmC6Nz8MhHZmx1WHgPpMVrYCtP7UOxlbnYSPFYYhjmr/OCf/jYubp3JOvpqjJF9kEk SlKzPbWqibB/DLe8I7Mot7wV26AnafrmqFoM1es758t6JYObGPNqjmSat4r42LpO5rgiKO xAhcARJhEOIOtKi27wx9ccgSmePBqetD8j712ThOn+P+dJDLV0LAHmxeZUo4xYGXziTtNh oEel3wQV5kFFrV2cyxysFf/kTMF6X9bKJ16DakhAb3/LYb+TvH1ElilNmz1q+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653511658; a=rsa-sha256; cv=none; b=IiKpU9DCxQrWAB00b9PqxKIaHAwfaT04CKFjhXc51xV4CFRNBs0mYPkt6cGft0bDHmeAxO iXntvU55kQKBc9Mn9oxrqPuytUv2X04OttRgJ5Zm+GKgDlCv+/0pmU+F+lQtpXCKgnTIPM 9uiX4nbCdy+izWh2plsd5jxg2KYm/mGFPkCesx/cPT5EKAxfiCaX5CrWLN2vyMqCMe+AbI yZSBppsk/oURfI5nHMZnq9Ds954hI8IB5+cSHpb8i1wmQV7+diQnhFqyTiLNmAA9r26Cqr niRhkEwEM4yzhOsFjC8EVDE4ciMtP6r43/ZJbeL+IsG6JtwE7kPkNKJN8yWzCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------k0Z8psjJKv0dAlFnr9LNJ26i Content-Type: multipart/mixed; boundary="------------OVQHa90f5orNwDJtkG9GZJHo"; protected-headers="v1" From: Stefan Esser To: FreeBSD ports Message-ID: Subject: HOWTO: specify a run dependency on a port without a single executable? --------------OVQHa90f5orNwDJtkG9GZJHo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm trying to update the devel/pmdk port and found 2 issues due to dependency checks that are not alignment with reality: 1) The port wants the ports version of ncurses. But the following definition does not work: LIP_DEPENDS=3D libncurses.so:devel/libncurses The reason is that lib/libncurses.so is a loader script with the following contents: INPUT(libncurses.so.6 AS_NEEDED(-ltinfo)) This file is not a valid shared library as understood by the LIB_DEPENDS logic in bsd.port.mk. When building the port on the base system the ncurses port is rebuild every time and then the build fails since it is already installed. 2) The port wants the terminfo-db lpackage as a run dependency. I can specify it as such, but this does not work in poudriere: RUN_DEPENDS=3D share/terminfo/a/ansi:misc/terminfo-db There is not a single executable file in this package, and the build fails with: =3D=3D=3D> pmdk-1.12.0 depends on executable: share/terminfo/a/ansi - n= ot found =3D=3D=3D> Installing existing package /packages/All/terminfo-db-202108= 16.pkg [P_13_1_amd64-default] Installing terminfo-db-20210816... [P_13_1_amd64-default] Extracting terminfo-db-20210816: .......... done =3D=3D=3D> pmdk-1.12.0 depends on executable: share/terminfo/a/ansi - n= ot found I need to specify the run dependency, but RUN_DEPENDS works only if the file tested in the dependency is executable, and none exists in terminfo-db. These two issues prevent building on the base system due to 1) and building in poudriere due to 2). Any ideas how to work around these two issues? Regards, STefan --------------OVQHa90f5orNwDJtkG9GZJHo-- --------------k0Z8psjJKv0dAlFnr9LNJ26i Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmKOlecFAwAAAAAACgkQR+u171r99URF 5wf/bFYZz5GsxL609l4SbbOTT0j1nxMuGCe3Gvk5JWZgzTILxVOANMEriMHZ1ojJe3Q//G8DHN4T bVpEv45fkXDhGFlxlxjtLVpIUaK4KI0jVfO9sB7OuaNrnL0GkpR54yBNJlLPIYF0FWqReDqNqtz8 9FmFHtcwJof42qoDPwxEDqcoV0PFPPbkyhAF8iLDgAE+Pce1TDe3fgGO6R1D9P1Tb8v3shKfXPQX iJJ22kq3eH0zqPZncZCFqCkJQltzFqraHo7EShG9/qYEDytbykIaOxxm1UzHc8h9EFBjVWzZYf1A CmFik0f5GwPkqTCf9OoRKhCifEMjfrFdpLGV5G3LcQ== =F/C6 -----END PGP SIGNATURE----- --------------k0Z8psjJKv0dAlFnr9LNJ26i--