Bug 1884581 - darktable lacks lua support (therefore: no extensions work)
Summary: darktable lacks lua support (therefore: no extensions work)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: darktable
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Germano Massullo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-02 11:33 UTC by Garrett LeSage
Modified: 2020-10-27 01:33 UTC (History)
5 users (show)

Fixed In Version: darktable-3.2.1-7.fc32 darktable-3.2.1-7.fc33 darktable-3.2.1-7.el8
Clone Of:
Environment:
Last Closed: 2020-10-07 20:36:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Garrett LeSage 2020-10-02 11:33:22 UTC
Description of problem:

Fedora 33's build of darktable does not have lua support compiled in.


Version-Release number of selected component (if applicable):

darktable-3.2.1-3.fc33.x86_64


Steps to Reproduce:
1. launch darktable
2. extensions will not load


Actual results:

There's no extension support in Fedora's darktable build.


Expected results:

darktable should have lua support by default, so extensions would work.


Additional info:

$ darktable --version
this is darktable 3.2.1
copyright (c) 2009-2020 johannes hanika
darktable-dev.org

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support disabled
  Colord support enabled
  gPhoto2 support enabled
  GraphicsMagick support enabled
  ImageMagick support disabled
  OpenEXR support enabled

Comment 1 Germano Massullo 2020-10-02 14:14:24 UTC
That's very weird. On F32 it works good. All recent changes in the spec file on Master and F33 branches, should not affect Lua.
Help from other co-maintainers is welcome

Comment 2 Kalev Lember 2020-10-02 16:29:11 UTC
From a quick look, it seems that Fedora 33 has too new lua (5.4), while darktable needs 5.3. I'd suggest using bundled lua for F33+ for now until darktable gets ported to use 5.4.

Comment 3 Germano Massullo 2020-10-02 21:22:57 UTC
(In reply to Kalev Lember from comment #2)
> From a quick look, it seems that Fedora 33 has too new lua (5.4), while
> darktable needs 5.3. I'd suggest using bundled lua for F33+ for now until
> darktable gets ported to use 5.4.

I don't think that is the problem because even EL8 is affected and it ships Lua 5.3.4 which is even older than Fedora 32 (not affected) Lua 5.3.5

Comment 4 Germano Massullo 2020-10-02 21:29:04 UTC
In this build log [1] I found this message
Lua support: System library for lua 5.3 not found (to use darktable's version use -DDONT_USE_INTERNAL_LUA=Off)

[1]: https://kojipkgs.fedoraproject.org//packages/darktable/3.2.1/3.fc33/data/logs/x86_64/build.log

darktable ships Lua 5.3.3
https://github.com/darktable-org/darktable/tree/master/src/external/lua

I am going to ask upstream if they are aware of any problem with Lua > 5.3.3

Comment 5 Germano Massullo 2020-10-02 21:40:52 UTC
A user reported darktable 3.2.1 lua working on Manjaro linux that ships Lua 5.3.5. darktable uses system Lua, not Lua shipped with darktable sources: CMakeCache.txt:DONT_USE_INTERNAL_LUA:BOOL=ON

So we can exclude that the problem comes from Lua version

Comment 6 Fedora Update System 2020-10-03 19:04:14 UTC
FEDORA-2020-29c63989af has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-29c63989af

Comment 7 Fedora Update System 2020-10-03 19:04:14 UTC
FEDORA-EPEL-2020-9b6ed35a25 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9b6ed35a25

Comment 8 Fedora Update System 2020-10-03 19:04:15 UTC
FEDORA-2020-f395d716c4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f395d716c4

Comment 9 Fedora Update System 2020-10-04 01:41:29 UTC
FEDORA-EPEL-2020-9b6ed35a25 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9b6ed35a25

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-10-04 01:50:19 UTC
FEDORA-2020-f395d716c4 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f395d716c4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f395d716c4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-10-04 02:16:07 UTC
FEDORA-2020-29c63989af has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-29c63989af`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-29c63989af

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-10-07 20:36:47 UTC
FEDORA-2020-f395d716c4 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-10-23 22:03:10 UTC
FEDORA-2020-29c63989af has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-10-27 01:33:39 UTC
FEDORA-EPEL-2020-9b6ed35a25 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.