pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51203: symlink Symlink:../lib/<blah> is not same as recorded value, not deleting:
>Number: 51203
>Category: pkg
>Synopsis: symlink Symlink:../lib/<blah> is not same as recorded value, not deleting:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 31 13:45:00 +0000 2016
>Originator: Richard PALO
>Release: current
>Organization:
>Environment:
SunOS omnis 5.11 omnios-master-5409e8f i86pc i386 i86pc
>Description:
Finally getting around to file an issue on this one.
pkgsrc adjusts full path symlinks during install which consequently creates an issue during "bmake replace".
Here is an example with firefox24:
richard@omnis:/home/richard/src/pkgsrc/www/firefox24$ bmake replace
...
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Replacing for firefox24-24.8.1nb8
=> Becoming ``root'' to make su-replace (pfexec)
Creating binary package: firefox24-24.8.1nb8
Creating package /tmp/pkgsrc/www/firefox24/work/firefox24-24.8.1nb8
Full pathname symlink `/opt/local/lib/firefox24/firefox' is target of `/opt/local/bin/firefox24' - adjusting to `../lib/firefox24/firefox'
Full pathname symlink `/opt/local/lib/firefox24' is target of `/opt/local/lib/firefox24-sdk/bin' - adjusting to `../../lib/firefox24'
Full pathname symlink `/opt/local/share/idl/firefox24' is target of `/opt/local/lib/firefox24-sdk/idl' - adjusting to `../../share/idl/firefox24'
Full pathname symlink `/opt/local/include/firefox24' is target of `/opt/local/lib/firefox24-sdk/include' - adjusting to `../../include/firefox24'
Full pathname symlink `/opt/local/lib/firefox24-sdk/sdk/lib' is target of `/opt/local/lib/firefox24-sdk/lib' - adjusting to `../../lib/firefox24-sdk/sdk/lib'
===> Updating using binary package of firefox24-24.8.1nb8
/opt/local/sbin/pkg_add -K /opt/local/pkg -U -D /tmp/pkgsrc/www/firefox24/work/.packages/firefox24-24.8.1nb8.tgz
symlink Symlink:../lib/firefox24/firefox is not same as recorded value, not deleting: /opt/local/bin/firefox24
symlink Symlink:../../lib/firefox24 is not same as recorded value, not deleting: /opt/local/lib/firefox24-sdk/bin
symlink Symlink:../../share/idl/firefox24 is not same as recorded value, not deleting: /opt/local/lib/firefox24-sdk/idl
symlink Symlink:../../include/firefox24 is not same as recorded value, not deleting: /opt/local/lib/firefox24-sdk/include
symlink Symlink:../../lib/firefox24-sdk/sdk/lib is not same as recorded value, not deleting: /opt/local/lib/firefox24-sdk/lib
pkg_delete: couldn't entirely delete package `firefox24-24.8.1nb8'
=> Dropping ``root'' privileges.
>How-To-Repeat:
>Fix:
replace logic should be aware and deal with the full path symlink optimisation.
Home |
Main Index |
Thread Index |
Old Index