From nobody Sat Apr 29 22:21:22 2023 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 4Q83pq0wTqz48L7d for ; Sat, 29 Apr 2023 22:21:23 +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 4Q83pp2lgpz3tFg for ; Sat, 29 Apr 2023 22:21:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682806882; 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=5Vilygf/A7mS44o3KiaTNFAYRCbpfEFMZzFejCzSZ9w=; b=P9WseBea0PcI34pwgGJ477226dM8l8TawrCgL1x8e6pckM6YkwdwCszO2mPAUGfJhouMRu eYi4e/QThIhoLkHuQmWCbjGJlJ14wgm2dG/k322BwR7/SvKcmRK748Q/PUUiVs/YgIauTC Cjdm2z6CQ5AG5mnULX2kmJadP9tQLeWxarVgnaL/Y65z4eNRYy3FN/iHCgOythzZrLod1y yjkfMOIBLrH8hA6GB3+hNVzqNi00u94ClPDYzoU0+8OhI80esiKl+BJdifPZaHgQC4Eub1 UPUveLCi/zWs0qXiIRL9ZxCd5iuEwTi/0kMDQiFcgUYVeTFWH/SqcuXan3TDcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682806882; a=rsa-sha256; cv=none; b=Duiy1Rp7fNu+DEjHIHbisoa1asQryLZPjoTh+0nSCI2STfdyC+BtROfIqpfwzHer5BIst7 D/zs06PG5gHgaFgmJBjygoN8wxNR5JO+9xmUbmKPol904VMxF26KH6h8DXSXi7J41vg/sD Rcmp6RAiTZzHd+2YKx/soBp/DaZtkY2NIaGW5mwny1NwEN13zEzAdsYtWf8poSBlAadFZL 8lqQmrVAbszKDQwXmQmgexLB+DilhDTxdlIxsUj2zz808TOY6XErtLhILB8rkUdTueqW/2 dILgA30E71iC1pxMoVPriFi2HXrL9KJNoFf3pY3UpXhYRUQhl/NX6O6TXu05wQ== 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 4Q83pp1hz2zys8 for ; Sat, 29 Apr 2023 22:21:22 +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 33TMLMmJ077587 for ; Sat, 29 Apr 2023 22:21:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33TMLMHh077586 for ports-bugs@FreeBSD.org; Sat, 29 Apr 2023 22:21:22 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 271139] lang/lua54: be aware of ABI break in new version 5.4.5 Date: Sat, 29 Apr 2023 22:21:22 +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: andrew@tao11.riddles.org.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 cc 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271139 Bug ID: 271139 Summary: lang/lua54: be aware of ABI break in new version 5.4.5 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: andrew@tao11.riddles.org.uk CC: russ.haley@gmail.com Flags: maintainer-feedback?(russ.haley@gmail.com) CC: russ.haley@gmail.com Putting this in here as a bug report even though the bug does not actually exist yet in order to try and preempt any issues. The just-released Lua 5.4.5 breaks the ABI by adding a new (pointer) parame= ter to an existing function (lua_resetthread), so anything that calls this will likely crash or misbehave if it was compiled against an older 5.4.x but fin= ds itself linked against a 5.4.5 version of liblua-5.4.so. Furthermore there i= s no sane way for users of the library to protect against this, since no facilit= y to discover the exact library version is provided. I have protested this change upstream, but I was too late; that was only ab= out half an hour before filing this, so I do not yet know what they will do. I don't know what the best solution to this is. 5.4.5 fixes a lot of bugs, = and the ABI change is part of one of those fixes, but crashing is not a good tradeoff. Perhaps the soname needs to change to include the minor version t= oo, but that's not a simple change and I don't know what other issues that would cause. Regardless, probably best not to just blindly update to 5.4.5 until this is= sue has been properly considered. --=20 You are receiving this mail because: You are the assignee for the bug.=