courier-imap installs a symlink into /usr/lib64/courier-imap pointing to ../../usr/sbin/courierlogger which is dangling due to ../../ pointing to /usr. arthur /usr/lib64/courier-imap # ls -lah /usr/lib64/courier-imap/courierlogger lrwxrwxrwx 1 root root 28 Jan 22 13:57 /usr/lib64/courier-imap/courierlogger -> ../../usr/sbin/courierlogger Simple fix (workaround): arthur /usr/lib64/courier-imap # ln -sf ../../../usr/sbin/courierlogger . Alternatively: arthur /usr/lib64/courier-imap # ln -sf ../../sbin/courierlogger . Reproducible: Always
commit e1dea9721c09b6b60ccbe54071247c68cba13389 Author: Tupone Alfredo <tupone@gentoo.org> Date: Tue Jan 14 21:11:40 2020 +0100 net-mail/courier-imap: AbsoluteSymlink fix and rm and old version Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
(cont.) --- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild +++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -187,7 +187,7 @@ src_install() { dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" - dosym /usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + dosym ../../usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" for initd in courier-{imapd,pop3d}{,-ssl} ; do sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ deviates slightly from how never versions install the symlink: --- courier-imap-4.18.2.ebuild 2020-01-15 00:40:40.823358726 +0100 +++ courier-imap-5.0.8.ebuild 2020-01-09 10:02:17.352546670 +0100 @@ -187,7 +184,7 @@ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" - dosym ../../usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" for initd in courier-{imapd,pop3d}{,-ssl} ; do sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9144ca105467c2c292d32e9e2feaeaa06da4698 commit e9144ca105467c2c292d32e9e2feaeaa06da4698 Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2020-01-22 20:28:11 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2020-01-22 20:28:11 +0000 net-mail/courier-imap: Fix dangling symlink Closes: https://bugs.gentoo.org/706092 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)