pkg
pkg copied to clipboard
library check fails with nonconventional names
In the case of nonconventional (yet legal) library names linked to executables, pkg gives a false warning about being unable to find the library. This log section shows a properly linked library (in phase:deinstall) yet pkg complains multiple times that it can't find it.
========================< phase : package >========================
===> Building package for synth-0.99
file sizes/checksums [6]: . done
(synth-0.99) /construction/ports-mgmt/synth/stage//usr/local/bin/synth - required shared library libncurses.so.6P not found
(synth-0.99) /construction/ports-mgmt/synth/stage//usr/local/bin/synth - required shared library libtinfo.so.6P not found
packing files [6]: . done
packing directories [3]: . done
===========================================================================
========================< phase : install-mtree >========================
===========================================================================
========================< phase : install >========================
===> Installing for synth-0.99
===> synth-0.99 depends on file: /usr/local/lib/libncurses.so.6P - found
===> Checking if synth already installed
===> Registering installation for synth-0.99
(synth-0.99) /construction/ports-mgmt/synth/stage//usr/local/bin/synth - required shared library libncurses.so.6P not found
(synth-0.99) /construction/ports-mgmt/synth/stage//usr/local/bin/synth - required shared library libtinfo.so.6P not found
Installing synth-0.99...
===========================================================================
========================< phase : deinstall >========================
=> Checking shared library dependencies
NEEDED libncurses.so.6P
NEEDED libtinfo.so.6P
NEEDED libpthread.so.0
NEEDED libc.so.8
===> Deinstalling for synth
===> Deinstalling synth-0.99
Updating database digests format: ......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
synth-0.99
The operation will free 2 MiB.
[1/1] Deinstalling synth-0.99...
[1/1] Deleting files for synth-0.99: ...... done
=> Checking for system changes between staging and package deinstallation
Everything is fine.
===========================================================================
Finished: Tuesday, 26 JAN 2016 at 10:38:24 UTC
Duration: 00:00:52
submitting ticket at request of bapt
… 0 packages in the universe …
Such a lonely place.
i have no practical case to tests this, I ll close it waiting for a concrete case.