×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

LIBRAW Latest for CR3

10 months 1 week ago
Girit
Fresh Boarder
Fresh Boarder
Posts: 4
More
Topic Author
LIBRAW Latest for CR3 #45569
Thank you heaps in advance . You are legend . Pm me if you need testing :)

Please Log in or Create an account to join the conversation.

10 months 18 hours ago
pch
Gold Boarder
Gold Boarder
Posts: 194
Karma: 2
More
LIBRAW Latest for CR3 #45977
I get this new version of libraw installed from the ppa after an update. I am using Ubuntu 19.10 amd64, the version it install is libraw-0.19.6~201911081549~ubuntu19.10.1

The problem is it break any Ubuntu application linked with libraw.
For example :
$ gwenview
gwenview: error while loading shared libraries: libraw.so.19: cannot open shared object file: No such file or directory

A part of problem is because the package install libraw.so.18 instead of libraw.so.19
$ ls -l /usr/lib/x86_64-linux-gnu/libraw.so*
lrwxrwxrwx 1 root root 16 nov. 8 16:49 /usr/lib/x86_64-linux-gnu/libraw.so -> libraw.so.18.0.0
lrwxrwxrwx 1 root root 16 nov. 8 16:49 /usr/lib/x86_64-linux-gnu/libraw.so.18 -> libraw.so.18.0.0
-rw-r--r-- 1 root root 1078112 nov. 8 16:49 /usr/lib/x86_64-linux-gnu/libraw.so.18.0.0

I rename the files and link so Gwenview can start. But it crash as soon I try to open a RAW file, probably because of interface change between the version 19.5 and 19.6.

Please Log in or Create an account to join the conversation.

10 months 15 hours ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
LIBRAW Latest for CR3 #45980
Thanks for the report. I've just retriggered all builds but against 0.19-stable branch.. I think it has the correct SHLIB version defined there. It's odd in master it's still .18

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

10 months 4 hours ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
LIBRAW Latest for CR3 #46005
So this fixed libraw but broke KStars.. will need to rebuild KStars now

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

10 months 2 hours ago
pch
Gold Boarder
Gold Boarder
Posts: 194
Karma: 2
More
LIBRAW Latest for CR3 #46011
Thank you, this fix the other application. The version number was changed after the "snapshot" release in this commit: github.com/LibRaw/LibRaw/commit/e53e15c7...0e8c2c90ace96cd69a72

But do this build support CR3?
objdump -TC libraw.so.19.0.2 |grep crx return nothing.

Please Log in or Create an account to join the conversation.

10 months 2 hours ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
LIBRAW Latest for CR3 #46012
*sigh* ... sorry looks like we might need to do another build then? So build against master now should be OK?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

10 months 1 hour ago
pch
Gold Boarder
Gold Boarder
Posts: 194
Karma: 2
More
LIBRAW Latest for CR3 #46016
Not sure.
If I build libraw from master and install on my system every KDE graphic application crash with segmentation fault as soon I try to open a raw file.
The crash is when libKF5KDcraw.so call libraw, probably because of some structure format change in the new version.

Here a backtrace:
Thread 4 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe527a700 (LWP 8900)]
LibRaw::LibRaw (this=0x7fffe51ef990, flags=0) at src/utils/init_close_utils.cpp:26
26 LibRaw::LibRaw(unsigned int flags) : memmgr(1024)
(gdb) bt
#0 LibRaw::LibRaw (this=0x7fffe51ef990, flags=0) at src/utils/init_close_utils.cpp:26
#1 0x00007ffff53aa740 in KDcrawIface::KDcraw::loadEmbeddedPreview(QByteArray&, QBuffer const&) ()
from /usr/lib/x86_64-linux-gnu/libKF5KDcraw.so.5
#2 0x00007ffff7d83ff2 in ?? () from /usr/lib/x86_64-linux-gnu/libgwenviewlib.so.5
#3 0x00007ffff7d81d64 in ?? () from /usr/lib/x86_64-linux-gnu/libgwenviewlib.so.5
#4 0x00007ffff619e262 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff619acc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

This is bad if we cannot replace libraw without rebuilding all the applications.
Trying to port CR3 support but keep the previous structure compatibility is probably a lot of work.
Installing the library with another name is very bad.
PixInsight do not have this problem because libraw is statically linked. But this is not a good solution too.
Maybe look with the Debian maintainer if a backport is planned?

Any other idea?

Please Log in or Create an account to join the conversation.

10 months 55 minutes ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
LIBRAW Latest for CR3 #46021
Apart from renaming this to librawcr3 and then making KStars depend on that while leaving the system libraw intact, I don't see any viable quick solution.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

10 months 26 minutes ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
LIBRAW Latest for CR3 #46024
btw, I checked and on 18.04 at least, gwenview is linked with libraw.so.16 while KStars linked with libraw.so.19 and they both work OK.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

9 months 4 weeks ago
pch
Gold Boarder
Gold Boarder
Posts: 194
Karma: 2
More
LIBRAW Latest for CR3 #46036
Yes if the version in the distribution is different it work OK.
18.04 and 18.10 use libraw16 so no problem.
19.04 and 19.10 use libraw19 and it break when libraw is replaced by the master version with the same name.
A solution is if libraw change it's version to 20 instead of making a snapshot with the old version number.

Please Log in or Create an account to join the conversation.

9 months 4 weeks ago
wvreeven
Supernova Explorer
Supernova Explorer
Posts: 1624
Karma: 8
More
LIBRAW Latest for CR3 #46038
Changing its version to 20 will work for now but it may break things again as soon as Ubuntu start including libraw version 20 in their distributions. I prefer Jasem's workaround to rename his version to librawcr3 until Ubuntu include this version or some of the fixes in the code make it to the main project.


Wouter

ASI6200 and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

Please Log in or Create an account to join the conversation.

9 months 4 weeks ago
pch
Gold Boarder
Gold Boarder
Posts: 194
Karma: 2
More
LIBRAW Latest for CR3 #46045
Yes, new name for new name librawcr3 is better that libraw20.
We must also be sure this library will be removed when no more need.

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds