From nobody Wed Mar 13 02:27:57 2024 X-Original-To: apache@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 4TvZDZ5Fshz5D2Ts for ; Wed, 13 Mar 2024 02:27:58 +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 4TvZDZ1Y8Yz44YC for ; Wed, 13 Mar 2024 02:27:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710296878; a=rsa-sha256; cv=none; b=t5RADHSTogRIAnoYf1Stx/x2m8QAOq+PEGV0oP+IR9qqFhn8PRiVKjHR8nN5lKjfAYEHWt IxKTX6VOPzhaGjObfjCa5XLt9iQKyeQC9t4CfP1G+pHpiR5LrrM/QOFoBHLQ0qQy8BFO1D Mz+kWUHvY7AHOsQu8MXJxXotZE95zE4pe2UBzXKwii+xxv3EPJGu8L+e4xbSYoGTqKIW27 k6eqpjCCsF8deiBIE3OotgA92J0AM5JlIUk2XJ3pBiOKL/Nabd0eL13LhU48YyVmvIrzul kPZcBF0LOWcpXRK72dzHnJ37/3peE/GUr/PBfUoxyKfrVVnokIW4RPgeOqL1zQ== 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=1710296878; 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=kfB8grdHdJoMUiVddSI7g97gbJnsR1jwOfDQjyQR3DI=; b=MMx0lKToRdOZkK0GaMfrjegPDhnTm245zrlg6UJSBwa5zdopALN0B7kkQtLwCBel7wP7Nz 1USmGTplPnD/qZ3JF16MgQbvhUKXnFrlWX2LWKP8y/VxsvNVvkCjIcwFv2yp/DVGX+/DCi XM0LV0sdcRik9nzoI0jDNjmD1c+gsOJAMJA0CfYgW03/7YZMQPSHmyzxiEOOqFPSHacwla OyjHCF/xaYU0bRWQJSIauGQDrRG+c/l0tS1sG+eHbWmSFI29RePWyMmGexSe0zOD6RpBr2 X6Zpk+2IITiM9n3f76NAsjyj66cez8h3nGCbsR1d1tDLzFGeCrdGIoMjoopxIQ== 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 4TvZDZ13WCzPVM for ; Wed, 13 Mar 2024 02:27:58 +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 42D2RwuS042452 for ; Wed, 13 Mar 2024 02:27:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42D2Rwxg042451 for apache@FreeBSD.org; Wed, 13 Mar 2024 02:27:58 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: apache@FreeBSD.org Subject: [Bug 277660] www/mod_auth_kerb2: fix build with clang 17 when HEIMDAL is used Date: Wed, 13 Mar 2024 02:27:57 +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 Only Me X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@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 attachments.created 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: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277660 Bug ID: 277660 Summary: www/mod_auth_kerb2: fix build with clang 17 when HEIMDAL is used Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: jkim@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Created attachment 249126 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249126&action= =3Dedit Patches to fix build option HEIMDAL with Clang 17 I've been using HEIMDAL option and it started failing from 13.3: src/mod_auth_kerb.c:1405:20: error: incompatible function pointer types assigning to 'OM_uint32 (*)(OM_uint32 *, gss_ctx_id_t *, const gss_cred_id_= t, const gss_buffer_t, const gss_channel_bindings_t, gss_name_t *, gss_OID *, gss_buffer_t, OM_uint32 *, OM_uint32 *, gss_cred_id_t *)' (aka 'unsigned int (*)(unsigned int *, struct gss_ctx_id_t_desc_struct **, struct gss_cred_id_t_desc_struct *const, struct gss_buffer_desc_struct *const, str= uct gss_channel_bindings_struct *const, struct gss_name_t_desc_struct **, struct gss_OID_desc_struct **, struct gss_buffer_desc_struct *, unsigned int *, unsigned int *, struct gss_cred_id_t_desc_struct **)') from 'OM_uint32 (OM_uint32 *, gss_ctx_id_t *, gss_const_cred_id_t, const gss_buffer_t, const gss_channel_bindings_t, gss_name_t *, gss_OID *, gss_buffer_t, OM_uint32 *, OM_uint32 *, gss_cred_id_t *)' (aka 'unsigned int (unsigned int *, struct gss_ctx_id_t_desc_struct **, const struct gss_cred_id_t_desc_struct *, stru= ct gss_buffer_desc_struct *const, struct gss_channel_bindings_struct *const, struct gss_name_t_desc_struct **, struct gss_OID_desc_struct **, struct gss_buffer_desc_struct *, unsigned int *, unsigned int *, struct gss_cred_id_t_desc_struct **)') [-Wincompatible-function-pointer-types] 1405 | accept_sec_token =3D gss_accept_sec_context; | ^ ~~~~~~~~~~~~~~~~~~~~~~ src/mod_auth_kerb.c:1412:25: warning: comparison of distinct pointer types ('OM_uint32 (*)(OM_uint32 *, gss_ctx_id_t *, const gss_cred_id_t, const gss_buffer_t, const gss_channel_bindings_t, gss_name_t *, gss_OID *, gss_buffer_t, OM_uint32 *, OM_uint32 *, gss_cred_id_t *)' (aka 'unsigned int (*)(unsigned int *, struct gss_ctx_id_t_desc_struct **, struct gss_cred_id_t_desc_struct *const, struct gss_buffer_desc_struct *const, str= uct gss_channel_bindings_struct *const, struct gss_name_t_desc_struct **, struct gss_OID_desc_struct **, struct gss_buffer_desc_struct *, unsigned int *, unsigned int *, struct gss_cred_id_t_desc_struct **)') and 'OM_uint32 (*)(OM_uint32 *, gss_ctx_id_t *, gss_const_cred_id_t, const gss_buffer_t, c= onst gss_channel_bindings_t, gss_name_t *, gss_OID *, gss_buffer_t, OM_uint32 *, OM_uint32 *, gss_cred_id_t *)' (aka 'unsigned int (*)(unsigned int *, struct gss_ctx_id_t_desc_struct **, const struct gss_cred_id_t_desc_struct *, stru= ct gss_buffer_desc_struct *const, struct gss_channel_bindings_struct *const, struct gss_name_t_desc_struct **, struct gss_OID_desc_struct **, struct gss_buffer_desc_struct *, unsigned int *, unsigned int *, struct gss_cred_id_t_desc_struct **)')) [-Wcompare-distinct-pointer-types] 1412 | (accept_sec_token =3D=3D gss_accept_sec_context) | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ The attached patch fixed the problem for me. --=20 You are receiving this mail because: You are the assignee for the bug.=