Bug 22170 - lensfun version is OK, but the database is not up to date
Summary: lensfun version is OK, but the database is not up to date
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-12-11 07:23 CET by Thierry Houx
Modified: 2017-12-28 14:17 CET (History)
4 users (show)

See Also:
Source RPM: lensfun-0.3.2-2.mga6.x86_64.rpm
CVE:
Status comment:


Attachments

Description Thierry Houx 2017-12-11 07:23:40 CET
Description of problem:
The lensfun database is not up to date, so lot of camera, after 2015 (?), are not recognized (for example Panasonic DMC TZ100).
The last database files are here:
https://sourceforge.net/p/lensfun/code/ci/master/tree/data/db/
lensfun is used by Darktable and Rawtherapee. For example, Rawtherapee 5.3 for windows include lensfun 0.3.2 but has the good database.

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

How reproducible:
At any time I use Rawtherapee or Darktable.

Steps to Reproduce:
1. launch Darktable or Rawtherapee
2. try lens correction: No file!
3.
Comment 1 Marja Van Waes 2017-12-11 16:23:30 CET
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 2 Mike Rambo 2017-12-11 18:29:37 CET
Updated package uploaded for cauldron and Mageia 6.

Advisory:
========================

The lensfun lens and camera database, used by rawtherapee and darktable, has not been updated since 2015. Updated the database files from upstream sources.

Updated packages in core/updates_testing:
========================
lensfun-0.3.2-2.1.mga6
lib[64]lensfun1-0.3.2-2.1.mga6
lib[64]lensfun-devel-0.3.2-2.1.mga6

from lensfun-0.3.2-2.1.mga6.src.rpm

(I have tested that this installs and rawtherapee runs with the new package but I don't really know enough about graphics editors to know if it is operating as it should. Feedback would thus be helpful.)

CC: (none) => mrambo
Assignee: pkg-bugs => qa-bugs

Comment 3 Mike Rambo 2017-12-11 22:04:18 CET
It doesn't look to me like this update is working. Taking back from QA.

Assignee: qa-bugs => mrambo

Comment 4 Thierry Houx 2017-12-12 07:55:06 CET
On sourceforge, there is an explanation on how to update datas; it seems we have not those tools in mageia package so update can't be done:
http://lensfun.sourceforge.net/manual/lensfun-update-data.html

(If I well understood, my english is so far away)
Comment 5 Mike Rambo 2017-12-12 21:27:35 CET
The update I did above does not work nor do the tools. The tools are there now but a python module necessary for their operation, particularly the database update script, is missing. Working on it...
Comment 6 Mike Rambo 2017-12-15 21:25:17 CET
Updated package uploaded for cauldron and Mageia 6.

Updated Advisory:
========================

The lensfun lens and camera database, used by rawtherapee and darktable, has not been updated since 2015. Updated the database files from upstream sources using the correct version 1 files. Fixed the building of the python module necessary for database updates to work in the future.

Updated packages in core/updates_testing:
========================
lensfun-0.3.2-2.2.mga6
lib[64]lensfun1-0.3.2-2.2.mga6
lib[64]lensfun-devel-0.3.2-2.2.mga6

from lensfun-0.3.2-2.2.mga6.src.rpm

Confirmed that the package loads without error. The newer lens db is there on my test machine and it appears to work correctly in rawtherapee. Confirmed the lensfun-update-data utility works on my test machine.

Assignee: mrambo => qa-bugs

Comment 7 Thierry Houx 2017-12-18 14:48:35 CET
I installed lensfun-0.3.2-2.2. mga6 and lib[64]lensfun1-0.3.2-2.2. mga6 in my Mageia 6, and tested with RawTherapee 5.3 (rawtherapee-5.3-1.mga6.src.rpm):
- My camera: Panasonic DMC-TZ100 is present, OK

Note: This is a compact camera, with lens 25-150mm furnished by Leica, you find those in Leica: "Leica DMC-TZ100 & compatibles"

I well found camera and lenses files, and so I tried them with a RW2 file, and I could see that correction is OK.

I tested also the update: /usr/bin/lensfun-update-data and obtained the message:
Successfully updated the database in /var/lib/lensfun-updates/version_1.
So, for me, those packages works fine.
Comment 8 Herman Viaene 2017-12-23 11:15:40 CET
MGA6-32 on Dell Latitude D600 MATE
No installation issues
As bug 22125 already claimed to have the latest lensfun, I wondered, but this is indeed another step up
Tried same command
$ rawtherapee-cli -o p.tif -t -c P7212390.ORF 
RawTherapee, version 5.3, command line
Processing: P7212390.ORF
and got the same big tiff file, OK for me

# lensfun-update-data
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Successfully updated the database in /var/lib/lensfun-updates/version_1.
Launched rawtherapee with my Nikon Coolpix S2900 connected. I get camera unknown, lens unknown. That's not a real problem for me since this camera only produces jpeg.
My old Olympus E500 ORF's are recognized.
Good enough for me.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA6-32-OK

Comment 9 Lewis Smith 2017-12-25 20:16:44 CET
Advisory from comment 6.
OKing 64-bit from Mike's & Thierry's comments. Thank you both for those.
Hence validating.

Keywords: (none) => advisory, validated_update
Whiteboard: MGA6-32-OK => MGA6-32-OK MGA6-64-OK
CC: (none) => sysadmin-bugs

Comment 10 Mageia Robot 2017-12-28 14:17:48 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0133.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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