From nobody Sat Feb 24 12:18:04 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 4Thm9n3cgXz5CfW6 for ; Sat, 24 Feb 2024 12:18:05 +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 4Thm9n1Dyvz4qTQ for ; Sat, 24 Feb 2024 12:18:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708777085; a=rsa-sha256; cv=none; b=ybpKyXCLjlzEYaoeS8Uo85JjW0Zimi0VhdJ+yc/4Ep1jhBbOf3kepsdHRINVfFjjE1wB1M L+pzc5iQg88yqBuJV04NHgYUS6Yelml7B/jLS93BKNNAS6rA1JTbs6peI+c113pemw2Ysq IHJcwp5fHW86t810kqc8tWK1FFqiL0xbb9wlSsuU8sF9SjcGujn8X7DMwbqWaMZopkMqDo RWVU3xm6nuIiAsU6lOHMTxoJzlGFHqX1QJe4ewT96ydtOddlMdx1AMT2/Rv3T68waxajYR +zBr73cwwtVzgUH/w4Sc8gjFeso9nXaKEHPOrJiFcLIPAznv9rXdQA++A0fjcQ== 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=1708777085; 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=zQqEs1oKmkRHsF7IzEOouJ/BcCxUMs4WQ7cDOYhqTek=; b=IhgIl2WpkD+4E8yU+ndHamUIikck+oCaRwEcdcXGJdONfANc7Ux8v+3rnUk0DnrY/W+Ure qonTbS1I0WDhYKIvCYivkpOhGJUi2hcEaPoHk19BnWq8GPL5WsG5Ga0gJ2QBtXEicPnsZj VE6pzaNOgCN2eIJoCq4I4MkEU5i94BoP1+861KgAeLHRimt1qeeHkhpmmb7IUiBPisz8vo aKx+X5GTpje8VZ1/D89HabmAfK3UakzN2xbmD440TtybPRYH5d/AdQhMSPX4e7Z3aQ/Sxh QV8iAx62wI+jLg5g6Ji6HR24w1FNvdhwVAoGbuHHXlzCqbus1gUZCRmYjBqDOA== 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 4Thm9n0CGXzylL for ; Sat, 24 Feb 2024 12:18:05 +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 41OCI4NV036605 for ; Sat, 24 Feb 2024 12:18:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41OCI49W036604 for ports-bugs@FreeBSD.org; Sat, 24 Feb 2024 12:18:04 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 277280] sysutils/coreutils: fix build with clang 18 Date: Sat, 24 Feb 2024 12:18:04 +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: ports-bugs@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 cc 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=3D277280 Bug ID: 277280 Summary: sysutils/coreutils: fix build with clang 18 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: dim@FreeBSD.org CC: jharris@widomaker.com Flags: maintainer-feedback?(jharris@widomaker.com) CC: jharris@widomaker.com Clang 18 has become more stringent about use of checked integer operations, resulting in errors when building sysutils/coreutils: lib/posixtm.c:194:15: error: operand argument to checked integer operation must be an integer type other than plain 'char', 'bool', bit-precise, or an enumeration ('bool' invalid) 194 | if (ckd_add (&t, t, leapsec)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdckdint.h:16:37: note: expanded from macro 'ckd_add' 16 | (_Bool)__builtin_add_overflow((a), (b), (result)) | ^~~ The actual issue is the gnulib part of coreutils, which is a separate GNU project. That project has already identified and fixed it: https://git.savannah.gnu.org/gitweb/?p=3Dgnulib.git;a=3Dcommit;h=3D67c298c3= 6f6 Apply the fix to fix the build with clang 18. --=20 You are receiving this mail because: You are the assignee for the bug.=