Can we please have more recent versions of Qalculate on Fedora 27 and 28?
I am hoping to update F28. But, F27 is unlikely since it has a soname change.
Second that, the current version is useless, it crashes with all but the simplest expressions: [galileo@sol ~]$ qalc 5 + 2 5 + 2 = 7 [galileo@sol ~]$ qalc x + 2 = 7 /usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed. Aborted (core dumped)
Sadly, this is not an issue with just the old versions. Here it is in action in qalculate-2.4.0 on my system for the exact same equation. $ qalculate-gtk /usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed. Aborted (core dumped) I will file a bug report upstream. But, regarding the update, can you try this COPR? https://copr.fedorainfracloud.org/coprs/nonamedotc/libqalculate/
qakculate-gtk is also unusable here, crashes with a lot of simple calculations, e.g. binomial(3,1). Compiling 2.4.0 seems to work.
(In reply to Mukundan Ragavan from comment #3) > Sadly, this is not an issue with just the old versions. Here it is in action > in qalculate-2.4.0 on my system for the exact same equation. Yes, it is. Qalculate 2.4.0 is stable for me on Windows at least. Are you sure you are using 2.4.0 and not the old one? (In reply to Mukundan Ragavan from comment #3) > I will file a bug report upstream. But, regarding the update, can you try > this COPR? > > https://copr.fedorainfracloud.org/coprs/nonamedotc/libqalculate/ The copr packages have broken dependencies. I cannot update to these versions because they will uninstall plasma-workspace and plasma-desktop. This is probably caused by the fact that there are two identical versions of plasma-workspace{-common,-libs}, one from your copr and one in Fedora's "updates" repository.
(In reply to Christian Stadelmann from comment #5) > (In reply to Mukundan Ragavan from comment #3) > > Sadly, this is not an issue with just the old versions. Here it is in action > > in qalculate-2.4.0 on my system for the exact same equation. > > Yes, it is. Qalculate 2.4.0 is stable for me on Windows at least. Are you > sure you are using 2.4.0 and not the old one? > Yes. I know I am using the right version. $ qalculate-gtk -v 2.4.0 > (In reply to Mukundan Ragavan from comment #3) > > I will file a bug report upstream. But, regarding the update, can you try > > this COPR? > > > > https://copr.fedorainfracloud.org/coprs/nonamedotc/libqalculate/ > > The copr packages have broken dependencies. I cannot update to these > versions because they will uninstall plasma-workspace and plasma-desktop. > This is probably caused by the fact that there are two identical versions of > plasma-workspace{-common,-libs}, one from your copr and one in Fedora's > "updates" repository. That is expected. That COPR is my test repo. I use packages from that. There is soname bump with each version of qalculate. This is the reason why I cannot push new versions of qalculate to stable releases. We generally do not push updates with soname bumps to stable releases. I wanted to get this done for F28 but fell through. Can you file a bug upstream?
libqalculate-2.0.0-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4167f9ffee
This is not really an update to 2.4 or 2.5 versions. But, I have added a patch to ensure qalculate does not crash on regular usage. Please test and add karma on bodhi (link in comment #7)
libqalculate-2.0.0-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4167f9ffee
How about having a "compat" libqalculate 2.0.0 without the API bump plus a "regular" stable libqalculate with qalculate-gtk? The latter one could be updated regularly because it has no dependencies, the former will be stable to meet the API/ABI stability guarantee needed for KDE's plasma and possibly other stuff.
Is there any advantage in updating just qalculate-gtk without the backend? I can certainly update qalculate-gtk if there are advantages.
Oh wait! I forgot. qalculate-gtk requires matching version of libqalculate. :( I cannot updates these independently.
libqalculate-2.0.0-6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.