From nobody Thu Mar 12 02:33:41 2026 X-Original-To: xfce@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 4fWWrj1Stqz6VRQV for ; Thu, 12 Mar 2026 02:33:41 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fWWrj0qFKz3fB8 for ; Thu, 12 Mar 2026 02:33:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773282821; 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: in-reply-to:in-reply-to:references:references; bh=p3JSRZUj14Liquop9r/vCi186yDVxDdFm8C+OXgYTGw=; b=H9FfWJfIGaIIkA57KN4mP0LnxImF8k2tVInno9eMWBJnr0DwSybdHHL7Job+UmSFtXZ26D Wd42yKKv7rJ2NMDlvHRTwoMQUtzuPEdIAVgQ061ujCZjB8cNOaCskjoR/ScMrXNKEY6E3C TKFVfdCEKthOcA9ntORHxAcGIwS/f+DifQlknZ3waV9L+W5F83ygIRnevz/Hi+5STwZW+k anBr4WHu17yB7OJzMAOK1fHXCGoOwYvwRfI0F1A1Zet+1fuWEmsBM6MhuBrLt6MoWvtFmp aFILeC6pMyu7C2xpurmi4a3fJlo0Ptsxswoy4rAFbrJ2E7NJr+kHngfF9f0KHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773282821; a=rsa-sha256; cv=none; b=mdrDdOI2yOyeVpKmQ95Cni+Tfnf1CE4GOlVDLjpUSuYlz12WNjnNsEvrC1fEJX1BRhdNJy Yq5Aqp54lrCQP0CAcaaJJALbn8oOVT+u6INyEclUocyDUALs/DZVvTt4H8nXlXUobWkH4U XLUJkhlUCzmK3brDuCjNjD3P7NqilOSwqXLlr5vV1/kIg6nr+xzjLE2Vu46Rqlh/m16zY9 /b/LJhmb4zSFQkTd1KisgzFYZ8rrZLTyQXhVv3qjsHxDueQsqnBIWA2IhxaFGbr5/ucZ74 Ezc+y/AhDwyVzmInWcVpi4/bKLoBBIeVeHl4EFZPSkXyGyuX5RJpu542lrudLA== 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=1773282821; 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: in-reply-to:in-reply-to:references:references; bh=p3JSRZUj14Liquop9r/vCi186yDVxDdFm8C+OXgYTGw=; b=cGuVgJUwUJkxWo7/zB0yIhf5GShYh03W9c0Q8AD1eulxhOaH4WABTJ6L5u8QDnqSlVP12G WzHZL5g5KrLcWGvBrlslSY6drSHNa8m3RWu0LrzuLs6voEV/k7q/jgaHf6DceuR31hWX4d 8ExfiCuqBhof3soZGUNG4sy0CqdxzzUZHdoCfgFm0tHTCFEjFcfLC7a0jCgerX/pdqSotW /89lsSoNzCd5x3xTvBMc3x2v2M6Bi8wI69S0gL+9R5Hzg6SaTd1gN+SZCXZezlggXW1tnz wbgvfYzYz6WV6wvETibpgdGXYTUVi7Mll2n8Y6p15NdBDPA+u3ndAvs8X3w+OA== 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 4fWWrh75TCz9kR for ; Thu, 12 Mar 2026 02:33:40 +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 62C2XeMJ018262 for ; Thu, 12 Mar 2026 02:33:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62C2Xe0p018261 for xfce@FreeBSD.org; Thu, 12 Mar 2026 02:33:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: xfce@FreeBSD.org Subject: maintainer-feedback requested: [Bug 293751] x11-wm/xfce4-panel-profiles: wrapper script embeds build-time WRKDIR path (Bug 1); py-psutil missing from RUN_DEPENDS (Bug 2, regression from Bug 281484) Date: Thu, 12 Mar 2026 02:33:41 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: xfce@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: XFCE List-Archive: https://lists.freebsd.org/archives/freebsd-xfce List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-xfce@freebsd.org Sender: owner-freebsd-xfce@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-xfce (Nobody) for maintainer-feedback: Bug 293751: x11-wm/xfce4-panel-profiles: wrapper script embeds build-time WRKDIR path (Bug 1); py-psutil missing from RUN_DEPENDS (Bug 2, regression = from Bug 281484) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293751 --- Description --- Product: Ports & Packages Component: Individual Port(s) Version: Latest Severity: Affects Some People Keywords: patch Maintainer: xfce@FreeBSD.org Summary: x11-wm/xfce4-panel-profiles: wrapper script embeds build-time WRKDIR path (= Bug 1); py-psutil missing from RUN_DEPENDS (Bug 2, regression from Bug 281484) Description: Two bugs are present in x11-wm/xfce4-panel-profiles-1.1.1. --- Bug 1: Installed wrapper script contains hardcoded WRKDIR path --- The Makefile uses: BINARY_ALIAS=3D python3=3D${PYTHON_CMD} SHEBANG_FILES=3D xfce4-panel-profiles/panelconfig.py \ xfce4-panel-profiles/xfce4-panel-profiles.py BINARY_ALIAS creates ${WRKDIR}/.bin/python3 for use during the build. meson uses this aliased python3 when generating the installed wrapper script bin/xfce4-panel-profiles, embedding the WRKDIR-relative path directly. Because bin/xfce4-panel-profiles is not listed in SHEBANG_FILES, shebangfix does not rewrite it. The result is that /usr/local/bin/xfce4-panel-profiles on the installed system contains: #!/bin/sh /wrkdirs/usr/ports/x11-wm/xfce4-panel-profiles/work/.bin/python3 \ =20=20=20 /usr/local/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-prof= iles .py "$@" This path does not exist after installation, so the command fails immediate= ly. Suggested fix: remove BINARY_ALIAS and add a post-install target to rewrite the path with ${REINPLACE_CMD}: post-install: @${REINPLACE_CMD} -e 's|${WRKDIR}/.bin/python3|${PYTHON_CMD}|g' \ ${STAGEDIR}${PREFIX}/bin/xfce4-panel-profiles --- Bug 2: py-psutil listed only in BUILD_DEPENDS, not in RUN_DEPENDS --- This was previously reported as Bug 281484 (2024-09-13). It appears the fix was incomplete: psutil was added to BUILD_DEPENDS but not to RUN_DEPENDS. The Makefile currently has: BUILD_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}psutil>=3D7.0.0:sysutils/py-psutil@${PY_FLAVOR} RUN_DEPENDS is absent entirely. xfce4-panel-profiles/panelconfig.py imports psutil at runtime: import psutil Without py-psutil installed, running xfce4-panel-profiles fails with: ModuleNotFoundError: No module named 'psutil' psutil is a runtime requirement and must also appear in RUN_DEPENDS: RUN_DEPENDS=3D=09 ${PYTHON_PKGNAMEPREFIX}psutil>=3D7.0.0:sysutils/py-psutil@${PY_FLAVOR} --- Note --- The analysis of this bug and the creation of this report were performed with the assistance of Claude (claude.ai), an AI assistant by Anthropic. The port's Makefile, pkg-plist, pkg-descr, and distinfo files were provided as input. Claude identified the two bugs by analyzing the interaction between BINARY_ALIAS and shebangfix in the Makefile, and by tracing the missing RUN_DEPENDS back to Bug 281484 as an incomplete fix. --- Environment --- % uname -a FreeBSD um560.shimizu 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n282632-b5e307d41e2e GENERIC amd64 % freebsd-version -ku 15.0-STABLE 15.0-STABLE % pkg info xfce4-panel-profiles xfce4-panel-profiles-1.1.1 Name : xfce4-panel-profiles Version : 1.1.1 Installed on : Thu Mar 12 04:46:27 2026 JST Origin : x11-wm/xfce4-panel-profiles Architecture : FreeBSD:15:* Prefix : /usr/local Categories : x11-wm xfce Licenses : GPLv3 Maintainer : xfce@FreeBSD.org WWW : https://docs.xfce.org/apps/xfce4-panel-profiles/start Comment : Xfce's panel multiple layouts manager Options : DOCS : on NLS : on Annotations : build_timestamp: 2026-03-05T04:15:54+0000 built_by : poudriere-git-3.4.6 port_checkout_unclean: no port_git_hash : b64b73fd938d5b2788547d16ed6a76493acc9142 ports_top_checkout_unclean: no ports_top_git_hash: 7e0ac38bdd48961aeb4ea2d32d8ecd49b2a1112c repo_type : binary repository : FreeBSD-ports Flat size : 398KiB