Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761076 - dev-ml/ppx_deriving-4.5 is missing files (ounit2.patch)
Summary: dev-ml/ppx_deriving-4.5 is missing files (ounit2.patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-21 12:47 UTC by seejay.11
Modified: 2021-01-10 12:30 UTC (History)
1 user (show)

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


Attachments
output of emerge --info (emerge--info.txt,22.51 KB, text/plain)
2020-12-21 12:47 UTC, seejay.11
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seejay.11 2020-12-21 12:47:54 UTC
Created attachment 679077 [details]
output of emerge --info

When building ppx_deriving 4.5:

>>> Unpacking source...
>>> Unpacking ppx_deriving-4.5.tar.gz to /var/tmp/portage/dev-ml/ppx_deriving-4.5/work
>>> Source unpacked in /var/tmp/portage/dev-ml/ppx_deriving-4.5/work
>>> Preparing source in /var/tmp/portage/dev-ml/ppx_deriving-4.5/work/ppx_deriving-4.5 ...
 * Applying ounit2.patch ...
/var/tmp/portage/dev-ml/ppx_deriving-4.5/temp/environment: line 388: /var/tmp/portage/dev-ml/ppx_deriving-4.5/files/ounit2.patch: No such file or directory
/var/tmp/portage/dev-ml/ppx_deriving-4.5/temp/environment: line 391: /var/tmp/portage/dev-ml/ppx_deriving-4.5/files/ounit2.patch: No such file or directory
 [ !! ]
 * ERROR: dev-ml/ppx_deriving-4.5::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-ml/ppx_deriving-4.5/files/ounit2.patch

It reports that "ounit2.patch" is missing. In the ebuild file, there is a line which reads:

PATCHES=( "${FILESDIR}/ounit2.patch" )

But there is no "files" directory under /usr/portage/dev-ml/ppx_deriving, and therefore no ounit2.patch file present.
It seems to build without error if this line is removed from the ebuild.

To update my portage tree, I use eix-sync, which delegates to emerge --sync.
Comment 1 Larry the Git Cow gentoo-dev 2021-01-10 12:30:18 UTC
The bug has been closed via the following commit(s):

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

commit aa259840deb5357d69e3046c65b7047249f29987
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-01-10 12:30:01 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-01-10 12:30:01 +0000

    dev-ml/ppx_deriving: add missing patch
    
    Closes: https://bugs.gentoo.org/761076
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/ppx_deriving/files/ounit2.patch      | 128 ++++++++++++++++++++++++++++
 dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild |   4 +-
 2 files changed, 130 insertions(+), 2 deletions(-)