Created attachment 882320 [details] build.log Hello, On ~amd64 I have trouble to upgrade from courier-imap-5.2.6 to courier-imap-5.2.6-r1 courier-imap-5.2.6 emerge fine courier-imap-5.2.6-r1 failed with this error rm: cannot remove '/var/tmp/portage/net-mail/courier-imap-5.2.6-r1/image/usr/bin/maildirkw': No such file or directory * ERROR: net-mail/courier-imap-5.2.6-r1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 1272: Called die * The specific snippet of code: * rm "${D}"/usr/bin/maildirkw || die;
Created attachment 882321 [details] emerge --info
Created attachment 882322 [details] emerge -pqv
Created attachment 882323 [details] environment
I'm seeing the same error on my ~amd64 / merged-usr / openrc system. The log shows that maildirkw in installed in <installimage>/usr/sbin , but the ebuild looks to remove it from <installimage>/usr/bin . Not sure if this being a merged-usr system affects this or not.
same error on arm64 also
(In reply to A Blamey from comment #4) > I'm seeing the same error on my ~amd64 / merged-usr / openrc system. > > The log shows that maildirkw in installed in <installimage>/usr/sbin , but > the ebuild looks to remove it from <installimage>/usr/bin . Not sure if > this being a merged-usr system affects this or not. My system is also ~amd64 / merged-usr / openrc system.
Not sure if this is related but some time back i had install failures on courier-imap-5.2.6-r1 due to file clashes. # qfile /usr/bin/maildirkw net-mail/courier-common: /usr/bin/maildirkw Is there some confusion as to which package out of courier-common and courier-imap owns this file? (IIRC there were two other files that also clashed). Now i get the 'rm: cannot remove...' issue. System is ~amd64 / merged-usr / systemd.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82babf6be0f73dff3549571d67d83cddc008f398 commit 82babf6be0f73dff3549571d67d83cddc008f398 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-01-17 21:52:10 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-01-17 21:53:08 +0000 net-mail/courier-imap: package install in sbin Closes: https://bugs.gentoo.org/922161 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)