From nobody Thu Nov 14 12:22:47 2024 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 4XpznM52Mpz5cbjR for ; Thu, 14 Nov 2024 12:22:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XpznM1ktgz4GWf for ; Thu, 14 Nov 2024 12:22:47 +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=1731586967; 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=A6m1sLSGu6+p/S3f4TCMJBZhlesT/aX+Fc5CF7V4l38=; b=v0OdhQqhgie37j2A8p4+BoTZIjraIyA5bZml0c+ej2dgWcSy0PQ7A/4EtiX4MM8TK3ioJM 8M2wuyEF9YHx/tbBVN6Nk03AVUpLVrTFV/XIOkmttAJjcRzFTrGhQss4wXjuVJEyUWGbJw fUBk232rKDR8vm8XD6CiPcQdPZttKsm3FvSEfZdQ2y1vTiFwUAoQXGcftUnuastzrD2Ski UOuWh5XkHtRCzCkzobCQXNQrSTWi6j+savFfNrKCE2Ke8+w9dt11KPzJ2mQ0/CiqRek+09 yg3tLIM63fEPRuGBiyNXosYSLnptkrgHbw5U2UFrRH35al7/HeMIc73RRdArXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731586967; a=rsa-sha256; cv=none; b=jVH2uyRpd1w0kPnNuxDYKsozZnfOKt/iuz7/duItu0n8D+CfEK+0d6WhhVcazHutxQxBms jL3i0pmM7C7fxuTEaPx4maKuuAn5YXCdPUuqggumzXfy1uQMZ505sqHvwZGdToxvA45yDH nzkcouZOOMlBtAL4OEskiykNQ6YAIoCRrjaKgd4A0jiZ4GeDZi7bEfQY8l1l4rbRTbE+82 RlrXSWyUKsndGSpCd119IEYjp9Ol++CthGVHLgiy1dDHP5WWiNWG4OjIr5yhSePTsUQ9O+ YgLr9thTrwVWg5MX0WCk18uR4WexACldnJAiSneUoFEqxxuT34GjShi4I/XIng== 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 4XpznM1LdZzfPV for ; Thu, 14 Nov 2024 12:22:47 +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 4AECMkWm081702 for ; Thu, 14 Nov 2024 12:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AECMkit081701 for ports-bugs@FreeBSD.org; Thu, 14 Nov 2024 12:22:46 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 282756] devel/root: Disable runtime_cxxmodules to avoid modulemap issues Date: Thu, 14 Nov 2024 12:22:47 +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: erik@tenku.dk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282756 Bug ID: 282756 Summary: devel/root: Disable runtime_cxxmodules to avoid modulemap issues Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: erik@tenku.dk Created attachment 255168 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255168&action= =3Dedit Port patch In the attached diff, I have disabled the cmake flag 'runtime_cxxmodules' a= nd=20 accommodated the rest of the port files accordingly. A recent change in LLVM/Clang modulemap handling has caused ROOT (which bui= lds its own patched version of LLVM/Clang for JIT C/C++ compilation, e.g. from = the ROOT terminal) in the upstream source code to hack modulemap definitions on= a case-by-case OS release-dependent basis on macOS, which also compiles ROOT = with a LLVM/Clang compiler. Once a more robust solution has been found in the upstream code, we can rev= ert to enabling 'runtime_cxxmodules' in the port. For now, my attempts at continually patching ROOT for FreeBSD 13.3+, 14.0+ = and 15.0 have proven too error-prone, and a package built on 14.0, for example,= and distributed to both 14.0 and 14.1 would otherwise only work on 14.0 in the = best of cases. I have tested building of the port on 14.1-amd64 with the default options=20 enabled and with each individual port option enabled/disabled. --=20 You are receiving this mail because: You are the assignee for the bug.=