AIX Open Source

 View Only

 p11-kit-0.24.1-1.ppc creates broken links

Wojciech Wawrzyczek's profile image
Wojciech Wawrzyczek posted Thu December 12, 2024 06:01 AM

It seems p11-kit-0.24.1-1.ppc creates a broken links during installation.

rpm -qi p11-kit-0.24.1-1.ppc
Name        : p11-kit
Version     : 0.24.1
Release     : 1
Architecture: ppc
Install Date: Thu Feb 22 15:25:12 EET 2024
Group       : Development/Libraries/C and C++
Size        : 21052544
License     : BSD3c
Signature   : (none)
Source RPM  : p11-kit-0.24.1-1.src.rpm
Build Date  : Thu Aug 31 14:32:56 EEST 2023
Build Host  : pokndd5.pok.stglabs.ibm.com
Packager    : IBM AIX Toolbox  <https://ibm.biz/AIXToolbox>
URL         : https://p11-glue.github.io/p11-glue/p11-kit.html
Bug URL     : https://ibm.biz/aixoss_forum
Summary     : Library to work with PKCS#11 modules

rpm -ql p11-kit-0.24.1-1.ppc|egrep 'libp11-kit.a|trust-extract-compat'|while read i ; do ls -lt $i ; done
-rwxr-xr-x    1 root     system     10207702 Aug 31 2023  /opt/freeware/lib/libp11-kit.a
lrwxrwxrwx    1 root     system           21 Feb 22 2024  /opt/freeware/lib64/libp11-kit.a -> ../lib/libp11-kit.a.a <<<--- looks like it is one ".a" too many
lrwxrwxrwx    1 root     system           23 Feb 22 2024  /opt/freeware/libexec/p11-kit/trust-extract-compat -> trust-extract-compat_64 <<<--- no such file

I assume we should remap link /opt/freeware/lib64/libp11-kit.a to "../lib/libp11-kit.a".
However, there is no such file installed or available in repo like "trust-extract-compat_64".
dnf provides /opt/freeware/libexec/p11-kit/trust-extract-compat64
Last metadata expiration check: 0:36:54 ago on Thu Dec 12 12:22:23 EET 2024.
Error: No Matches found
Please advise.
Ranjit Ranjan's profile image
Ranjit Ranjan

Hi

Thanks for reporting it. We will release the new version with fix.

Thanks

Ranjit

Wojciech Wawrzyczek's profile image
Wojciech Wawrzyczek

Hello Ranjit

Thank you for your feedback.

Should I remap /opt/freeware/lib64/libp11-kit.a to ../lib/libp11-kit.a, and delete the other broken link (/opt/freeware/libexec/p11-kit/trust-extract-compat -> trust-extract-compat_64) for now?

Ranjit Ranjan's profile image
Ranjit Ranjan

Yes.  You can do that.

Ranjit Ranjan's profile image
Ranjit Ranjan

FYI.
New version of p11-kit-0.25.5-2 is available in AIX tool box.  Please update .