From nobody Fri Jan 20 19:21:39 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 4Nz8W806LLz2v4Bq for ; Fri, 20 Jan 2023 19:21:40 +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 4Nz8W75fVqz3FRF for ; Fri, 20 Jan 2023 19:21:39 +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=1674242499; 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=aCi12Iazoq+TY7Wkm9UkgcBSQctyAlam1xA8mCOluuo=; b=mosaJZZPsP17CdORVmlrgGjcwp69DfHQC7LgqYeUxuYmTXNnFaEveK7EnAnZRAy8/ltdQG OaF0B9XLN/YxZlix5yo3DB+UIMYJVFv8X85cg3kuXwAbQlczqNE9XQFBusSXidEP/dB/Ia waLdhZENcrKbLD/F+IYyHGI2qZf1SFPepbzvZo8qbmeoMFPaL0j94WziFhechU/gUweu40 NNAg5j3u/1CFIngX9z6leFjvSd8oy9ehn6nIDNQWm547a1q0kwVRb+RU0S/B6P5lJ0/6lH d2X64WPdw3m87NVEbKs0iCqfDTdGxXuJBIiJlB0YQqYLBDTNY7yg33grSmFEAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674242499; a=rsa-sha256; cv=none; b=vOS34krVegP4LEmQtGDE5eeKiP3TetzDlAK0c6Vl7G7I1a3nX7jfoXEgXySVRL0jg8+30n RoaeW/3ZwZm0K3HaSsvodcdo8rZcuWNauKL6WSt+ki5pAPeheWWMnBH7AaJEwW5BilZ6Vi GYhR0TDy3oa0ZCTATCZdmOA+TU9re1UnU/0ATIOkWEtWdRwd++5aJjA+6HhFuCphR0FuJW ft85lhGHIEGnyvQMbV8h5q5LgG/rHkDK8d+ZsuT/DSMoPhJePsLEe+yxFYN8GNK+ADEq5y iXiSJ5e3gW3LZz9lzBP/BCePwj4mIMN6Vll3lS6nvEGYIEh1cfWGsutTKaTTVw== 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 4Nz8W74mS6zhr4 for ; Fri, 20 Jan 2023 19:21:39 +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 30KJLd5t072929 for ; Fri, 20 Jan 2023 19:21:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30KJLdbo072928 for ports-bugs@FreeBSD.org; Fri, 20 Jan 2023 19:21:39 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 269074] editors/lite fails to launch after installing lua (5.3/5.4?) Date: Fri, 20 Jan 2023 19:21:39 +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: khwerz@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@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: 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=3D269074 Bug ID: 269074 Summary: editors/lite fails to launch after installing lua (5.3/5.4?) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: khwerz@gmail.com Assignee: danfe@FreeBSD.org Flags: maintainer-feedback?(danfe@FreeBSD.org) tldr; lite editor seems to expect luajit, when lua5.4 is installed, it goes= to that version, which is not supported. Initial error: $ lite Error: /usr/local/share/lite/core/init.lua:131: bad argument #2 to 'format' (number has no integer representation) stack traceback: [C]: in function 'string.format' /usr/local/share/lite/core/init.lua:131: in main chunk [C]: in function 'require' [string "local core..."]:10: in function <[string "local core..."]:= 2> [C]: in function 'xpcall' [string "local core..."]:2: in main chunk Checking the code, the line at fault is local temp_uid =3D (system.get_time() * 1000) % 0xffffffff local temp_file_prefix =3D string.format(".lite_temp_%08x", temp_uid) string.format will format temp_uid which is a float, in lua 5.1/5.2/jit, lua automatically floored floats. but even when flooring and the application launching, no file selection appears. Solution: Probably using strictly luajit/lua5.1/lua5.2 Note: I am unsure if it automatically will start failing after installing lua5.4/5.3, but I am unwilling to test/uninstall them atm. --=20 You are receiving this mail because: You are the assignee for the bug.=