From nobody Thu Oct 17 19:18:48 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 4XTyLJ71lZz5ZNS4 for ; Thu, 17 Oct 2024 19:18:48 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTyLJ5tW2z4Ys7 for ; Thu, 17 Oct 2024 19:18:48 +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=1729192728; 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=/U33lY0z1/IKsuBnGPC5fkzUV1y3O4fgcM6nRe+X26E=; b=goZQc1EQlsWI304hdLcMpR089duDvWVxX+LG/gt1U079jJ/vPAHuoUUTkDXkbEkGEkyl7j /s5F000OA9F8OKBBlE87yTOCWHm2rxV1xUo0egBpRFlTaUiGiJ/MMlWqbl9G4OXwHUUUFx W/G/fAoqJPoYrjaAQxbyvlWOpmxXWR94+YUkb61znnv3iHm25qOErRY7q0NNO1UfJQvxEj U2SXxLx74HpuRa+cskvQUcsNKwqmL4UGZcWZQJr4BpUq3OLi+S01qr0XYl8DAZ+/RRJ8py xz5uhQZOhS0iSafDQGHdLyfSz7OeunnQircvWEH77kIlZLgpqxyohKghXOBh7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729192728; a=rsa-sha256; cv=none; b=SxIyR8GXx9+EWFoEXy25xfJBUJvoNAI9/KAm58tP3pEjZPlXJ5zlnEbzz6s/7fKIyRd67c Wd0zJEnMV2DUzpLHodRzWSbVEFYGSM1Q5Tlp8jtVuQnMJL+0SHbsIqJ0J1HdKUjU8HrMfI G39NCG2t/KYERlHOwFrnMxlaabzCOl+oHAzADFA3VFotE/LH0Bmu/ktCA+6SoPmISg9jN1 doRPDrc4EM3/CrUjkielqO6xwf5dqdqBPjJFaK8GpB8I7C/y4PaPL7nC8r/n8UQ8kdxO3l /ItBpHacKbk/ohtyR/SwY1SXzgG9P+xkJZmKpV1wRCpLbVHTpJTDQCenZV/YwQ== 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 4XTyLJ5VP0z12mN for ; Thu, 17 Oct 2024 19:18: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 49HJImkU026312 for ; Thu, 17 Oct 2024 19:18:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49HJIma5026311 for ports-bugs@FreeBSD.org; Thu, 17 Oct 2024 19:18: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 282166] devel/bazel5: fix build with clang 19 Date: Thu, 17 Oct 2024 19:18: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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vishwin@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: 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=3D282166 Bug ID: 282166 Summary: devel/bazel5: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: vishwin@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(vishwin@freebsd.org) Assignee: vishwin@freebsd.org Clang 19 has become more strict about C23 extensions, which results in errors building devel/bazel5: external/upb/upb/upb.c:215:25: error: defining a type within '__builtin_offsetof' is a C23 extension [-Werror,-Wc23-extensions] 215 | n =3D UPB_ALIGN_DOWN(n, UPB_ALIGN_OF(upb_arena)); | ^~~~~~~~~~~~~~~~~~~~~~~ external/upb/upb/port_def.inc:94:38: note: expanded from macro 'UPB_ALIGN= _OF' 94 | #define UPB_ALIGN_OF(type) offsetof (struct { char c; type member= ; }, member) | ^~~~~~ /usr/include/stddef.h:64:42: note: expanded from macro 'offsetof' 64 | #define offsetof(type, field) __offsetof(type, field) | ^~~~ /usr/include/sys/cdefs.h:324:53: note: expanded from macro '__offsetof' 324 | #define __offsetof(type, field) __builtin_offsetof(type, field) | ^~~~ external/upb/upb/port_def.inc:92:48: note: expanded from macro 'UPB_ALIGN_DOWN' 92 | #define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align)) | ^~~~~ To work around this, amend extra-patch-upb_bazel_build__defs.bzl to also add -Wno-c23-extensions. Alternatively, the -Werror option could be taken out. --=20 You are receiving this mail because: You are the assignee for the bug.=