Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774867 - dev-lang/ocaml-4.05.0-r3: epatch: command not found
Summary: dev-lang/ocaml-4.05.0-r3: 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 (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-08 14:49 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2021-03-08 15:09 UTC (History)
2 users (show)

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 (iamnr3) 2021-03-08 14:49:59 UTC
ebuild ocaml-4.05.0-r3.ebuild prepare
Appending /mnt/data/git/gentoo to PORTDIR_OVERLAY...
 * ocaml-4.05.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                  [ ok ]
 * ocaml-patches-9.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking ocaml-4.05.0.tar.gz to /var/tmp/portage/dev-lang/ocaml-4.05.0-r3/work
>>> Unpacking ocaml-patches-9.tar.bz2 to /var/tmp/portage/dev-lang/ocaml-4.05.0-r3/work
>>> Source unpacked in /var/tmp/portage/dev-lang/ocaml-4.05.0-r3/work
>>> Preparing source in /var/tmp/portage/dev-lang/ocaml-4.05.0-r3/work/ocaml-4.05.0 ...
/var/tmp/portage/dev-lang/ocaml-4.05.0-r3/temp/environment: line 1639: epatch: command not found
 * Applying ocaml-4.04.2-tinfo.patch ...                                                                                                                                                                                                                                            [ ok ]
 * Applying ocaml-4.05.0-gcc10.patch ...                                                                                                                                                                                                                                            [ ok ]
>>> 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:09:22 UTC
The bug has been closed via the following commit(s):

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

commit da5e152c604dfeb14caf7adfa3db9c36d0f004e4
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2021-03-08 14:45:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-08 15:09:15 +0000

    dev-lang/ocaml: fixing patching, remove unused eutils 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/774867
    Closes: https://github.com/gentoo/gentoo/pull/19831
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ocaml/ocaml-4.05.0-r3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)