Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774870 - mail-mta/courier: epatch command not found
Summary: mail-mta/courier: epatch command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-08 15:03 UTC by Michael Mair-Keimberger (mm1ke)
Modified: 2021-03-08 15:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (mm1ke) 2021-03-08 15:03:16 UTC
USE="norewrite" ebuild courier-1.0.13.ebuild prepare
Appending /mnt/data/git/gentoo to PORTDIR_OVERLAY...
 * courier-1.0.13.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking courier-1.0.13.tar.bz2 to /var/tmp/portage/mail-mta/courier-1.0.13/work
>>> Source unpacked in /var/tmp/portage/mail-mta/courier-1.0.13/work
>>> Preparing source in /var/tmp/portage/mail-mta/courier-1.0.13/work/courier-1.0.13 ...
/var/tmp/portage/mail-mta/courier-1.0.13/temp/environment: line 1820: epatch: command not found
>>> Source prepared.


This is because the ebuild uses epatch which would need the epatch eclass. However since epatch is banned in eapi7, we need to use eapply here.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-08 15:13:03 UTC
The bug has been closed via the following commit(s):

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

commit a650c8a85921a0c68870ead1b2dc6bfbcbb9fd7e
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2021-03-08 15:01:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-08 15:12:23 +0000

    mail-mta/courier: fix patching, remove unused eclass
    
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    Closes: https://bugs.gentoo.org/774870
    Closes: https://github.com/gentoo/gentoo/pull/19832
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-mta/courier/courier-1.0.13.ebuild | 7 ++++---
 mail-mta/courier/courier-1.0.14.ebuild | 7 ++++---
 mail-mta/courier/courier-1.0.17.ebuild | 5 +++--
 mail-mta/courier/courier-1.0.5.ebuild  | 7 ++++---
 mail-mta/courier/files/norewrite.patch | 4 ++--
 5 files changed, 17 insertions(+), 13 deletions(-)