From nobody Wed Aug 7 16:52:29 2024 X-Original-To: java@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 4WfGSF5MmBz5SmFk for ; Wed, 07 Aug 2024 16:52:29 +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 4WfGSF4FTNz45Lj for ; Wed, 7 Aug 2024 16:52:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723049549; a=rsa-sha256; cv=none; b=Qg1rnm+FldM0A7HvMXASoEOH/5chgF92/U+y/UtNAJzf0zgPINeeLjKGDr+KW1/Lr8oBHz d22bub7vhPNlEKdJLTDqfRupq/4584dwXenY5oqxQ0UBqgyDbvZl1M2xY4ciMQXfWr2xPu nbSKM+QSIjRISH0t5hO8aD9ROPC2jGaszdONdBcU6lsFRw2GaTuLEIsejTgYvj6N25HIlj YymlACRMEFuoSsOLSCciVlA89x0peNWGzl7yYM32F4D0Ikhnq6TL4YHvGjm/BjHfj+SDtJ kfKzR3iSxa5a2zEZb7qV/jeKq6zPxSVmTBVo2ZdxXcB0EWXrnEayh9XqutWSWw== 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=1723049549; 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: in-reply-to:in-reply-to:references:references; bh=664CTblrki3QIY5i3pHhlU7TwKeTDmNlapljcB73X4U=; b=qkmwgBuG4Cb3hrx+OVpbLWPfp7T0lHJT2/oCOMSRYRnquloPdLLtGIstO8w92SbhLwnoMp F8jZ8Ov4u0Nc5T/aw5rotDISkj4p61IxA8sSS+cW7KzJO7PuSf6X4EKmhsCbfkb+mxSLHc jSKY01/xjvVRxWiPGy9dBcqUf2ul+lScDrd9FSs5xFnrY3hWptJgmRre07bta4V5a0kjTH XIPvt5/6HiJnNr+tE5uJA3DKUXaOYmgB30jLi4pHV2N6uC1Zjv0YQkopl5RxiU4pelUOa6 DAiZ7kcGFfBwwqqhMDQNuYL0ymiY4Lyb/g+DyiJkZDqx+IT6Lvk9HVdhQlpqNg== 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 4WfGSF3sRbzxxs for ; Wed, 7 Aug 2024 16:52:29 +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 477GqTVh015072 for ; Wed, 7 Aug 2024 16:52:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 477GqTMr015071 for java@FreeBSD.org; Wed, 7 Aug 2024 16:52:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 280561] java/openjdk17: fix build with clang 19 Date: Wed, 07 Aug 2024 16:52:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280561 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D50cdf3908631cd59cf470624850f5f4= bb5bed5a2 commit 50cdf3908631cd59cf470624850f5f4bb5bed5a2 Author: Dimitry Andric AuthorDate: 2024-08-01 16:05:22 +0000 Commit: Dimitry Andric CommitDate: 2024-08-07 16:51:46 +0000 java/openjdk17: fix build with clang 19 Clang 19 has a number of new warnings, and because java/openjdk17 compiles with -Werror by default, it results in errors similar to: =20=20=20=20=20=20=20 /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.12-7-1/src/hotspot/o= s/posix/signals_posix.cpp:1681:20: error: cast from 'void (*)(int, siginfo_t *, ucontext_t *)' (aka 'void (*)(= int, __siginfo *, __ucontext *)') to 'void (*)(int)' converts to incompatible function type [-Werror,-Wcast-function-type-mismatch] 1681 | act.sa_handler =3D (void (*)(int)) SR_handler; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ I propose to disable warnings-as-errors for this port, similar to what is already done for openjdk8 and openjdk11. It does not make sense to have this on by default, unless you are an upstream maintainer. PR: 280561 Approved by: glewis (maintainer) MFH: 2024Q3 (cherry picked from commit 4c37f9f5f253a5701fa94ddfc00520889bca9ea4) java/openjdk17/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=