From nobody Sat Aug 31 18:40:11 2024 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 4Wx3jR5mQ2z5MrG6 for ; Sat, 31 Aug 2024 18:40:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wx3jR3cXtz4YqG for ; Sat, 31 Aug 2024 18:40:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725129611; a=rsa-sha256; cv=none; b=a1W1zE969HbA1r7OMJBOoUBiLaWRsE2OQJ7UQgKK9/PcfMdqpPGGPP0MlWz7VSatr4Gi5M iFd7g0fmdxstU9Pu7XiTHUNT3MKhkXOBniJMpLzaZRz8bKahy/zRpOflwiuirXp8p6YfOc og/XSoVBHYo+8F1Lt+7ucj1q3h/O2/ID+ryeTmaho/FEV69Cy5DtWq17QUMJbIbnkRfduE BpgOA42x/GRaEB+7IpWdmCHj7o+D6qLut5SMdip9DnTiabBnBfmpDGjEtV4LihFzOeObuy zFnCic9ZH6F/BRnRDgUSeJnKWA3fSNVydXGiNxiwf0/64VnTmFm8BmUans+Bnw== 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=1725129611; 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=YxY9bmG7Rzag90neOVZWFyEy6mYQPENrXmTI8yvN2gQ=; b=opNJX44XhhUFAZxFm8LobxTsllK57sQUK1RIVQabGUDksSFRPDfQRWifVcMrKFvGDVwsw9 QLU2/1qzl1iHS5OW9w9X5/PD0TWlIag6fHnfIKYe0btNzQ2ocBOs7USxUkTHgr7XuN+TfW ogXneyjiROm0S1fimNG1Fjlh+WbVpjCF6A5tUaO6x3Gqs+Lkk/7kF3/JeDeZs3DOtoBpDt U7K2bMrHaPwvD0DCVsFrdf8Cp3YDRP8GNekN/HZNR9Z2FiY/Kg68NQFHax4UuNubK+58Cx JUDF3AN5Q8Cg4MqimO19ulCSfrIOdhbCMwLMXG2j5vDSFXSRGoqXzdUMHAnNow== 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 4Wx3jR3BvnzwNM for ; Sat, 31 Aug 2024 18:40:11 +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 47VIeBZG084643 for ; Sat, 31 Aug 2024 18:40:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47VIeBKJ084638 for ports-bugs@FreeBSD.org; Sat, 31 Aug 2024 18:40:11 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 281173] Mk/bsd.wx.mk: WXRC_CMD sets wrong value for x11-toolkits/wxgtk32 Date: Sat, 31 Aug 2024 18:40:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rhurlin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@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 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=3D281173 Bug ID: 281173 Summary: Mk/bsd.wx.mk: WXRC_CMD sets wrong value for x11-toolkits/wxgtk32 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: rhurlin@FreeBSD.org CC: ports-bugs@FreeBSD.org Created attachment 253226 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253226&action= =3Dedit Patch to fix WXRC_CMD for versions > 3.0 There are currently two versions of the wxWidgets in the ports, 3.0 and 3.2. Both versions contain a wxrc binary for compiling binary resource files, wh= ich is named differently in the versions: #pkg info -l wx30-gtk3-3.0.5.1_5 wx32-gtk3-3.2.4_2 | grep wxrc /usr/local/bin/wxrc-gtk3u-3.0 /usr/local/bin/wxrc-3.2 In Mk/bsd.wx.mk there is a logic to query the path and file name of the WX compiler and pass it in WXRC_CMD. However, Mk/bsd.wx.mk only determines the correct file for wx 3.0, for wx 3.2 the naming of the file is incorrect: #cd databases/pgadmin3 #make -V WXRC_CMD /usr/local/bin/wxrc-gtk3u-3.0 #cd cad/kicad-devel #make -V WXRC_CMD /usr/local/bin/wxrc-gtk3u-3.2 In the latter case, the correct designation should be /usr/local/bin/wxrc-3= .2. Attached is a patch for Mk/bsd.wx.mk, which returns the correct naming for = wx 3.2. It would actually be nice if this value were returned via wx-config. But ev= en this does not work as expected between the wx versions, so that it cannot be used in Mk/bsd.wx.mk: #wxgtk3u-3.0-config --utility=3Dwxrc [returns no value] #wxgtk3u-3.2-config --utility=3Dwxrc /usr/local/bin/wxrc-3.2 --=20 You are receiving this mail because: You are on the CC list for the bug.=