Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922161 - net-mail/courier-imap-5.2.6-r1 /usr/bin/maildirkw : No such file or directory
Summary: net-mail/courier-imap-5.2.6-r1 /usr/bin/maildirkw : No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 10:29 UTC by Charles Nérot
Modified: 2024-01-17 21:53 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,273.32 KB, text/x-log)
2024-01-15 10:29 UTC, Charles Nérot
Details
emerge --info (emerge-info.txt,17.40 KB, text/plain)
2024-01-15 10:30 UTC, Charles Nérot
Details
emerge -pqv (emerge-pqv.txt,118 bytes, text/plain)
2024-01-15 10:30 UTC, Charles Nérot
Details
environment (environment,68.71 KB, text/plain)
2024-01-15 10:31 UTC, Charles Nérot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Nérot 2024-01-15 10:29:55 UTC
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;
Comment 1 Charles Nérot 2024-01-15 10:30:28 UTC
Created attachment 882321 [details]
emerge --info
Comment 2 Charles Nérot 2024-01-15 10:30:52 UTC
Created attachment 882322 [details]
emerge -pqv
Comment 3 Charles Nérot 2024-01-15 10:31:16 UTC
Created attachment 882323 [details]
environment
Comment 4 A Blamey 2024-01-15 10:52:30 UTC
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.
Comment 5 Leonid Kopylov 2024-01-15 13:52:49 UTC
same error on arm64 also
Comment 6 Charles Nérot 2024-01-15 14:19:20 UTC
(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.
Comment 7 Adam Carter 2024-01-16 12:05:17 UTC
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.
Comment 8 Larry the Git Cow gentoo-dev 2024-01-17 21:53:33 UTC
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(-)