#1 Add openssl1.1 requires for f36 and above
Opened 2 years ago by thunderbirdtr. Modified 2 years ago
rpms/ thunderbirdtr/qownnotes openssl1_dep_required  into  rawhide

file modified
+12 -1
@@ -26,7 +26,7 @@ 

  

  Name:           qownnotes

  Version:        22.4.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Plain-text file markdown note taking with Nextcloud integration

  

  # The entire source code is MIT except bundled libs:
@@ -81,6 +81,14 @@ 

  Requires:       hicolor-icon-theme

  Requires:       qt5-qtbase%{?_isa}

  

+ # https://fedoraproject.org/wiki/Changes/OpenSSL3.0

+ %if 0%{?fedora} >= 36

+ Requires:       openssl1.1

+ %else

+ Requires:       openssl

+ %endif

+ 

+ 

  Recommends:     %{name}-translations = %{version}-%{release}

  

  Provides:       bundled(fakevim) = 0.0.1
@@ -188,6 +196,9 @@ 

  

  

  %changelog

+ * Thu Apr 21 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 22.4.0-2

+ - add openssl1.1 requires for f36 and above

+ 

  * Fri Apr 15 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 22.4.0-1

  - chore(update): 22.4.0

  

Adding openssl1.1 because qownnotes still using it.

Also fedora change openssl version 1 to 3

https://fedoraproject.org/wiki/Changes/OpenSSL3.0

Also cause runtime Error:

QOwnNotes: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Signed-off-by: Onuralp SEZER thunderbirdtr@fedoraproject.org

Thanks, but isn't openssl1.1 depend on botan2 dep? 1 Also some recent QA testing.

It is build requires yes but on runtime It still require it.

qownnotes-22.4.0-1.fc36.x86_64

QOwnNotes
QOwnNotes: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

I removed "openssl1.1" in order to test it. It is failed.

I removed "openssl1.1" in order to test it. It is failed.

It works for me and it should works. This looks wrong for me fixing this in qownnotes and should fixed somewhere else then.

It is build requires yes but on runtime It still require it.

botan2 package should require non-devel openssl1.1 in runtime. And it is:

❯ rpm -qp --requires botan2-2.19.1-1.fc36.x86_64.rpm

ld-linux-x86-64.so.2()(64bit)
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
libbotan-2.so.19()(64bit)
libbz2.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.16)(64bit)
libc.so.6(GLIBC_2.17)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.32)(64bit)
libc.so.6(GLIBC_2.33)(64bit)
libc.so.6(GLIBC_2.34)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.1.1()(64bit)
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_3.3.1)(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libm.so.6(GLIBC_2.29)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(CXXABI_1.3.11)(64bit)
libstdc++.so.6(CXXABI_1.3.13)(64bit)
libstdc++.so.6(CXXABI_1.3.2)(64bit)
libstdc++.so.6(CXXABI_1.3.3)(64bit)
libstdc++.so.6(CXXABI_1.3.5)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
libstdc++.so.6(GLIBCXX_3.4.26)(64bit)
libstdc++.so.6(GLIBCXX_3.4.29)(64bit)
libstdc++.so.6(GLIBCXX_3.4.30)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libz.so.1()(64bit)
libz.so.1(ZLIB_1.2.2)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)
==============================================================================================================================
 Package                                  Architecture         Version                       Repository                  Size
==============================================================================================================================
Installing:
 qownnotes                                x86_64               22.4.0-1.fc36                 @commandline               2.3 M
 qownnotes-translations                   noarch               22.4.0-1.fc36                 @commandline               1.7 M
Installing dependencies:
 adwaita-qt5                              x86_64               1.4.1-3.fc36                  fedora                     108 k
 botan2                                   x86_64               2.19.1-1.fc36                 fedora                     2.0 M
 libadwaita-qt5                           x86_64               1.4.1-3.fc36                  fedora                     142 k
 openssl1.1                               x86_64               1:1.1.1n-1.fc36               fedora                     1.5 M
 pcre2-utf16                              x86_64               10.39-1.fc36.1                fedora                     212 k
 qt-settings                              noarch               36.0-1.fc36                   fedora                      11 k
 qt5-qtbase                               x86_64               5.15.3-1.fc36                 fedora                     3.6 M
 qt5-qtbase-common                        noarch               5.15.3-1.fc36                 fedora                      12 k
 qt5-qtbase-gui                           x86_64               5.15.3-1.fc36                 fedora                     6.3 M
 qt5-qtdeclarative                        x86_64               5.15.3-2.fc36                 fedora                     4.2 M
 qt5-qtwayland                            x86_64               5.15.3-1.fc36                 fedora                     1.1 M
 qt5-qtwebsockets                         x86_64               5.15.3-1.fc36                 fedora                      87 k
 qt5-qtx11extras                          x86_64               5.15.3-1.fc36                 fedora                      35 k
 qt5-qtxmlpatterns                        x86_64               5.15.3-1.fc36                 fedora                     1.0 M
 xcb-util-image                           x86_64               0.4.0-19.fc36                 fedora                      19 k
 xcb-util-keysyms                         x86_64               0.4.0-17.fc36                 fedora                      14 k
 xcb-util-renderutil                      x86_64               0.3.9-20.fc36                 fedora                      17 k
 xcb-util-wm                              x86_64               0.4.1-22.fc36                 fedora                      31 k
Installing weak dependencies:
 gstreamer1-plugins-good-qt               x86_64               1.20.0-1.fc36                 fedora                      67 k
 qgnomeplatform-qt5                       x86_64               0.8.4-6.fc36                  fedora                     178 k

I tested with couple different ways, I uninstalled botan2 and qownnotes. Both of them doesn't asking for remove to "openssl1.1" Same goes for installation as well. Both of them doesn't install as well.

dnf repoquery --whatrequires openssl1.1
....
botan2-0:2.19.1-1.fc36.i686
botan2-0:2.19.1-1.fc36.x86_64
....

I saw botan2 in list but for the looks of it, I need to explicitly add as require or add to here ?

dnf remove botan2

Dependencies resolved.
====================================================================================================================
 Package                              Architecture         Version                      Repository             Size
====================================================================================================================
Removing:
 botan2                               x86_64               2.19.1-1.fc36                @fedora               5.9 M
Removing dependent packages:
 botan2-devel                         x86_64               2.19.1-1.fc36                @fedora               1.5 M
 corectrl                             x86_64               1.2.3-1.fc36                 @fedora               4.0 M
 qownnotes                            x86_64               22.1.12-2.fc36               @fedora               6.5 M
Removing unused dependencies:
 qownnotes-translations               noarch               22.1.12-2.fc36               @fedora                16 M

Transaction Summary
====================================================================================================================
Remove  5 Packages
[slowpoke@fedora ~]$ LANGUAGE=en sudo dnf rm openssl1.1
Dependencies resolved.
=====================================================================================================================================
 Package                               Architecture          Version                           Repository                       Size
=====================================================================================================================================
Removing:
 openssl1.1                            x86_64                1:1.1.1n-1.fc36                   @fedora                         3.7 M
Removing dependent packages:
 qownnotes                             x86_64                22.4.0-1.fc36                     @updates-testing                6.5 M
Removing unused dependencies:
 botan2                                x86_64                2.19.1-1.fc36                     @fedora                         5.9 M
 qownnotes-translations                noarch                22.4.0-1.fc36                     @updates-testing                 16 M
 qt5-qtwebsockets                      x86_64                5.15.3-1.fc36                     @fedora                         276 k

Transaction Summary
=====================================================================================================================================
Remove  5 Packages

Freed space: 32 M
Is this ok [y/N]:
Metadata