From nobody Fri Nov 4 17:46:48 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 4N3p3F23VJz4hKdX for ; Fri, 4 Nov 2022 17:46:49 +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 4N3p3F0xKsz3Sxy for ; Fri, 4 Nov 2022 17:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4N3p3D70nMz1Q1S for ; Fri, 4 Nov 2022 17:46:48 +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 2A4HkmxS002102 for ; Fri, 4 Nov 2022 17:46:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A4Hkmi1002101 for ports-bugs@FreeBSD.org; Fri, 4 Nov 2022 17:46:48 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 267564] devel/llvm13: gfortran not found for flang (also in devel/llvm14) Date: Fri, 04 Nov 2022 17:46:48 +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 Some People X-Bugzilla-Who: thierry@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667584009; 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=JgVH+ckj1Sg1jGof5grxKJ6y43UnjHVah5oOwrd7Ugg=; b=aav9JcsTJAXnKimIrilQGSHIWUl2Vmtd9URbTTEQtyj8xw4lGY6hRru+dC1QhqmnqJHCt4 NlM9BjXgF/H91EY0Ph9JYmgd0n9cCCsjJFSnZ492Kyw8rtvA6jP9/B+9IEj2eIjzMNLfnE +ga0TuCyKtIK7P9RxSx1+KFiBRYNy/UKgqXvmWbc6DWarrEHOqDI5YROOVPZ9VdFxO8cBL KzPRl7mOZTFHBIyU1ZSNhGgfklYokEOLlZhpuWp6RQ3eQp1JaM/jScSzspp6txJ+pT3X/s 8ijdZLGz8/+CwWIh6hJgfuv3nw9fzcGWyM0DwrNo2wxOoX6ozuUAi0rZemRm0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667584009; a=rsa-sha256; cv=none; b=lJAI0scpY1IyPKksm8xzQq/dKTVaSLGwhHL5Y+Gu2D8Lqs81RifWSPztOfqxinSTZ9Olmy JyKdUz0IMYDY+hRj2nm4Cor14Feal1s8VIhwgA8FvIHL4F64Owajr7b4IxJ4As2sxuX7VO LP43MTFIYIQ4TTrANBlMbh2yMEQRWSaym6cMwlWAQNfxDcAWxMCKIqNLNEWHvjEGVYtL0z OdSmgr4VMDsZMa6b6FNKxjJgnbUR/QrLXwWbRSQWohTTmM28ZiHKPn/x6O5CdF1N3GMBat +x1Ngp31nhSfO6I+QiKl53/hEM2w54md7irhfHIUs0VyNkTDTOLIjBBb+M507A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267564 Bug ID: 267564 Summary: devel/llvm13: gfortran not found for flang (also in devel/llvm14) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: thierry@FreeBSD.org Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Since LLVM-13, flang is installed by the ports devel/llvm1x: this is not the classical flang, but flang-new. Actually flang13, i.e. /usr/local/bin/flang13 (resp. flang14) is a script shell, and it launches another script shell, /usr/local/llvm13/bin/flang (r= esp. /usr/local/llvm14/bin/flang), and this script tries to use gfortran as an external compiler. Of course it fails, because there is no gfortran on Free= BSD: /usr/local/llvm13/bin/flang: line 368: gfortran: command not found Setting F18_FC=3Dgfortran11 (when 11 is GCC_DEFAULT) is OK. No patch, because IDK how to handle it: let's just define F18_FC and assume that gfortran11 is installed without adding a dependency? Remark: no such problem with LLVM-15. --=20 You are receiving this mail because: You are the assignee for the bug.=