pkg icon indicating copy to clipboard operation
pkg copied to clipboard

library check fails with nonconventional names

Open jrmarino opened this issue 9 years ago • 1 comments

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

jrmarino avatar Jan 26 '16 10:01 jrmarino

… 0 packages in the universe …

Such a lonely place.

grahamperrin avatar Dec 02 '22 05:12 grahamperrin

i have no practical case to tests this, I ll close it waiting for a concrete case.

bapt avatar Jul 01 '24 19:07 bapt