From nobody Thu Mar 07 16:50:06 2024 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 4TrFf864gnz5DLs0 for ; Thu, 7 Mar 2024 16:50:08 +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 4TrFf637jmz4Hry for ; Thu, 7 Mar 2024 16:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709830206; a=rsa-sha256; cv=none; b=uFXUKAsB5ybv6IIAz6VQ2gP2lQ+azf9Wg9CTxe4GjPAg1nEg6AnD/gm3tLOEfnfkzrbRk/ fpmVe7LGxxi25jrWZqaPT05HsmKZVoejGMmVW0NR/7LKWZCNfLGbdSOVlh934NorgoPaDp kowHDExsP0X6Y0bo3Gmb1vTCjxs6a9COBgOcygeOOel3zjnWuerT7TIqOuMHXbE/jTzxiO JN6kXVvIHSTEM54ATo+05wx50e/zROlCvJwCqmmQHg6BlWsZLJr10XlDZvAYjpJNEqNz/M 4bE4cHvpcNla6QJ+axLpsY3z0RsXV0MX8OfHaCX3Iscmt8oprZGXzYrQUByXgg== 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=1709830206; 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=g4i/MD1pfGEKwIrctxC1zdDfkhxRVAxd8IGQWC2E1tI=; b=LL4/XUjF3Hw9NyjKHxMyTXCSXdv4iBEJUYfcPoOXBcvrDkH0SDBoBAZEW2+WjWgC/kXVbG u2J2xEkmhTt1oPrkCAyKoz7+Kbpx0ebv/4j7YMEJCBXlkTae4Bqjm5/JKysR3UDX/ExWyz tuBn9Br2QrbhE9efkvN9oV01JwYePq/6SYhdQPMv92tIxB76aVz5DZJU19U31+LKKYzZlY Kz4VnE67p0kRciGC0F3IesxycHh/hvlHGCCTtsBSKsogjxAVgdmzbNDUSWC0u54Xd+UM5L 8TFADWJUs2g4uXRMc3Hvh7rbapYjoBgbgyL7RDLZqL/IUBmOG9iD7YS7Cklg8g== 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 4TrFf62bMfzj1J for ; Thu, 7 Mar 2024 16:50:06 +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 427Go67d005469 for ; Thu, 7 Mar 2024 16:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 427Go6a6005468 for haskell@FreeBSD.org; Thu, 7 Mar 2024 16:50:06 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 277492] lang/ghc fails build/install gmake invalid option -- D Date: Thu, 07 Mar 2024 16:50:06 +0000 X-Bugzilla-Reason: 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 Only Me X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277492 --- Comment #15 from Tijl Coosemans --- (In reply to Gleb Popov from comment #14) Grep for 'gmake|GMAKE|MAKE_CMD' to find suspicious lines. These are the on= es in lang/ghc/Makefile: $ egrep -n 'gmake|GMAKE|MAKE_CMD' lang/ghc/Makefile 20:USES=3D autoreconf compiler:c11 gmake \ 215: cd ${BOOT_DIR} && ${MAKE_CMD} PACKAGES=3D'' install 276: && ${GMAKE} binary-dist TAR_COMP=3Dxz \ 295: && ${GMAKE} binary-dist TAR_COMP=3Dxz \ It looks like 215 is the one from comment 0. You can replace that line wit= h: cd ${BOOT_DIR} && ${SETENVI} ${WRK_ENV} ${MAKE_CMD} PACKAGES=3D'' i= nstall Line 276 and 295 would become: && ${SETENVI} ${WRK_ENV} ${GMAKE} binary-dist TAR_COMP=3Dxz= \ For testing you can put something like this in make.conf (/usr/local/etc/poudriere.d/make.conf): .MAKEFLAGS+=3D -D __GMAKE_TRAP__ If a port fails to build with this then there are more commands that need SETENVI. --=20 You are receiving this mail because: You are the assignee for the bug.=