Activity log for bug #1804865

Date Who What changed Old value New value Message
2018-11-23 16:52:36 Andreas Rönnquist bug added bug
2018-11-23 20:37:55 Andreas Rönnquist bug added subscriber Ubuntu Sponsors Team
2018-11-24 09:06:06 Hans Joachim Desserud tags bionic patch
2018-11-25 00:15:55 Mathew Hodson scite (Ubuntu): importance Undecided Low
2019-03-09 22:07:30 Mathew Hodson tags bionic patch bionic patch patch-accepted-upstream
2019-03-09 22:07:39 Mathew Hodson nominated for series Ubuntu Bionic
2019-03-09 22:07:39 Mathew Hodson bug task added scite (Ubuntu Bionic)
2019-03-09 22:07:53 Mathew Hodson scite (Ubuntu Bionic): importance Undecided Low
2019-03-09 22:08:02 Mathew Hodson scite (Ubuntu): status New Fix Released
2019-04-20 18:25:46 Simon Quigley removed subscriber Ubuntu Sponsors Team
2019-04-20 20:21:04 Andreas Rönnquist description SciTE in ubuntu 18.04 has the Lua library embedded, and compiled without dynamic libraries enabled. This makes it impossible to load Lua modules which is in the dynamic library on SciTE >= 4.0, when it started using Lua 5.3. On later versions (SciTE >= 4.1.0) I have built Lua without using the embedded Lua library but using Debian-packaged shared object instead, and there this isn't a problem. (I am one of the Debian maintainers of SciTE). This leaves the version in 18.04, where this still is a problem. See upstream bug at https://sourceforge.net/p/scintilla/bugs/2058/ for a patch. Another alternative is to backport version 4.1.0 or later to Ubuntu 18.04. [Impact] No Lua module which is in the dynamic library can be loaded by SciTE on Linux since >=4.0 (when it started using Lua 5.3). [Test Case] First - create /usr/local/lib/lua/5.3/system and symlink a module there: sudo apt -y install lua-system sudo mkdir -p /usr/local/lib/lua/5.3/system sudo ln -s /usr/lib/x86_64-linux-gnu/lua/5.3/system/core.so /usr/local/lib/lua/5.3/system/core.so Add a Lua script to the startup scripts: (Use the menu "Options" -> "Open Lua Startup Script") and add local system = require 'system.core' print( "System.Gettime is ", system.gettime() ) which should simply print the current time using the Lua library when starting SciTE, instead gives an error: error loading module 'system.core' from file '/usr/local/lib/lua/5.3/system/core.so': dynamic libraries not enabled; check your Lua installation >Lua: error occurred while running startup script [Other] (Previous text): SciTE in ubuntu 18.04 has the Lua library embedded, and compiled without dynamic libraries enabled. This makes it impossible to load Lua modules which is in the dynamic library on SciTE >= 4.0, when it started using Lua 5.3. On later versions (SciTE >= 4.1.0) I have built Lua without using the embedded Lua library but using Debian-packaged shared object instead, and there this isn't a problem. (I am one of the Debian maintainers of SciTE). This leaves the version in 18.04, where this still is a problem. See upstream bug at https://sourceforge.net/p/scintilla/bugs/2058/ for a patch. Another alternative is to backport version 4.1.0 or later to Ubuntu 18.04.
2019-04-20 20:21:36 Andreas Rönnquist attachment added debdiff https://bugs.launchpad.net/ubuntu/+source/scite/+bug/1804865/+attachment/5257395/+files/scite_lua_dynamic_libs.debdiff
2019-04-20 20:22:18 Andreas Rönnquist attachment removed debdiff https://bugs.launchpad.net/ubuntu/+source/scite/+bug/1804865/+attachment/5257395/+files/scite_lua_dynamic_libs.debdiff
2019-04-20 20:23:07 Andreas Rönnquist attachment added Fix https://bugs.launchpad.net/ubuntu/+source/scite/+bug/1804865/+attachment/5257396/+files/scite_fix_dynamic_libraries.debdiff
2019-04-20 20:24:42 Andreas Rönnquist bug added subscriber Ubuntu Sponsors Team
2019-04-20 22:07:21 Simon Quigley removed subscriber Ubuntu Sponsors Team
2019-05-06 15:02:59 Łukasz Zemczak scite (Ubuntu Bionic): status New Fix Committed
2019-05-06 15:03:01 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-05-06 15:03:02 Łukasz Zemczak bug added subscriber SRU Verification
2019-05-06 15:03:06 Łukasz Zemczak tags bionic patch patch-accepted-upstream bionic patch patch-accepted-upstream verification-needed verification-needed-bionic
2019-08-19 12:00:13 Andreas Rönnquist tags bionic patch patch-accepted-upstream verification-needed verification-needed-bionic bionic patch patch-accepted-upstream verification-done-bionic verification-needed
2019-08-19 12:32:37 Andreas Rönnquist tags bionic patch patch-accepted-upstream verification-done-bionic verification-needed bionic patch patch-accepted-upstream verification-done-bionic
2019-08-19 13:31:21 Andreas Rönnquist tags bionic patch patch-accepted-upstream verification-done-bionic bionic patch patch-accepted-upstream verification-done verification-done-bionic
2019-08-20 12:27:19 Andreas Rönnquist tags bionic patch patch-accepted-upstream verification-done verification-done-bionic bionic patch patch-accepted-upstream verification-done-bionic verification-needed
2019-08-20 12:27:54 Andreas Rönnquist tags bionic patch patch-accepted-upstream verification-done-bionic verification-needed bionic patch patch-accepted-upstream verification-needed verification-needed-bionic
2019-08-20 15:35:39 Launchpad Janitor scite (Ubuntu Bionic): status Fix Committed Fix Released
2019-08-21 12:46:35 Andreas Rönnquist scite (Ubuntu Bionic): status Fix Released In Progress