Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908957 - media-video/raspberrypi-omxplayer-0_p20160528-r3 fails to apply patch cross-0_p20160528.patch
Summary: media-video/raspberrypi-omxplayer-0_p20160528-r3 fails to apply patch cross-0...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-06-21 11:56 UTC by Mathias Vaterlaus
Modified: 2023-06-26 09:48 UTC (History)
0 users

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


Attachments
New Makefile patch for raspberrypi-omxplayer (cross-0_p20160528-r1.patch,520 bytes, patch)
2023-06-21 11:56 UTC, Mathias Vaterlaus
Details | Diff
emerge --info (emerge-info,5.75 KB, text/plain)
2023-06-26 09:18 UTC, Mathias Vaterlaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Vaterlaus 2023-06-21 11:56:44 UTC
Created attachment 864333 [details, diff]
New Makefile patch for raspberrypi-omxplayer

When I tried to compile raspberrypi-omxplayer on my 32 Bit Gentoo Install, I came across the following Problem:

>>> Emerging (2 of 15) media-video/raspberrypi-omxplayer-0_p20160528-r3::gentoo
 * raspberrypi-omxplayer-0_p20160528.tar.gz BLAKE2B SHA512 size ;-) ...                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking raspberrypi-omxplayer-0_p20160528.tar.gz to /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work
>>> Source unpacked in /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work
>>> Preparing source in /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work/popcornmix-omxplayer-791d7df ...
 * Applying Makefile-0_p20160528.patch ...                                                                                     [ ok ]
 * Applying fonts-path.patch ...                                                                                               [ ok ]
 * Applying cross-0_p20160528.patch ...
patching file Makefile
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej                                                                  [ !! ]
 * ERROR: media-video/raspberrypi-omxplayer-0_p20160528-r3::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 2401:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  937:  Called __eapi6_src_prepare
 *             environment, line  213:  Called eapply '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/Makefile-0_p20160528.patch' '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/fonts-path.patch' '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *             environment, line  756:  Called _eapply_patch '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *             environment, line  694:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"

So patching the Makefile with Patch cross-0_p20160528-r1.patch failed. I created a new patch for applying the corresponding changes to
the Makefile. I tested the patch within a local overlay and the patch could be applied correctly.

The new patch file is attached to this bug report.
Comment 1 Mathias Vaterlaus 2023-06-26 09:18:41 UTC
Created attachment 864627 [details]
emerge --info

Sorry, I forgot to attach emerge --info output.