From nobody Mon Jun 19 16:16:56 2023 X-Original-To: haskell@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 4QlFJn6DWfz4dvW3 for ; Mon, 19 Jun 2023 16:16:57 +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 4QlFJn2cGkz3Nmt for ; Mon, 19 Jun 2023 16:16:57 +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=1687191417; 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=P8b7PWlhNxfFO0aS5JU7igA8COJYNyboRMry332wRug=; b=GXjBYEX/VNeX5uL5UqJsbgVHsqheVOpzqtjo6a1CZOxzv//awl2pD3O7+nlYfTOpo6/IDN ia3RatC5Q5yzh36q0j4o1A095cStF2bXQH5uiOXi50Hs0oIYZOaS+ftRN4ZC0xz6Kp6Zhk fYd/119SIPyDHw20EsjxZqP6diDTne/tkAOkkvOrPKiW87garUrdcMPxWMCpTJEicnFrKl Tgb/O5rRVBn65eFm64ua9eyeTxRoffPBSPfezYqs3B1gpCc73JUtXtzb9fMBEKz5fKCpc0 Rlb1ESSDAid5RVbOeleMi79S9c8d8KJ0X9yyI5SdC8p+8mDhkBGZEsqcdYauXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687191417; a=rsa-sha256; cv=none; b=R4ZDfw4faYD+r7t9m8DkQiseR8lKFDd+Dk7K4oezMvF5/feSUGhsQZZxH+onw5k96FMUGz GCtX4AEmdyoA4qBTp7JuHrA7UAF23PnsN2o36JVhznlcxCJDM1cRvLX/1qeCUkuOGOKqb8 WGS7CjGXoiYJswOCOZfJ7aMM1Kf0jTx/5riAItFT1APVGbg/cjTh+a0apXVeocvAjyL6Yq zMPk7pd3expvvLz9lJiTShhY5UNiwjjAm8qOX8C3iXTheHlk5iiIzNn+sim/OnIqgAC9I+ l5FGBNdRVdV+t5520a0EgCz1DLSDvyY6IEz1onMl5gMfiFAGNSdH0xGHuwTE/w== 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 4QlFJn1gpZzPMB for ; Mon, 19 Jun 2023 16:16:57 +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 35JGGvmw052229 for ; Mon, 19 Jun 2023 16:16:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35JGGvQR052228 for haskell@FreeBSD.org; Mon, 19 Jun 2023 16:16:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: maintainer-approval requested: [Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. : [Attachment 242878] [patch] explicitly use base cc (clang) - v0 Date: Mon, 19 Jun 2023 16:16:56 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N John Hein has asked freebsd-haskell (Nobody) for maintainer-approval: Bug 271928: lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271928 Attachment 242878: [patch] explicitly use base cc (clang) - v0 https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242878&action=3Dedit --- Comment #3 from John Hein --- Created attachment 242878 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242878&action= =3Dedit [patch] explicitly use base cc (clang) - v0 During pre-configure, explicitly specify base CC=3Dcc - cc is clang now in = all supported major versions of FreeBSD (even powerpc these days I think, but I have not confirmed that). This works around whatever bootstrap issue is going on with gcc (possibly FreeBSD specific, but not known at this time). With this patch, poudriere now builds lang/ghc if lang/gcc is installed (te= sted on 12-amd64/stable).