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 4fWWrj4BbGz6VRN1 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 4fWWrj2Ywhz3dkR 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=qdc8oZ6kS2vnkXV/zsUeRU66LZTcthZjPMt6LaXGJw3wo4MGpd04xQJGd8VogVRb+b38gq BS6Md63i2zLs8R1mN1ks7E4uFu0gZ6cHLrqpdk/1w7ZgyUmnBHwIrP3H64P4tP8tLJSsoK InnA477tXjnruBNB6zxQHgMpkeEawJlcnu3bfWC6txXvEatUl0ASXKWHgL06ShdpQfZNuG kTQFDe2Wj8Enzx/3Yp0NtpNpi4+u2Vcmph5eGTSqYx1TDM8CquQwNv7L2moYA8Imwp0bMR tAVeVK1O7yuJ3Hy0IvQirzkSTSHYrGtylI0NC9lu5TouoNLYKHUeX0UdbMZyLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773282821; a=rsa-sha256; cv=none; b=CJdqagheeXKLuw2JeGjA6xqak+ctzgh4blZWuywfzvK1aliFFSiFdLE7bKzrcKZ2KvD/+h jXHHXnq/jvAsE7kVOE5WmEXddLnWH1yOZ7DhVr7oOdXC/obwHcMl9XbPtUXlG9Fa7oPSZD f1IBYnSBZI1AOZElCaGSk8QK8wAykiuMGw5+bMPVNc9iKsGyLGaQaH/Ft5fWPSkOGnmf6U X/LwXjvEOkSLJVkR26jpTW+JHN01uZQCZ9qZxWtVD7P9k5Llb04Lee5E+/3W+kVpfx/Qz3 YolL9gxLdg4ntYk8h48Qfz16TGKpg9pj9jFcaorum4bbLD3mfZ40YKE7yXpw6Q== 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=k6L68/1wE27i+H0hi/4ggBajp3azgczFgi859ID9Y9RArUWyJ6E062j91I9RYRIxxrFDVB zEvFu0eTcVmr+R+1xr0QZo4doekxKOYG2FWFWNZHkHi4Bgux61fgqtieW+Ub3+8+vc6E3q Kd/bqms6b+9iewwNwTjTgFQ5NFZux2KuSK/Fq4ObIlPYAHY9FZEGGGsHY7jYucGfep/UZP 7JcKZH4xMroAlCvKN6cQw/0jLRlzXlQj1nCPomZPeoBKVCquB4vxUyOeqgmWPUiYw8YJ2j BgGGrQabB8HO+SYXMbB6t5L9icQ8B7CKGf1KMPNkdZ3mWA7qVt3EQIt96MMBnw== 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 4fWWrj1xdKz9PH 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 62C2XfHB018275 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 62C2XfDK018274 for xfce@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: xfce@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: 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 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.=