net-irc/weechat-9999 triggers an access violation when attempting to remove /usr/bin/weechat-curses and symlink /usr/bin/weechat-curses to /usr/bin/weechat: >>> Completed installing weechat-9999 into /var/tmp/portage/net-irc/weechat-9999/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE: "/var/log/sandbox/sandbox-5442.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: unlink S: deny P: /usr/bin/weechat-curses A: /usr/bin/weechat-curses R: /usr/bin/weechat C: /usr/bin/cmake -E remove -f /usr/bin/weechat-curses F: unlink S: deny P: /usr/bin/weechat-curses A: /usr/bin/weechat-curses R: /usr/bin/weechat C: /usr/bin/cmake -E create_symlink weechat /usr/bin/weechat-curses -------------------------------------------------------------------------------- Reproducible: Always Previously net-irc/weechat installed its executable as /usr/bin/weechat-curses. This changed recently (http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=commit;h=996da2f662d04abd18ecf4e8a65fbf9aac1b50d9) so that the executable is now installed as /usr/bin/weechat. A symlink is made at /usr/bin/weechat-curses to point to weechat. This symlink is desirable so that running "/upgrade" from within the application will continue to work in order to in-place upgrade the application while running.
Created attachment 355150 [details] build.log
Thats upstream bug. They should respect destdir value when creating the symlink. Nothing to fix on the ebuild itsef. As this is live version provide this issue to upstream to fix or fix it yourself. I will tackle it only if it gets broken in the release itself.