From nobody Sun Sep 15 16:54:23 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 4X6DfT4nflz5WM3Z for ; Sun, 15 Sep 2024 16:54:25 +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 4X6DfT2jhyz4c24 for ; Sun, 15 Sep 2024 16:54:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726419265; a=rsa-sha256; cv=none; b=cvwXLqqORqcts9w22x8PKeGCwJFXcpF6A1g/yRJjRs2QYgCPUubQ7Qut3pgd/eTXlUbDdd mZz10Tie91YDJa86ylx0ZPBBZvI0DvtBAvHvJkj2emFpBH0fHHurXmFSqT2QlHhueF1V4C 0aBmWLzohOIAB5cDtcQVszyIw4/MeWeVnxLObAK5GO8boRw4PksLHLcEUrLQb5EdM4xSrl vYniKm7+Jy4pGuzpUWlfBPxmzVEZzOY8D1Etww6r5FkJL1Id2jbEfjyr9wsXd9/KBRddq3 LWeGkjcnoQio1hkT5K0urlQTf02OT7ZuztVDR+Ljx1JBguHfjwXqZ11CShC44g== 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=1726419265; 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=ufOeTVNOk2qEXzTtJ1WAqOl2TBj3dw7aNIIZkIyiPzM=; b=ABL90r+7xcGn0Myu0dpKyaQZvwujXFo/TWtFJ9rnoZhD60kcHSgMcBc7gHTzMqaqs6nTh1 hgoMfsQHXUAJ/tQDFP7B3McBHh168jNodP1M/k4rlBd8W5VErJzbqrirpsFpXAuq1KCH7f 1vMFmr9awsQ+WIoBdH6ikaRId7URHPbD4M58sCnez9z9g5qmROgQ/DH06J6txFzvd50gGG wuMJaKCHZVBt4vu9k+8a5zNwd1toBwmIOF7IrIIvIkrcNi7v+zZicWqrpos80nmit8J9ZG /tyr1OfY9wAC9BrYMPVv8IjpL9schE1SSBLWQ3cZwRqLU7Xjic7YMhUql5GJpg== 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 4X6DfT2KLJzJjy for ; Sun, 15 Sep 2024 16:54:25 +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 48FGsP7S078607 for ; Sun, 15 Sep 2024 16:54:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48FGsPQf078604 for ports-bugs@FreeBSD.org; Sun, 15 Sep 2024 16:54:25 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 281521] security/libretls: fix build with clang 19 Date: Sun, 15 Sep 2024 16:54:23 +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: bapt@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=3D281521 Bug ID: 281521 Summary: security/libretls: 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: bapt@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) Assignee: bapt@FreeBSD.org Clang 19 has become more strict about function redefinitions, which results in: compat/arc4random.c:197:1: error: redefinition of 'arc4random_buf' 197 | arc4random_buf(void *buf, size_t n) | ^ /usr/include/ssp/stdlib.h:38:22: note: previous definition is here 38 | __ssp_redirect(void, arc4random_buf, (void *__buf, size_t __len), | ^ The problem is that the configure script "detects" arc4random_buf just fine, due to the ports system passing ac_cv_func_arc4random_buf=3Dyes, but it also has an overriding part: # fork detection missing, weak seed on failure # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=3D2= 68642&view=3Dmarkup USE_BUILTIN_ARC4RANDOM=3Dyes I think both of these are no longer true, so delete these lines in post-patch, which ensures that compat/arc4random.c is _not_ compiled at all. --=20 You are receiving this mail because: You are the assignee for the bug.=