Bug 484823 - analitza produces libraries with the same name and SONAME for different versions
Summary: analitza produces libraries with the same name and SONAME for different versions
Status: RESOLVED FIXED
Alias: None
Product: analitza
Classification: Frameworks and Libraries
Component: core (show other bugs)
Version: 8.0.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 15:58 UTC by Schrijvers Luc
Modified: 2024-04-11 22:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Schrijvers Luc 2024-03-31 15:58:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

Applications wont launch with the other KF version installed.

STEPS TO REPRODUCE
1. Build analitza 23.08.5 for KF5, Build analitza 24.02.1 for KF6ยต

OBSERVED RESULT

Both provide libAnalitza*.so.8.0.0

EXPECTED RESULT

At least one should provide a different SONAME

SOFTWARE/OS VERSIONS
Haiku: R1B4 
KDE Plasma Version: KF5 (not used)
KDE Frameworks Version: 5.115.0 + 6.0.0
Qt Version: 5.15.11 + 6.6.0

ADDITIONAL INFORMATION
Our Cantor version is still build with KF5, hence using Analitza 23.08.5, but wanted to give a go at KAlgebra with 24.02.1 when I noticed either can't find Analitza is the other version is installed (cmake config version differ).

```
CMake Error at CMakeLists.txt:30 (find_package):
  By not providing "FindAnalitza6.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Analitza6", but CMake did not find one.

  Could not find a package configuration file provided by "Analitza6" with
  any of the following names:

    Analitza6Config.cmake
    analitza6-config.cmake

  Add the installation prefix of "Analitza6" to CMAKE_PREFIX_PATH or set
  "Analitza6_DIR" to a directory containing one of the above files.  If
  "Analitza6" provides a separate development package or SDK, be sure it has
  been installed.
```
Comment 1 Bug Janitor Service 2024-04-10 00:05:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/education/analitza/-/merge_requests/22
Comment 2 Schrijvers Luc 2024-04-10 09:55:23 UTC
Commented upstream, the proposed fix fixes building kalgebra 23.08.5 with the Qt5 version and 24.02.1 with the Qt6 version.
Comment 3 Aleix Pol 2024-04-11 17:07:26 UTC
Git commit 971e7d3cb2b1b697d6240fadeed5e2d6c5d1edc3 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 11/04/2024 at 17:05.
Pushed by apol into branch 'master'.

Bump soversion for the Qt6-based version

M  +4    -4    CMakeLists.txt

https://invent.kde.org/education/analitza/-/commit/971e7d3cb2b1b697d6240fadeed5e2d6c5d1edc3
Comment 4 Aleix Pol 2024-04-11 22:34:01 UTC
Git commit 101666f88f61fb0419be5c6b39050e9f9351b7ab by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 11/04/2024 at 22:30.
Pushed by apol into branch 'release/24.02'.

Bump soversion for the Qt6-based version


(cherry picked from commit 971e7d3cb2b1b697d6240fadeed5e2d6c5d1edc3)

M  +4    -4    CMakeLists.txt

https://invent.kde.org/education/analitza/-/commit/101666f88f61fb0419be5c6b39050e9f9351b7ab