From nobody Thu Sep 19 19:41:06 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 4X8m8y5FFZz5XF3N for ; Thu, 19 Sep 2024 19:41:06 +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 4X8m8y3RFpz4Pq0 for ; Thu, 19 Sep 2024 19:41:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726774866; a=rsa-sha256; cv=none; b=iUOoS3RML6K7pvmF2cRmx7Gc3CTmZIh73WNVOV9hxEdtYdPOoloXskVeA7kGUuUbhpZuWf GmIqZzL/4pZufKzevhQXh5xiDhScgsf6x8bqSWjOsIOvykExJcFC4ErSxn3DMPRFzjn35X FRGbccdw0kZ/NfgDdKA5wWWd2AztxtTEY8TD5HydvyXTPcUV4O/BTlRPchURsXKNwAY87z U8+PM/nfGT+eZm6LkqFfdz6v1xI4wwU6thfWQPMWXdlWab9/FldmZfBNWQYEfGKQCxiQjk FL6ZSlsvqxo5d6tMMlmxOBxG/5FNzOxxkzh4RMVEMsFNEcdkUzaRoyg9vhX87w== 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=1726774866; 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=MfqZsuhjTrN09Gsv7Q1uH8hBhXzpqrQyGYkMChNLFUw=; b=WQRbsLkmVcpSGZxwi21HInYQ+FMTlmcZ5oTKvXky8UaF84pUoPkrf3a72JRMLGSrpjS75h SNCXXRyQWoIQlL0dXYNNY4AQ7Ds9KM4FeRIZCPtBT0hl++JZDolz0NnUHzVZM5WCoO50R4 7YsUUd26xqSd24y4+/UhvsAs4I8fouPBOhBKu67AgENaK09JYfygsnSwCFUCNCM5w3WHyZ AhlDrILKtpFAH/iwgy915DFy9FsyLLTUVwknf0d/2FKPtVJIQofeL92N4nmPbfY/NAB1a9 8t0wEpC7Gx3bnXsQbroksNjGK+H+I+rqCX2K4rypG9mNKguJtIJ1F/BLWgMGFQ== 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 4X8m8y33B5zJds for ; Thu, 19 Sep 2024 19:41:06 +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 48JJf6hw052069 for ; Thu, 19 Sep 2024 19:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48JJf6Bb052068 for apache@FreeBSD.org; Thu, 19 Sep 2024 19:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 281594] www/mod_perl2: fix build with clang 19 on i386 Date: Thu, 19 Sep 2024 19:41:06 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-apache (Nobody) for maintainer-feedback: Bug 281594: www/mod_perl2: fix build with clang 19 on i386 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281594 --- Description --- Clang 19 has become more strict about incompatible function pointer types, which results in an error building mod_perl2 on i386: modperl_common_util.c:57:53: error: incompatible function pointer types initializing 'int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char *, I32)' (aka 'int (*)(struct interpreter *, struct sv *, struct magic *, stru= ct sv *, const char *, long)') with an expression of type 'int (PerlInterprete= r *, SV *, MAGIC *, SV *, const char *, int)' (aka 'int (struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, int)') [-Wincompatible-function-pointer-types] 57 |=09=09=09=09=09=09=20=20=20=20=20 modperl_table_magic_copy}; |=09=09=09=09=09=09=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~ Perl uses the type `I32` for the last parameter, which is apparently `long` on i386. So use that instead.