From owner-freebsd-ports-bugs@freebsd.org Sun Feb 28 12:42:05 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 33C0956AABA for ; Sun, 28 Feb 2021 12:42:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpNM10nx5z3nmX for ; Sun, 28 Feb 2021 12:42:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B3F656AAB9; Sun, 28 Feb 2021 12:42:05 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B06256AC63 for ; Sun, 28 Feb 2021 12:42:05 +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 4DpNM108crz3ndh for ; Sun, 28 Feb 2021 12:42:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EC93F10C3A for ; Sun, 28 Feb 2021 12:42:04 +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 11SCg4GD042265 for ; Sun, 28 Feb 2021 12:42:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11SCg4Od042264 for ports-bugs@FreeBSD.org; Sun, 28 Feb 2021 12:42:04 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 253907] archivers/py-borgbackup: Check for devel/py-llfuse via PYTHON_PKGNAMEPREFIX Date: Sun, 28 Feb 2021 12:42:04 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org 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 cc attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 12:42:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253907 Bug ID: 253907 Summary: archivers/py-borgbackup: Check for devel/py-llfuse via PYTHON_PKGNAMEPREFIX Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: jjuanino@gmail.com CC: jjuanino@gmail.com Created attachment 222873 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222873&action= =3Dedit Fix RUN_DEPENDS to check for llfuse packages instead of shared library Recently in ports r559094 a lot of Python port Makefiles had their path che= cks relaxed because newer versions of Python changed the dynamic library naming scheme: "Since ports r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place." Indeed my poudriere failed to find the py-llfuse package, even though it ju= st installed it:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> py39-borgbackup-1.1.15 depends on file: /usr/local/lib/python3.9/site-packages/llfuse.so - not found =3D=3D=3D> Installing existing package /packages/All/py39-llfuse-1.3.8.txz [stable12-r367684-default-job-01] Installing py39-llfuse-1.3.8... [stable12-r367684-default-job-01] `-- Installing fusefs-libs-2.9.9_2... [stable12-r367684-default-job-01] `-- Extracting fusefs-libs-2.9.9_2: .......... done [stable12-r367684-default-job-01] Extracting py39-llfuse-1.3.8: ......... d= one =3D=3D=3D=3D=3D Message from fusefs-libs-2.9.9_2: -- Install the FUSE kernel module (kldload fusefs) to use this port. =3D=3D=3D> py39-borgbackup-1.1.15 depends on file: /usr/local/lib/python3.9/site-packages/llfuse.so - not found *** Error code 1 Actually the .so file is now named /usr/local/lib/python3.9/site-packages/llfuse.cpython-39.so. Instead of attempting to guess the file extension, I propose to simply check for the existence of the py-llfuse package itself, as is done in many other ports, e.g.: FUSE_DESC=3D Support to mount locally borg backup files FUSE_RUN_DEPENDS=3D=20=20=20=20=20 ${PYTHON_PKGNAMEPREFIX}llfuse>0:devel/py-llfuse@${PY_FLAVOR} (Of course, if a minimum version is required, we can always put "> x.y.z" in the comparison). --=20 You are receiving this mail because: You are the assignee for the bug.=