Bug#1035795: [Debian-astro-maintainers] Bug#1035795: libricohcamerasdk: does not ship SONAME link /usr/lib//libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1.1.0
Hi Andreas, On 09.05.23 12:17, Andreas Beckmann wrote: during a test with piuparts I noticed your package does not ship the SONAME link for its library (Policy 8.1). I am a bit at a loss here. If you look at the binary packages, libricocamerasdk contains: -rw-r--r-- root/root 1255128 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so.1.1.0 -rw-r--r-- root/root 1156392 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libmtpricoh.so.9.3.0 lrwxrwxrwx root/root 0 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so.1 -> libRicohCameraSDKCpp.so.1.1.0 lrwxrwxrwx root/root 0 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libmtpricoh.so.9 -> libmtpricoh.so.9.3.0 and libricocamerasdk-dev contains: lrwxrwxrwx root/root 0 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1 lrwxrwxrwx root/root 0 2023-05-18 11:30 ./usr/lib/x86_64-linux-gnu/libmtpricoh.so -> libmtpricoh.so.9 From my point of view all these links for both libraries look good. I have no clue where the link: /usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1.1.0 that is mentioned in your log, comes from. Also I have no idea why this only happens for libRicohCameraSDKCpp.so and not libmtpricoh.so, which is in the same package and should not be handled differently!? Do you have any idea? Best regards Thorsten
Bug#1035795: libricohcamerasdk: does not ship SONAME link /usr/lib//libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1.1.0
Package: libricohcamerasdk Version: 1.1.0-3 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package does not ship the SONAME link for its library (Policy 8.1). That link got created later by ldconfig. The SONAME of this library is, well, unusual. But there is probably nothing we can do about it as it resides in non-free. >From the attached log (scroll to the bottom...): 0m20.4s DEBUG: Starting command: ['nsenter', '--net=/run/netns/piuparts-netns-9', '--uts=/srv/piuparts/tmp/tmpTP2K8k/ns-uts', 'chroot', '/srv/piuparts/tmp/tmpTP2K8k/chroot', 'tmp/scripts/pre_remove_40_find_unowned_lib_links'] 0m21.1s DUMP: UNOWNED SYMLINK /usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1.1.0 0m21.1s DEBUG: Command ok: ['nsenter', '--net=/run/netns/piuparts-netns-9', '--uts=/srv/piuparts/tmp/tmpTP2K8k/ns-uts', 'chroot', '/srv/piuparts/tmp/tmpTP2K8k/chroot', 'tmp/scripts/pre_remove_40_find_unowned_lib_links'] After removal of the package a broken symlink remains: 0m24.4s ERROR: FAIL: Broken symlinks: /usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so -> libRicohCameraSDKCpp.so.1.1.0 libRicohCameraSDKCpp.so is probably part of the -dev package, so you need to remove it from there and add Breaks+Replaces: libricohcamerasdk-dev (<< 1.1.0-4~) Andreas libricohcamerasdk_1.1.0-3.log.gz Description: application/gzip