[Bug 2162851] Review Request: symcrypt - Cryptographic library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2162851



--- Comment #10 from Petr Menšík <pemensik@xxxxxxxxxx> ---
I have borrowed an aarch64 machine and tested installing the built package. It
is linked to glibc, at least it reports so:

# ls -l /usr/lib64/libsymcrypt.so*
-rwxr-xr-x. 1 root root 404040 Mar 10 11:24 /usr/lib64/libsymcrypt.so
-rwxr-xr-x. 1 root root 404040 Mar 10 11:24 /usr/lib64/libsymcrypt.so.103
-rwxr-xr-x. 1 root root 404048 Mar 10 11:24 /usr/lib64/libsymcrypt.so.103.1.0
# ldd /usr/lib64/libsymcrypt.so 
        linux-vdso.so.1 (0x0000ffff9150a000)
        libjitterentropy.so.3 => /lib64/libjitterentropy.so.3
(0x0000ffff91420000)
        libc.so.6 => /lib64/libc.so.6 (0x0000ffff91260000)
        /lib/ld-linux-aarch64.so.1 (0x0000ffff914cd000)

# rpmlint
/root/SymCrypt/rpm/fedora/aarch64/SymCrypt-devel-103.1.0-2.fc37.aarch64.rpm 
=======================================================================================
rpmlint session starts
======================================================================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 1

SymCrypt-devel.aarch64: E: no-ldconfig-symlink /usr/lib64/libsymcrypt.so
SymCrypt-devel.aarch64: W: no-documentation
SymCrypt-devel.aarch64: W: library-not-linked-against-libc
/usr/lib64/libsymcrypt.so

Those are reported on my builds, but yours are not so different:
# ls -l /usr/lib64/libsymcrypt.so*
-rwxr-xr-x. 1 root root 469704 Mar  7 19:00 /usr/lib64/libsymcrypt.so
lrwxrwxrwx. 1 root root     22 Mar  7 19:00 /usr/lib64/libsymcrypt.so.103 ->
libsymcrypt.so.103.1.0
-rwxr-xr-x. 1 root root 469712 Mar  7 19:00 /usr/lib64/libsymcrypt.so.103.1.0

I think the libsymcrypt.so should be made symlink to libsymcrypt.so.103, not a
copy. That is a problem to be solved.
But they reference at least libc.so.6, so that is probably some mis-detection.
Not sure why.

But readelf is missing libc reference:
# readelf -ds /usr/lib64/libsymcrypt.so | head

Dynamic section at offset 0x6f580 contains 27 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library:
[libjitterentropy.so.3]
 0x000000000000000e (SONAME)             Library soname: [libsymcrypt.so.103]
 0x0000000000000010 (SYMBOLIC)           0x0
 0x0000000000000019 (INIT_ARRAY)         0x7e788
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x7e790
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)

It is the same on x86_64 build. Other libraries contain also Shared library:
[libc.so.6]. Something should be tuned in the build system I guess.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2162851
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux