From nobody Mon Jun 19 16:16:57 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 4QlFJp1693z4dvQ6 for ; Mon, 19 Jun 2023 16:16:58 +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 4QlFJp01RGz3Ny2 for ; Mon, 19 Jun 2023 16:16:58 +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=1687191418; 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=FLDTUcycVBw8vudZULF1TPniBZSyq8AlLUaniDr1F6Q=; b=AxRWDM6pQ/s62CdafS2QtQz98SgY8BzLSlbBiyHeiS3KrcQ7keaRVuJVIEAjH17e+w8Srp 8dzgCe4Xt8XrQ33hn7QKMM6+0q6KXq3n7kjWs7Hb40BuR/OUc93gNq12rDyXfTJ643m+2T 5dKGKLD4YaTWFb0WN2seqojrmrdf9bxX9juv4A6aYpx6CphN/GdCb+zaZ1JvJexT/6prci 56nH3HWiEYaThqs06IJiiFygGdEoDJ1cj6KSjlBuxDr5hKe+SSmxzc7khvlrJzXftbnYoC C+Hl1NXJ82KmUfTXDVDTHpvvHL10GT6/312ayAfuq4o8QoMP2VYTVIHn4/O3Vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687191418; a=rsa-sha256; cv=none; b=vhUxguZeOBX4gi6UCUfurr/5h+iWsrk5YVNRPEhNTMrGL21wAVsFd76LiuqJy1NQi8+YTT R8wDWGFIkj6Er6gXKSXAUmiPaTEjdoZhLYQp2k01TxoIU07A/Erkfx6WExA1vZ7gYu7ymA ub01ECpfw8glPdPgEWLBn9JqusJNqZpNdX6iduP5ucwQtRJ5g1s+u7+Lx3LmBjZYeTPqyB W07n4VNGAtqXWpzAA9PzDhLbuOC5Ei+gtGzEwhhHymqDxLB0t3NNVpxNwmrpDYW3Yr3lQl 0iA39Rz8+lmwW4av1CoTjTqGfxqBVUqWXBrcy4jjITq9K/eQXDwseX5caeqNCA== 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 4QlFJn58SYzP3n 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 35JGGvtj052249 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 35JGGvg8052248 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 From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. Date: Mon, 19 Jun 2023 16:16:57 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed 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: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271928 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcfyecrayz@liamekaens.com Attachment #242878| |maintainer-approval?(haskel Flags| |l@FreeBSD.org) --- 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). --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=