From nobody Sat May 07 19:06:37 2022 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 4E3CA1ACC5CD for ; Sat, 7 May 2022 19:06:38 +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 4KwcNt0WJSz4tpp for ; Sat, 7 May 2022 19:06:38 +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 E2BCE163C5 for ; Sat, 7 May 2022 19:06:37 +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 247J6bvR006210 for ; Sat, 7 May 2022 19:06:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 247J6b3n006209 for ports-bugs@FreeBSD.org; Sat, 7 May 2022 19:06:37 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 263851] [patch] devel/tbb: Check CC and COMPILER_TYPE at time of applying the post-extract tgt Date: Sat, 07 May 2022 19:06:37 +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 Only Me X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: martymac@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 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651950398; 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=pwOZJ/V1U4z5BtxTMKr//onQ6C0RfwsoLOjFZ7kgMOA=; b=lSBh3U/KkIh4HCftRXB+MqcHdrl+dScrV8pqq7+G14M5ejvXlMe1mWCJnM+8Ndsil4Ienz P7+qecaCMRoqIzUDkHzx9C+n8WWirfaQqrvuN6jRnxAbk/rhDOVgxf7YCYDNn1aJulONPI Op+fp4P+5vY6WTfslpcfvSb9XiSCf8/C4XU0qIhiO6bBiIWzlaelghYG4MvJGj2P9NRQcm AlZAtAh3xgTDhyQb7t+BCehdbQbFj4HlBVfSgZ9d9Er897vgmFbOU8sNHVOl5j/3s9otE3 pBDEvtVr6mPYbsLarkKEea1bYz2n85hY0YxkvNnMUTBMCViUmiAZq+pxZ19EEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651950398; a=rsa-sha256; cv=none; b=flYJ9UkZWHzusS7FPVshjylICB7QH77Gb8ESrhRWk8Zdjgyzv6jU4TgdREaHaQO+Bp8rLL sOoXUFeMuXV44I8en1S2ngNF22BC1bqKR6Dn0sYKzIpeutRtwUTHGDzG94xgaE53s2baP/ A1jd+/p63Ne7yr+vLaeGbbExOUpDdrLAI94d9F9wfP2V+Dp1CYBYj/htBERQFPME999vI9 ZPbrp1FIp3B+8zRLju4qsSmoSXgS6qBNW1NZBkEBU9tTx9ymI5jmkSur/t0l/5g5mVskvw 5kL60Qac87ciGpT1v+7wBJzgvKtMEFgHRpLAtJ+7JU0wb/7L187bYfAAAGg1rQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263851 Bug ID: 263851 Summary: [patch] devel/tbb: Check CC and COMPILER_TYPE at time of applying the post-extract tgt Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: martymac@FreeBSD.org Reporter: lab+bsd@thinkum.space Assignee: martymac@FreeBSD.org Flags: maintainer-feedback?(martymac@FreeBSD.org) Created attachment 233798 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233798&action= =3Dedit comparing CC:T and COMPILER_TYPE for those variable's values when the tgt s= hell cmds are evaluated This patch draws the test for comparison of CC basename and COMPILER_TYPE in post-extract for devel/tbb into the shell environment at the time when the post-extract tgt will have been applied. For most build environments, this = may result in a post-extract behavior equivalent to that with the original Makefile. Rationale: When either CC (e.g 'cc') or COMPILER_TYPE (e.g 'clang') is modified under local /usr/ports/Makefile.inc then each variable's value at the time of applying the post-extract tgt may not be equivalent to the value as at the = time when the port Makefile is evaluated. For build environments that modify CC or COMPILER_TYPE under /usr/ports/Makefile.inc such that the values of ${CC:T} and ${COMPILER_TYPE} are not equivalent before Makefile.inc and that the values are equivalent a= fter Makefile.inc, then this changeset may serve to prevent the creation of a self-referential symbolic link in post-extract for devel/tbb --=20 You are receiving this mail because: You are the assignee for the bug.=