Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756352 - app-editors/emacs-27.1-r2: ebuild fails on chown for movemail
Summary: app-editors/emacs-27.1-r2: ebuild fails on chown for movemail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-24 15:39 UTC by Scott McClung
Modified: 2020-11-24 23:21 UTC (History)
2 users (show)

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


Attachments
app-editors/emacs-27.1-r2 build.log (build.log,256.19 KB, text/x-log)
2020-11-24 15:44 UTC, Scott McClung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McClung 2020-11-24 15:39:57 UTC
If app-editors/emacs-27.1-r2 (and 26.3-r3 also) is installed with the mailutils USE flag, the ebuild will fail with:

chown: cannot access '/tmp/portage/app-editors/emacs-27.1-r2/image/usr/libexec/emacs/27.1/x86_64-pc-linux-gnu/movemail': No such file or directory

As movemail is not built in this configuration.  Changing the flag fixes it.

Reproducible: Always

Steps to Reproduce:
1. set mailutils use flag on emacs
2. build app-editors/emacs-27.1-r2
3. emerge it.
Actual Results:  
Ebuild exits with:

movemail: No such file or directory

Expected Results:  
ebuild installs spiffy new version.

Changing the mailutils USE flag for emacs in my configuration fixes the issue.  And since I'm not sure why I had that set in the first place, it was an easy choice to make.
Comment 1 Scott McClung 2020-11-24 15:44:02 UTC
Created attachment 674737 [details]
app-editors/emacs-27.1-r2 build.log
Comment 2 Larry the Git Cow gentoo-dev 2020-11-24 16:06:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb919372bc35394f77f96f7f12b6b41f5e4db2e9

commit bb919372bc35394f77f96f7f12b6b41f5e4db2e9
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-11-24 16:02:14 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-11-24 16:06:25 +0000

    app-editors/emacs: Test for existence of movemail.
    
    Fixes: 69c62ad248ca78ed2bb1833cae1ac20f63e9a0be
    Closes: https://bugs.gentoo.org/756352
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-23.4-r20.ebuild     | 6 ++++--
 app-editors/emacs/emacs-24.5-r9.ebuild      | 6 ++++--
 app-editors/emacs/emacs-25.3-r8.ebuild      | 6 ++++--
 app-editors/emacs/emacs-26.3-r3.ebuild      | 6 ++++--
 app-editors/emacs/emacs-27.1-r2.ebuild      | 6 ++++--
 app-editors/emacs/emacs-27.1.9999-r1.ebuild | 6 ++++--
 app-editors/emacs/emacs-28.0.9999.ebuild    | 6 ++++--
 7 files changed, 28 insertions(+), 14 deletions(-)
Comment 3 Ulrich Müller gentoo-dev 2020-11-24 16:06:59 UTC
Thanks for reporting!
Comment 4 Scott McClung 2020-11-24 23:21:27 UTC
Thank you for fixing this.