From nobody Tue Oct 03 13:39:22 2023 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 4S0Jp23jWjz4wGTZ for ; Tue, 3 Oct 2023 13:39:22 +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 4S0Jp21spVz4dSY for ; Tue, 3 Oct 2023 13:39:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696340362; a=rsa-sha256; cv=none; b=q4GuJ8OcqFLRQsgiKwD2rwRCAzdII7Oiv9DhH7PumZFKSczM8Q2X0st3AQe3GDjggz1Xpc UGmlh6Hi0PW250LlTwHc49bcLbe15uI8ykZhPcPdSZhB1MdSqkDC0afFmVjo2u8n4YKNFB Wi0KtLnqcoSdTL4FI5qZBSZvhCND01NRKgtpDuELXiX3FsezydmSSXLTs2JtP/UB8VrXhy pLCa4ARce+43J8uc3GYzFG3ldlOIDZJeyQMjHog6NILC4S3SRwLZTpPWMt0MuBlVUC3of4 DwDbC+2+bkRPozKL2B8YIuw4Q2c7z769ZpecjpepbL8vdZ2tDlAYuTCxrwSQrA== 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=1696340362; 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=fHoNGgW5fJE2R3I7urhrHHXnZbh0ohsrGFyLTydNAsI=; b=ipeqsmKEfk7qrg8DNlfbXBsiBoyrVg6x7RqAdhRtUgb8fvCnCCiCfVdVwRNNTvD8eHOGvT S8d29eeReuV1AyIXmqhTZj1O9nZPXrAofUX/aoLCSocAtyDVcTb+zZyV9wIbOkuHRlI2ZK vuBqchZqkbSe0Z00DLHkwpNIs+6kXPfy+4QRAvOZ3qdeeqmI0slPGCccv7VmQZ20QjgJ6V sEsahBCACfZGWivB689OBeVKKhOwuPCusRB8RgawmL8bMkWncIa7CINap2G9B9KkxwJRui pcLZYvxeNIdQDxaL1O9DGHlyk9iPBMndhy5kLnGjuc1pwZ4AkSyy3GOyfYmg1g== 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 4S0Jp20lhqzxJd for ; Tue, 3 Oct 2023 13:39:22 +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 393DdMmD079573 for ; Tue, 3 Oct 2023 13:39:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 393DdMY2079572 for ports-bugs@FreeBSD.org; Tue, 3 Oct 2023 13:39:22 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 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead Date: Tue, 03 Oct 2023 13:39:22 +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: nsonack@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274238 Bug ID: 274238 Summary: Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: nsonack@outlook.com Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 245404 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245404&action= =3Dedit Fix for CC/GNATMAKE When setting USES=3Dada:12 CC gets set to gnatmake. This is wrong as it bre= aks build systems where CC needs to build single C objects. E.g.: https://poudriere.herrhotzenplotz.de/data/release-latest-main/2023-09-30_20= h57m21s/logs/errors/ghdl-3.0.0_2.log This patch instead sets CC to gcc and GNATMAKE to gnatmake. I needed to do this in order to get cad/ghdl to build with lang/gnat12. I have not tested this with any other ports but I assume that this was a ha= ck for some other port. Therefore ports that depend on this hack may need to be patched separately,= the current USES ada.mk is simply wrong. I will cross-link the bugs related to this later as I submit them. NOTE: I had to file the bug in "Individual Ports" because the submission fo= rm doesn't allow me to file bugs for the ports framework. Who knows... --=20 You are receiving this mail because: You are the assignee for the bug.=