From nobody Thu Aug 01 16:09:40 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 4WZYnf3HTVz5T0ZN for ; Thu, 01 Aug 2024 16:09:42 +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 4WZYnd6S96z4dbt for ; Thu, 1 Aug 2024 16:09:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722528581; a=rsa-sha256; cv=none; b=Wa4wJ9wPxQxTqK8EJKwLxU3uJf/496xsm09bf0OQvIU7Jh6QcqMV1SBM0rH3W3T7+PlTmB e26VBVb+lWjzBdZH94COktpdXinFIpQ9NzFyDW1sHvGwNUoumrjWoGpmAjz6L1nXj89PY0 O8F/ZuVy3E4ojY95DGAKh5wMw1MGYX8445R92IVz0MfotVpm3XEsEGL12RCkf1m8UnT6FL I7j1b2lwr0u8AO+nA5WUz3hhnbhiQSRWOlLE7vr2cTFioH4/ZxlMt9H5tByTUrIWhWJX0B SzmxuXnW2HtLMZ/WnnuSdebfdMbdgZZ3dlLDyZ2J/Wgaxr9IXqXmGNhu/YSS1w== 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=1722528581; 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=tMSMHNhbFhajJ02kBUyO4cCLnVlqzyPb9mcVW9goOVk=; b=I8GiSpAUq2zpGPaPXn26G/1mL9GAjxWJuSsncYaPS3Wwv44nDSeRUxEZAhrzHSZViqiocv swU/0dayAEjrjW6ZZS6yPAurr0SbxGQb5Hhd0dI0xJAvXneIT0wPsov/fKQJC6gN0/DmxO ct32NCcopgoQea6a+fXhoXqtPguNfOndddB5oOxte1hOg2tD7JHR0zzMjm5TUk8toDWx3q pFgeeWtpCmgDeK4HQb5RBjOAE+BBirsgTFwbuX8zhi8BOYwQ0YLcncXRYO7MhnUORHuJXw kq57KFY/pgRfc7EKBmWvshLglEucbdsw92P7ZmHI7JuqBV2yPOE3tRD9D4VXAg== 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 4WZYnd2PX2zr6c for ; Thu, 1 Aug 2024 16:09:41 +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 471G9fBJ004664 for ; Thu, 1 Aug 2024 16:09:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 471G9fWY004659 for ports-bugs@FreeBSD.org; Thu, 1 Aug 2024 16:09:41 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 280561] java/openjdk17: fix build with clang 19 Date: Thu, 01 Aug 2024 16:09:40 +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: java@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=3D280561 Bug ID: 280561 Summary: java/openjdk17: 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: java@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) 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 /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. --=20 You are receiving this mail because: You are the assignee for the bug.=