From nobody Sun Nov 13 10:00:21 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 4N97Gs6G2mz4hTcj for ; Sun, 13 Nov 2022 10:00:21 +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 4N97Gs57nhz44rL for ; Sun, 13 Nov 2022 10:00:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668333621; 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=/nPZ2ockJuLmEbeE614IWaHjbfCzR4XrGKp1Mx09UXE=; b=S1N5I/Fllete/i0bOW6x2hNaa9D2vE290KNua9rBjk9txEbYd2SJxm7qPGgS79IfwJBqlK 3Se1nKKXysHp1+9mbyX0sS4AQI5ToGUBojPs7fB2Nmlh2eI7UuVZR7PjUmNsLvbCKtnAHN BvbBnk2o7HIVjKoAKF9b0teJwPlkFiJjFVWDZkmqXaClYSrRP2yMImB+PylRNgIsuXP9Bg Y1uYj/u0tGmWRSXU2EzgccP1AJaf9JpBLBxJ5Sy+x4hxmaxhjGYyC1ZwRmFZs6xe8L8NJX Jm/x9N8w1Y+MxPbHCdBrTSxj4WcRvRMixfr4ehKH7yhO3GJJUwNyXjcAKPe//A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668333621; a=rsa-sha256; cv=none; b=BxmBP6MkEHqhi9h6uIpB7J3x2GLbLF7litsy3nEagq0IUc6sEaqWIgVSXo4zwP09wFGeVb UUUKpixLLNBXjCki49wEzTkaX6B1BqDiOIDK6AgcvktpnpmsZMap/0TzGe4CVayMQR+9C6 juo02g11bpr+rgYAwdZkdFTM6PGPWiedyjdyqb56KcoUqcHx3M1gpJ6SHnPab/vBpJvHWs /wOZ/5c+GCcTi4lmDuT/y3fI+UeMgUjEKtQjmFJo5p6NbVHtTGIqds9jcRVySCUGx86pLV MqkGiByWEskIrky5wgGuPAxHNA9FdvZDQ3DkNqMqvJzphwomww3EPmfK9NtQyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N97Gs42D9zyBR for ; Sun, 13 Nov 2022 10:00:21 +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 2ADA0L1V088928 for ; Sun, 13 Nov 2022 10:00:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ADA0LQ1088927 for ports-bugs@FreeBSD.org; Sun, 13 Nov 2022 10:00:21 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 267215] Mk/bsd.gcc.mk: Stop checking if specific version requested is already installed Date: Sun, 13 Nov 2022 10:00:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267215 --- Comment #3 from Gerald Pfeifer --- Some specific answers for everyone interested: (In reply to Yasuhiro Kimura from comment #0) > I'm not sure why it is included in the logic to determine which version > of GCC is used. But it sometimes causes unexpected result in non-cleanroom > environment. In the past we had to cater to GCC in base as well as ports, in then different versions here and there, often multiple ones from ports. And more ports relied on GCC: In fact, GCC was the default compiler for ports. To avoid users having to install even more ports, USE_GCC=3DXY+ and the logic around it were introduced. > * I'm user of portmaster. > * On my FreeBSD system some ports that use 'USE_GCC=3Dyes' are installed. > * I'd like to change default version of GCC from 11 to 12. : > 1. Add 'DEFAULT_VERSIONS+=3Dgcc=3D12' to /etc/make.conf > 2. Execute `portmaster "$(pkg info -r gcc11 | grep -v ':$')"` USE_GCC=3Dyes is an alias for USE_GCC=3D$GCC_DEFAULT+, so when you (re)build a port with USE_GCC=3Dyes that should become USE_GCC=3D12+. GCC 11 does not meet that requirement, so I am wondering what is happening? Can you describe that, please? (I am not familiar with portmaster, so likely the root is there. A regular build *should* update all those ports since th= ey no longer meet their dependency on GCC, correct? Why then does this not happen with portmaster?) this --=20 You are receiving this mail because: You are on the CC list for the bug.=