From nobody Thu Mar 12 02:33:41 2026 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 4fWWrj4C3Vz6VRdq 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 4fWWrj1m3Dz3fB9 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; bh=LDcnHarRs69/f1wrL0h9GSEZwG69xmhJFLwhkOd80X0=; b=xFl4xnHo9ljB/CPnPzE5/The1ILPkiW38bCj+vSgLu2lURV7YU97FXQf90PSgDyUpo9gbC 31M2qhKhCX5mPFZPXT0MqtNK4HNULRT+rxhfnsEoDtLXmk79+sIqV0weuQMxBP+oA2C1yg 55vhPIJ9Pp9cn5hvx9x4Dpo4qOomCuQlKX1HfXzFoIOPAkaN9yAHM690hmZQmwuWh9B9ds GFlVDvyGlPZVzZNTwzzPXtK7kFnqnsDwXKz5PFNRK8ySAQ6ctcIt+Z4huVU/bprUkDaJ4E TVbAFVwCH5hf6ox4NCIRubRIA031dNfw4AJIdjfxTVLi2W6ypW9kKJAEyo0VzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773282821; a=rsa-sha256; cv=none; b=pexkjRsxWerRSIFN3nG/HGptdNKG19WOS/QfVIrAuKyI0KpKdOdKMQMYcral0AyG6ZjJhK psqhaf0e/J2X7/mqhKNKqKD6MIp8VpT9/b5KKJAv+GXT5U5zTrTZ9eB7eko8NpCSAPtgo4 n4kInucAJn6l5fnKpS/o1gS0xiTIRBbiInOp0txZJZ1TmJbrpPPJAT8SYoNOOfmqwaDNyc CbHxxCPpKNIkyfi3orILFOEBYfojIlwm7T20PEQ4WAVpZZYdftBfTqAkXuLB4Ahk8uX4EI qwVi2lX6kzmmqQbDv/DRwgzM1U73WPCwSBIkr3PD8xrtsoRNq3q0K7fM7cKoJQ== 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; bh=LDcnHarRs69/f1wrL0h9GSEZwG69xmhJFLwhkOd80X0=; b=ylcRCKudVbrJgO6VQ5OX4mNT6+fukLqIFbcwGa9xIeKqWHXBTdZYXPxIdB4+aTYSfbcIR5 IsHjJXwObsxjCKLJdkBRAasCdM8yyHbaMeGEKj3babYK0yb6UT/X7i3OL445dm0tYlGpDc kAgfjghh8lTSKiIfMbk0T8X9AndSLXn1DPid+rpNbBmO2t/HKiw3jDxbKz+h7w8CN8Z4Ln ocRSMvuy0HmDRMCypF6w/Yh3pexz/rxdwqdCX5DIMnz+NoGZgDnzdEMd/vNmHpzfdlXbpv 4qo5IDVfuXrt0CxivGp4k9jh+a7EDO4qtPNTUfoYje2U5gvgl//zBoRfwmQAPQ== 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 4fWWrj1K9dz9PG for ; Thu, 12 Mar 2026 02:33:41 +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 62C2Xf6d018267 for ; Thu, 12 Mar 2026 02:33:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62C2XfvS018266 for ports-bugs@FreeBSD.org; Thu, 12 Mar 2026 02:33:41 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 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-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: qqyr7xx9k@shirt.ocn.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: xfce@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D293751 Bug ID: 293751 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) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: xfce@FreeBSD.org Reporter: qqyr7xx9k@shirt.ocn.ne.jp Flags: maintainer-feedback?(xfce@FreeBSD.org) Assignee: xfce@FreeBSD.org 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=20=20 ${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 --=20 You are receiving this mail because: You are the assignee for the bug.=