From nobody Fri Feb 2 16:51:02 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 4TRMGv063sz595L2 for ; Fri, 2 Feb 2024 16:51:03 +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 4TRMGt605zz4Thh for ; Fri, 2 Feb 2024 16:51:02 +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=1706892662; 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=tQSr7U4p0FrHcUjFc/cvLUF+y9XDIV2cUADa8+SN4Hc=; b=PUa/5jGONWWctva1L03zwiXjKrRG9oF6fYQlPj6QlhCoShH+4DOkVPm478O2ySfd0rL6TZ sx/jD6cvxSwFY3XGztNbP5LmYVUjX/PdwhjVqJo/GeRww/NG796itJImEeb+v8oSfmcXiE lKw2MC9Nc7NGyFW6c/KP1MbFbymqboJLkvu5VZ/7DAAyHpEgk5YXdm/XxT6QYFHvlug10q PBp2clJMe12CNJ78FbFnw7t8TqLDjs+OFChT9/oFzsZ6BjBKvylD2vvHscJj2y3azSiyux mKaBv52CJFYmh2/z7ha799tzHiz1y5nCovDPms7kYDEuiWs64WJVyyXm2/pazg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706892662; a=rsa-sha256; cv=none; b=uZrRByv6Dg8V+lB4lTwgjaDj68o1SYEnGRim2PZrzemOYhOjZBolPfmY2BuVHlN19AeNTQ jMc6NRYBfnC0m0E21kB0syc2xB4cpvZebC8GaYY7E529QpFHo2RJLT1JWLbbN83NA3/a0Q dsBaqfNcFokeM+3qBXPuFJucan6j0JAeVOFahlD3n8EMzCbpHXCGeESvL5+yaWS5U/rB2V i4U1MR4PfoN+5LuttAarWKm/BcDGRTvWu9hBRUbrF2TEp4NeLM7g3SGUMcnWMSLC8FbGtS WLiXKfSDfdhFtjPYAN+Lz3qmNJZ1gWljEno83ufFYmo4/aPg7a4Jlbeaz0Z3Tw== 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 4TRMGt4zQJzdpj for ; Fri, 2 Feb 2024 16:51:02 +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 412Gp2BC027359 for ; Fri, 2 Feb 2024 16:51:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 412Gp2r7027358 for ports-bugs@FreeBSD.org; Fri, 2 Feb 2024 16:51:02 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 276785] devel/build2: fix build with clang 18 rc1 Date: Fri, 02 Feb 2024 16:51:02 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fuz@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276785 Bug ID: 276785 Summary: devel/build2: fix build with clang 18 rc1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: fuz@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(fuz@FreeBSD.org) Assignee: fuz@FreeBSD.org As of rc1, clang 18 has a version id formatted as "18.1.0rc". Similarly, builds from the upstream main branch typically have a version id looking like "19.0.0git". Due to the way it parses version strings, devel/build2 cannot handle this format, and fails with: LC_ALL=3DC c++ -v error: unable to extract Clang minor version from '18' info: use config.cxx.version to override I submitted https://github.com/build2/build2/issues/360 upstream, and they committed a fix: https://github.com/build2/build2/commit/0e1b73e3, which should eventually end up in 0.17.0. The fix applies without issues on 0.16.0, so add it as a patch. --=20 You are receiving this mail because: You are the assignee for the bug.=